
[7] I/O, Flag Operation
254
z
WT
(Wait for I/O port, flag)
Command, declaration
Extension
condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
E
N, Cnd
Cmnd
Operand 1
Operand 2
Pst
Optional Optional
WT
I/O,
flag (Time)
TU
Applicable models
All models [Refer to Section 5.1 for details of models]
{
[Function]
Wait for the I/O port or flag specified in operand 1 to turn ON/OFF.
The program can be aborted after the specified time by setting the time in
operand 2.
The setting range is 0.01 to 99sec.
The output will turn ON upon elapse of the specified time (only when operand 2 is
specified).
(Note)
A local flag cannot be entered in operand 1.
WT
ON ··············· Wait for the applicable I/O port or flag to turn ON.
OF ··············· Wait for the applicable I/O port or flag to turn OFF.
[Example 1]
WTON 15
Wait for input port 15 to turn ON.
[Example 2]
WTOF
308
10
Wait for 10sec for output port 308 to turn OFF.
[Example 3]
LET
1
600
Assign 600 to variable 1.
WTON *1
Wait for the content of variable 1 (flag 600) to turn
ON.
[Example 4]
LET
1
8
Assign 8 to variable 1.
LET
2
5
Assign 5 to variable 2.
WTOF
*1
*2
Wait for the content of variable 2 (5sec) for the
content of variable 1 (input port 8) to turn OFF.
Summary of Contents for PSEL
Page 2: ......
Page 10: ......
Page 18: ...8 Part 1 Installation ...
Page 37: ...27 Part 1 Installation 2 2 axis specification with battery ...
Page 382: ...372 Appendix Micro cylinder RCL Series Current limiting value ratio Push force N ...
Page 476: ...466 Appendix ...
Page 480: ...470 ...
Page 485: ...475 ...
Page 487: ...INTELLIGENT ACTUATOR SEL Language Programming Manual Eighth Edition ...
Page 488: ......
Page 490: ......
Page 494: ......
Page 518: ...24 ...
Page 526: ...32 ...
Page 831: ... 11 Actuator Control Declaration 337 Example DFIF 1 170 ...
Page 1060: ......
Page 1061: ......