5. HOW TO USE THE PROGRAM
5 - 17
3) Program example 3
When setting the position address where the "OUTON" or "OUTOF" command is executed by
using the "TRIP" or "TRIPI" command
Command Description
SPN (1000) Servo motor speed 1000 [r/min]
STA (200) Acceleration time constant 200 [ms]
STB (300) Deceleration time constant 1: 300 [ms]
MOV (500) Absolute value travel command 500 [×10
STM
μm]
TRIP (250) Absolute value trip point specification 250 [×10
STM
μm] a)
OUTON (2) Switch on OUT2 (Program output 2). b)
TRIP (400) Absolute value trip point specification 400 [×10
STM
μm] c)
OUTOF (2) Switch off OUT2 (Program output 2). d)
TIM (100) Dwell 100 [ms]
MOVI (500) Incremental value travel command 500 [×10
STM
μm]
TRIPI (300) Incremental value trip point specification 300 [×10
STM
μm] e)
OUTON (2) Switch on OUT2 (Program output 2). f)
STOP Program stop g)
a) 250 × 10
STM
μm
Servo motor
speed
ON
OFF
OUT2
(Program output 2)
100 ms
e) 300 × 10
STM
μm
c) 400 × 10
STM
μm
b)
d) f) g)
Reverse rotation
0 r/min
Forward rotation