6 timer – IAI America XSEL-KE User Manual
Page 113
98
Part 4 Commands
1.6 Timer
z TIMW (Timer)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
TIMW Time
Prohibited TU
[Function]
Stop the program and wait for the time specified in operand 1.
The setting range is 0.01 to 99, and the unit is second.
The output will turn ON when the specified time has elapsed and the program proceeds to
the next step.
[Example 1]
TIMW
1.5
Wait for 1.5 seconds.
[Example 2]
LET
1
10
Assign 10 to variable 1.
TIMW
*1
Wait for the content of variable 1 (10 seconds).
[Example 3]
MOVP 1
TIMW 2
MOVP 2
Move to position No. 1, wait for 2 seconds, and move
to position No. 2.