Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 169
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.16.25 Time to wait (TIME)
Code TIME
Function Time to wait
Time from the end of the block to the next block beginning is
specified at
waiting time.
Format
I
Waiting time (1 to 65535)
ETM
p
;P
[Explanation]
(1) Time from the end of the block to the next block beginning is specified at waiting
time.
(2) The specified range of waiting time is 1 to 65535.
The command unit is 0.001[s].
TIME P1000 ; is waiting at 1[s].
(3) Waiting time can be set by direct setting (numerical value) and indirect setting
(constant : #
).
(4) TIME instruction can be used only the control program.
Use the G04 (Dwell) as the time to wait in the axis designation program.
(5) The command unit is 0.001[s] (1[ms]). However, note that about dozens maximum
error (dispersion) will occur by the main cycle.
[Program Example]
M10 is turned ON for 100[ms].
SET #M10 ;
TIME P100 ;
RST #M10 ;
Waiting time of 65535[ms] (65.535[s]) or more is as follows.
Example 100[s] waiting
#@0 = 0 ;
WHILE [#@0 LE 10] D01 ;
TIME P10000 ;
#@0 = #@0 + 1 ;
END1 ;