79360944

Date: 2025-01-16 09:16:25
Score: 2
Natty:
Report link

This is (partially) possible. Start with the AND function. Get the 2nd OR function and connect this to the AND function

enter image description here

Now get the 1st OR function and connect it FIRST to the 2nd connector of the 2nd OR function. Then you will see the '+' sign and it add's as desired. enter image description here

And connect the 'some_output' variable to both inputs. enter image description here

But creating it as in your example is a 'challenge'. I tried adding a branch in front, but then I can not connect it anymore, or only via a intermediate variable.

enter image description here

So when you have a output from a previous block, consider to devide it into two branches. The desired functionality is possible in a PLC, but I think that the editor is not 'smart' enough to handle this.

But as already mentioned. If there is no reason that you 'HAVE TO' use FBD, try the code in Structured Text (ST) language. It is much easier to monitor and you can add inline comments.Here an example: enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ludo