7/21/2019 8:10 AM | |
Joined: 6/15/2019 Last visit: 10/24/2022 Posts: 7 Rating:
|
Hi, I have to make a simple program with 2 network inputs. The goal is, that the 2 network inputs cannot be ON at the same time. The expected behavior should be: if I set the "GO DOWN" bit AND the "GO UP" bit is ON, the the "GO UP" bit must be cleared and vice versa. If both bits are OFF, and I set the "GO DOWN" bit to ON, the belonging outpus must follow the input state. (If I clear the bit, the output should go off).
I've attached a sample program whitch can do this via setting the network outputs. My problem is, that this solution works perfectly in the simulator, but it does not work in the real LOGO. In the real LOGO, if I set the "GO DOWN" or "GO UP" bit to ON, the bit state begins to change 0-1-0-1-0-1 (like prelling). My question is: why is it working in the simulator, and why is failing in the real LOGO? Is it a simulator bug? How can I solve this problem? Thank you in advance! AttachmentRollo control sample.zip (64 Downloads) |
Last edited by: Gabor Cser at: 07/21/2019 08:16:20 |
|
7/21/2019 11:28 AM | |
Joined: 12/18/2014 Last visit: 12/3/2023 Posts: 31538 Rating:
|
Hello Gabor Cser, you're welcome ... That's sounds good ... |
Follow us on