# 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) | <p>Arithmetic expression</p><p>0.1\~60.0 sec</p> |
| timeout address | Address to which branching will be made when the timeout is exceeded.                    | address                                          |

### Example

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