4/7/2022 12:46 AM | |
Joined: 10/1/2020 Last visit: 9/4/2023 Posts: 23 Rating: (0) |
Hi all, I need a switchable output that behaves as follows: - One address to read & write via Modbus or S7 the state of the switch - Additionally a digital input which will toggle the output For this I created the attached solution which works fine in the simulator, both by pressing the I1 button or by writing 1 or 0 to VM0.0. But when run on the real Logo 8.2, if I write a 1 to VM0.0 to turn on the switch, the logic starts to oscillate, i.e. the output is turned on, then immediately off and repeats indefinitely. So clearly the state is not propagated through the circuit fast enough and a VM0.0 keeps getting overwritten with every cycle? Any ideas how I can fix this? It seems like a common thing to do and easily done with a "real PLC". AttachmentToggle and network set.zip (480 Downloads) |
4/7/2022 7:37 AM | |
Joined: 12/18/2014 Last visit: 11/12/2024 Posts: 34207 Rating: (4260)
|
I'm sorry, but then I don't understand your problem. |
Follow us on