5. HOW TO USE THE PROGRAM
5 - 16
2) Program example 2
Using [Pr. PT23] to [Pr. PT25], you can switch off OUT1 (Program output 1) to OUT3 (Program
output 3) automatically.
Parameter Name Setting value Description
Pr. PT23 OUT1 output setting time 20 Switch off OUT1 200 [ms] later. a)
Pr. PT24 OUT2 output setting time 10 Switch off OUT2 100 [ms] later. b)
Pr. PT25 OUT3 output setting time 50 Switch off OUT3 500 [ms] later. c)
Command Description
SPN (500) Servo motor speed 500 [r/min]
STA (200) Acceleration time constant 200 [ms]
STB (300) Deceleration time constant 300 [ms]
MOV (1000) Absolute value travel command 1000 [×10
STM
μm]
OUTON (1) Switch on OUT1 (Program output 1).
OUTON (2) Switch on OUT2 (Program output 2).
OUTON (3) Switch on OUT3 (Program output 3).
STOP Program stop
Servo motor
speed
ON
OFF
ON
OFF
ON
OFF
a) 200 ms
b) 100 ms
c) 500 ms
OUT1
(Program output 1)
OUT2
(Program output 2)
OUT3
(Program output 3)
Reverse rotation
0 r/min
Forward rotation