HI all,
Little problem here. If the variable $Gate_in_motion_closing changes back to 0 before the program finishes executing, for some reason, it stops the execution. I've never had an experience where the execution was effected by the state of the trigger after processing started. The state_19 var is just to understand what's happening. Can anyone give me some insight on preventing this behavior?
Just for clarification, If the state of $Gate_inmotion_closing changes back to 0 while "wait 15 seconds" is still blocking, the execution will remain blocked indefinitely.
Thanks for any help
Steve
Gate Confirm fully closed - [ID 0026][Parent 001C]
If
$Gate_inmotion_closing is 1
Then
$State_19 = 11111
Wait 15 seconds
$State_19 = 16616161
Enable Program 'Gate Set Error not fully Closed'
Run Program 'Gate Set Error not fully Closed' (If)
Wait 5 seconds
$State_19 = 55555
Disable Program 'Gate Set Error not fully Closed'
$State_19 = 0
Else
- No Actions - (To add one, press 'Action')