5. HOW TO USE THE PROGRAM
5 - 25
(h) Number of program executions command (TIMES)
A program can be executed repeatedly by setting the number of program executions in the "TIMES
(setting value) command" placed at the start of the program. To execute the program one time, the
"TIMES" command is not required. Setting "0" repeats the operation endlessly. For how to stop the
program in this status, refer to section 5.2.4 (4).
Command Description
TIMES (2) Number of program executions command 2 [time] a)
SPN (1000) Servo motor speed 1000 [r/min]
STC (20) Acceleration/deceleration time constant 20 [ms]
MOVI (1000) Incremental value travel command 1000 [×10
STM
μm] b)
TIM (100) Dwell 100 [ms]
STOP Program stop
b) Incremental value
travel command
(100 × 10
STM
μ
m)
Servo motor
speed
a)
1000 1200Reverse rotation
0 r/min
Forward rotation