13 - 38
13. POSITIONING MODE
4) Program example 4
POINT
"MOV" cannot be used with "TRIPI".
Note that the "TRIP" and "TRIPI" commands do not execute the next step unless the axis passes the
preset address or travels the preset travel distance.
Program
Description
SPN(500)
STA(200)
STB(300)
MOVI(600)
TRIPI(300)
OUTON(1)
SPN(700)
MOVIA(700)
TRIPI(300)
OUTOF(1)
STOP
Speed (Motor speed)
Acceleration time constant
Deceleration time constant
Incremental move command
Incremental trip point
Program output 1 (OUT 1) is turned ON.
Speed (Motor speed)
Incremental continuous move command
Incremental trip point
Program output 1 (OUT 1) is turned OFF.
Program end
500[r/min]
200[ms]
300[ms]
600[×10
STM
μm]
300[×10
STM
μm]
700[r/min]
700[×10
STM
μm]
300[×10
STM
μm]
a)
b)
c)
d)
e)
f)
0r/min
Servo motor
speed
Program output 1
(OUT1)
ON
OFF
a) Incremental move
command
(600 10
STM
m)
900 10
STM
m
(a) MOVI (600) +e) TRIPI (300))
d) Incremental
continuous move
command
(700 10
STM
m)
b) 300 10
STM
m
c)
f)
Forward
rotation