13 - 44
13. POSITIONING MODE
(g) Step repeat command (FOR ... NEXT)
POINT
"FOR ... NEXT" cannot be placed within "FOR ... NEXT".
The steps located between the "FOR (setting value)" command and "NEXT" command is repeated by
the preset number of times.
Program
Description
SPN(1000)
STC(20)
MOV(1000)
TIM(100)
FOR(3)
MOVI(100)
TIM(100)
NEXT
FOR(2)
MOVI(200)
TIM(100)
NEXT
STOP
Speed (Motor speed)
Acceleration/deceleration time constant
Absolute move command
Dwell command time
Step repeat command start
Incremental move command
Dwell command time
Step repeat command end
Step repeat command start
Incremental move command
Dwell command time
Step repeat command end
Program end
1000[r/min]
20[ms]
1000[×10
STM
μm]
100[ms]
3 [times]
100[×10
STM
μm]
100[ms]
2 [times]
200[×10
STM
μm]
100[ms]
a)
b)
c)
d)
e)
f)
0r/min
Servo motor
speed
a) c)
1100
1200
1300
1000
b) Incremental move command
(100 10
STM
m)
e) f)
1500
1700
d) Incremental move command
(200 10
STM
m)
Forward
rotation