My topic is more of academic nature, I would like to implement an XOR-operation with four inputs on my own (without the predefined XOR-operator) in a function block diagram (FBD).
I have two proposals. One works fine and the other one is just an idea, but I do not know, if it is possible to code it in CODESYS V3.5 SP18 in form of a FBD.
Here the one that works:
And here an idea, which I have not managed to code it as an FBD:
Any ideas? Is the 2nd diagram a correct interpretation of the coding task?
And is there a way to implement it in form of an FBD in CODESYS V3.5 SP18?
Followup (08-Nov-2024):
Also in the current version of CODESYS (V3.5SP20Patch3) I have not managed to connect the existing blocks. In the alternative SPS-IDE PLCnext Engineer it is possible.
Last edit: ellocco 2 hours ago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My topic is more of academic nature, I would like to implement an XOR-operation with four inputs on my own (without the predefined XOR-operator) in a function block diagram (FBD).
I have two proposals. One works fine and the other one is just an idea, but I do not know, if it is possible to code it in CODESYS V3.5 SP18 in form of a FBD.
Here the one that works:
And here an idea, which I have not managed to code it as an FBD:
Any ideas? Is the 2nd diagram a correct interpretation of the coding task?
And is there a way to implement it in form of an FBD in CODESYS V3.5 SP18?
Followup (08-Nov-2024):
Also in the current version of CODESYS (V3.5SP20Patch3) I have not managed to connect the existing blocks. In the alternative SPS-IDE PLCnext Engineer it is possible.
Last edit: ellocco 2 hours ago