Makes it possible to move to the next command statement after waiting until a designated condition becomes true.
wait <condition>[,<timeout>,<timeout address>]
Parameter
Description
Remarks
Condition
Conditions in which waiting is required
Conditional expr
Timeout
Maximum time limit during which waiting will occur when the condition is false (timeout)
Arithmetic expression
0.1~60.0 sec
timeout address
Address to which branching will be made when the timeout is exceeded.
address
wait sensor_ok wait (sensor_ok and pos_ok),10,*timeout
Last updated 4 years ago
Was this helpful?