13. POSITIONING MODE
3) Program example 3
When the "TRIP" and "TRIPI" commands are used to set the position addresses where the "OUTON"
and "OUTOF" commands will be executed.
Program
SPN(1000)
Speed (Motor speed)
STA(200)
Acceleration time constant
STB(300)
Deceleration time constant
MOV(500)
Absolute move command
TRIP(250)
Absolute trip point
OUTON(1)
Program output 1 (OUT 1) is turned ON.
TRIP(400)
Absolute trip point
OUTOF(1)
Program output 1 (OUT 1) is turned OFF.
TIM(100)
Dwell command time
MOVI(500)
Incremental move command
TRIPI(300)
Incremental trip point
OUTON(1)
Program output 1 (OUT 1) is turned ON.
STOP
Program end
Forward
rotation
Servo motor
speed
Program output 1
(OUT1)
a) 250 10
m
c) 400 10
STM
0r/min
ON
OFF
b)
Description
1000[r/min]
200[ms]
300[ms]
500[×10
STM
μm]
250[×10
μm]
STM
400[×10
STM
μm]
100[ms]
500[×10
STM
μm]
300[×10
STM
μm]
m
e) 300 10
STM
100ms
d)
13 - 35
a)
b)
c)
d)
e)
f)
g)
m
STM
f)
g)