Hi
I have problems figuring out how to solve my problem in a proper way;
I have a series of Digital outputs on my plc which I want to turn on in different combinations depending on a selection switch (4 modes).
Lets say in mode 1, I want Q0.0, Q0.2 and Q0.4 to be turned on. In mode 2 I want Q0.1, Q0.3, Q0.5 to be turned on and so on.
I hope someone got a good answer for how to solve this in a proper way.
Using S7-315 and TIA v11
I forgot to mention that some outputs will be used several times. Check attachment.
It dosent seem to like that. When I'm enabling mode 1, I can see the blocks are glowing green in my program with monitoring on, but not in S7-PLCSIM
I have problems figuring out how to solve my problem in a proper way;
I have a series of Digital outputs on my plc which I want to turn on in different combinations depending on a selection switch (4 modes).
Lets say in mode 1, I want Q0.0, Q0.2 and Q0.4 to be turned on. In mode 2 I want Q0.1, Q0.3, Q0.5 to be turned on and so on.
I hope someone got a good answer for how to solve this in a proper way.
Using S7-315 and TIA v11
I forgot to mention that some outputs will be used several times. Check attachment.
It dosent seem to like that. When I'm enabling mode 1, I can see the blocks are glowing green in my program with monitoring on, but not in S7-PLCSIM
Last edited: