Waiting on reported state matching wanted switch state

Post Reply
MikeBr
Posts: 20
Joined: 08.07.2016, 18:33

Waiting on reported state matching wanted switch state

Post by MikeBr » 19.09.2018, 11:08

Hi,
I have a layout that has 40 servos controlling points/switches each taking 5sec to switch states. Using SOD initfields the process takes a long time.
I have enabled feedback sensors for each switch so I can see when the switch turns red and clears when the feedbach responds.
I want to create a script that monitors the switch's reported state and end a wait when it matches the 'wanted state'. I have not found a field that matches the reported state as logged by the server so how do I find out when the feedback sensors have responded to the switch state change? posting.php?mode=post&f=2#

Post Reply

Return to “General”