13 - 33
13. POSITIONING MODE
(2) Detailed description of commands
(a) Positioning conditions (SPN, STA, STB, STC, STD)
The "SPN", "STA", "STB", "STC" and "STD" commands are valid when the "MOV" and "MOVA"
commands are executed. The set values remain valid until they are reset.
1) Program example 1
When operation is to be performed in two patterns that have the same servo motor speed,
acceleration time constant and deceleration time constant but different move commands.
Program
Description
SPN(1000)
STA(200)
STB(300)
MOV(1000)
TIM(100)
MOV(2000)
STOP
Speed (Motor speed)
Acceleration time constant
Deceleration time constant
Absolute move command
Dwell command time
Absolute move command
Program end
1000[r/min]
200[ms]
300[ms]
1000[×10
STM
μm]
100[ms]
2000[×10
STM
μm]
a)
b)
c)
d)
e)
f)
0r/min
Servo motor
speed
d) Absolute
move command
(1000 10
STM
m)
e) Dwell command
time (100ms)
f) Absolute
move command
(2000 10
STM
m)
a) Servo motor
speed
(1000r/min)
b) Acceleration
time constant
(200ms)
b) Acceleration
time constant
(200ms)
c) Deceleration
time constant
(300ms)
c) Deceleration
time constant
(300ms)
a) Servo motor
speed
(1000r/min)
Forward
rotation
2) Program example 2
When operation is to be performed in two patterns that have different servo motor speeds,
acceleration time constants, deceleration time constants and move commands.
Program
Description
SPN(1000)
STA(200)
STB(300)
MOV(1000)
TIM(100)
SPN(500)
STC(200)
MOV(1500)
STOP
Speed (Motor speed)
Acceleration time constant
Deceleration time constant
Absolute move command
Dwell command time
Speed (Motor Speed)
Acceleration/deceleration time constant
Absolute move command
Program end
1000[r/min]
200[ms]
300[ms]
1000[×10
STM
μm]
100[ms]
500[r/min]
200[ms]
1500[×10
STM
μm]
a)
b)
c)
d)
e)
f)
g)
h)
0r/min
h) Absolute move
command
(1500 10
STM
m)
d) Absolute
move command
(1000 10
STM
m)
e) Dwell command
time (100ms)
b) Acceleration
time constant
(200ms)
a) Servo motor
speed
(1000r/min)
f) Servo motor
speed (500r/min)
Forward
rotation
Servo motor
speed
g) Acceleration
time constant
(200ms)
c) Deceleration
time constant
(300ms)