Manual

47
[Function] Program waits until designated in operand 2 turns ON/OFF.
Can abort the wait after a set time by designating a time in operand 2.
Setting range is 0.01~99 seconds. After a set time has elapsed, the output
turns ON (Only where is an operand 2).
WT
XX
ON ... Waits for I/O port · flag to turn ON.
OF ... Waits for I/O port · flag to turn OFF.
[Example 1] WTON 15 Waits for I/O port 15 to turn ON.
[Example 2] WTOF 25 5 900 Wait for input 25 to turn ON. If not ON within 5 seconds,
turn flag 900 ON and proceed to the next step.
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·tuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpOXXTWgalF·O/I
lanoitpO
tuoemiT
UT
WTXX (I/O Port Flag Wait)
12. SEL Language