5. HOW TO USE THE PROGRAM
5 - 20
4) Program example 4
Command Description
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]
TIM (200) Dwell 200 [ms] a)
OUTON (1) Switch on OUT1 (Program output 1). b)
TIM (300) Dwell 300 [ms] c)
MOVI (500) Incremental value travel command 500 [×10
STM
μm]
STOP Program stop
b)
a) 200 ms
Servo motor
speed
ON
OFF
OUT1
(Program output 1)
c) 300 ms
Reverse rotation
0 r/min
Forward rotation
5) Program example 5
Command Description
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]
TIM (200) Dwell 200 [ms] a)
SYNC (1) Suspend the step until PI1 (Program input 1) is switched on.
MOVI (500) Incremental value travel command 500 [×10
STM
μm]
STOP Program stop
a) Accepts PI1 after 200 ms.
Servo motor
speed
ON
OFF
PI1
(Program output 1)
Reverse rotation
0 r/min
Forward rotation