13 - 37
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
Description
SPN(1000)
STA(200)
STB(300)
MOV(500)
TRIP(250)
OUTON(1)
TRIP(400)
OUTOF(1)
TIM(100)
MOVI(500)
TRIPI(300)
OUTON(1)
STOP
Speed (Motor speed)
Acceleration time constant
Deceleration time constant
Absolute move command
Absolute trip point
Program output 1 (OUT 1) is turned ON.
Absolute trip point
Program output 1 (OUT 1) is turned OFF.
Dwell command time
Incremental move command
Incremental trip point
Program output 1 (OUT 1) is turned ON.
Program end
1000[r/min]
200[ms]
300[ms]
500[×10
STM
μm]
250[×10
STM
μm]
400[×10
STM
μm]
100[ms]
500[×10
STM
μm]
300[×10
STM
μm]
a)
b)
c)
d)
e)
f)
g)
0r/min
Servo motor
speed
b)
d)
Program output 1
(OUT1)
ON
OFF
f)
g)
100ms
a) 250 10
STM
m
c) 400 10
STM
m
e) 300 10
STM
m
Forward
rotation