4 - 22
4. OPERATION
(h) Program count command (TIMES)
By setting the number of times to the "TIMES (setting value)" command placed at the beginning of
a program, the program can be executed repeatedly. When the program is to be executed once, the
"TIMES (setting value)" command is not necessary. Setting "0" selects endless repetition.
Program Description
TIMES (2)
SPN (1000)
STC (20)
MOVI (1000)
TIM (10)
STOP
Program count command 2 [times] a)
Speed (Motor speed) 1000 [r/min]
Acceleration/deceleration time constant 20 [ms]
Incremental move command 1000 [
10
STM
m] b)
Dwell command time 100 [ms]
Program end
0r/min
1000 1200
Servo motor
speed
Forward
rotation
b) Incremental move command
(100 10
STM
m)
a)