
106
4. Select the corresponding value or IO in the second selection box. If IO is selected, you
need to enter the corresponding IO serial number in the corresponding input box.
5. Click the "OK" button in the operation bar to finish adding IO commands.
WAIT instruction
1. Select the line above the WAIT command line to be added.
2. Select any waiting signal in a selection box: DI, DO, R, TIME (in milliseconds), and enter
the corresponding value.
3. Click the "OK" button in the operation bar to complete the addition of the WAIT instruction.
Program example
WAIT R[1]=1
J P[1] VEL=100
DO[1]=ON
DO[2]=OFF
WAIT TIME = 100
J P[2] VEL=100
19.6.4 Timeout instruction
Instructions:
WAIT instruction usage scenarios can be divided into two situations. The first one is to wait
for a certain input state (DI), output state (DO) or whether the value of R value is equal to the set
value. If the condition is not met, the program will It has been blocked in this line until the condition
is met to continue executing the following program content; the second type is to force to wait for
a few milliseconds before continuing to execute the following program content.
The WAIT timeout instruction is the instruction that acts in the first case, and is used in
conjunction with the timeout setting, for example: