5. HOW TO USE THE PROGRAM
(g) Step repeat instruction (FOR...NEXT)
The steps between the "FOR (Setting value)" and the "NEXT" commands are repeated for the set
number of times. Setting "0" repeats the operation endlessly.
For how to stop the program in this status, refer to section 5.2.4 (4).
Command
SPN (1000)
STC (20)
MOV (1000)
TIM (100)
FOR (3)
MOVI (100)
TIM (100)
NEXT
FOR (2)
MOVI (200)
TIM (100)
NEXT
STOP
Servo motor speed
POINT
You cannot insert "FOR...NEXT" commands between a "FOR" command and a
"NEXT" command.
Servo motor speed
Acceleration/deceleration time
constant
Absolute value travel command
Dwell
Start of step repeat instruction
Incremental value travel command
Dwell
End of step repeat instruction
Start of step repeat instruction
Incremental value travel command
Dwell
End of step repeat instruction
Program stop
Forward rotation
0 r/min
Reverse rotation
www.kavrammuhendislik.com.tr
Description
1000 [r/min]
20 [ms]
STM
μm]
1000 [×10
100 [ms]
3 [time]
STM
μm]
100 [×10
100 [ms]
2 [time]
STM
μm]
200 [×10
100 [ms]
b) Incremental value
travel command
STM
(100 × 10
1000
1100
1200
a) c)
5 - 24
a)
b)
c)
d)
e)
f)
d) Incremental value
travel command
μm)
μm)
(200 × 10
STM
1300
1500
e) f)
1700