Specifications

Command List
66
Program
(Note 1)
Description
SPN (1000)
STA (200)
STB (300)
MOV (1000)
TIM (10)
MOV (2500)
STOP
Servomotor speed 1000 (r/min)
Acceleration time constant 200 (ms)
Deceleration time constant 300 (ms)
Absolute value move instruction 1000 (10
STM
µm)
Dwell 100 (ms)
Absolute value move instruction 2500 (10
STM
µm)
Program stop
...............................................
q
.......................................
w
.......................................
e
.................
r
.........................................................................
t
.................
y
Speed
Position
0 1000 2500
q Speed
(1000r/min)
q Speed
(1000r/min)
e Deceleration time
constant (Note 3)
(300ms)
e Deceleration time
constant (Note 3)
(300ms)
w Acceleration time
constant (Note 2)
(200ms)
w Acceleration time
constant (Note 2)
(200ms)
r Absolute value
move instruction
(100010
STM
µm)
y Absolute value
move instruction
(250010
STM
µm)
t Dwell
(100ms)
<Example 1>
Two types of operation, with which the servomotor speed, acceleration time constant, and deceleration time constant
are the same and the move instruction is different, are executed.
Notes:
1. The values set as steps q, w, and e are valid as long as they are not set again.
2. The setting value is the time elapsing from the stop of the servomotor to the rated speed.
3. The setting value is the time elapsing from the rated speed to the stop of the servomotor.
<Example 2>
The steps enclosed with the [FOR (setting value)] command and the [NEXT] command are repeated for the number of
times set beforehand.
Program Description
SPN (1000)
STC (20)
MOV (1000)
TIM (10)
FOR (3)
MOVI (100)
TIM (10)
NEXT
STOP
Servomotor speed 1000 (r/min)
Acceleration and deceleration time constants 20 (ms)
Absolute value move instruction 1000 (10
STM
µm)
Dwell 100 (ms)
Step repeat command start 3 (times)
Incremental value move instruction 100 (10
STM
µm)
Dwell 100 (ms)
Step repeat command end
Program stop
......................................
q
...............
w
.........................................................................
e
Speed
Position
0 1000 1100 1200 1300
Steps w and e are repeated for the
number of times specified by step q.
Speed
(1000r/min)
Deceleration time
constant (20ms)
Acceleration time
constant (20ms)
Dwell (100ms)
Program examples