3.2.4 wait

Description

Makes it possible to move to the next command statement after waiting until a designated condition becomes true.

Syntax

wait <condition>[,<timeout>,<timeout address>]

Parameter

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

Example

wait sensor_ok
wait (sensor_ok and pos_ok),10,*timeout

Last updated

Was this helpful?