Operation – MITSUBISHI ELECTRIC MR-J2S- CL User Manual
Page 95

4 - 12
4. OPERATION
2) Program example 2 (Wrong usage)
In continuous operation, the acceleration or deceleration time constant cannot be changed at
each speed change. Hence, the "STA", "STB" or "STD" command is ignored if it is inserted for a
speed change.
Program
Description
SPN (500)
STA (200)
STB (300)
MOV (500)
SPN (1000)
STC (500)
MOVA (1000)
SPN (1500)
STC (100)
MOVA (0)
STOP
Speed (Motor speed)
500 [r/min]
a)
Acceleration time constant
200 [ms]
b)
Deceleration time constant
300 [ms]
c)
Absolute move command
500 [ 10
STM
m]
d)
Speed (Motor speed)
1000 [r/min]
e)
Acceleration/deceleration time constant
500 [ms]
f)
Absolute continuous move command
1000 [ 10
STM
m] g)
Speed (Motor speed)
1500 [r/min]
h)
Acceleration/deceleration time constant
100 [ms]
i)
Absolute continuous move command
0 [ 10
STM
m]
j)
Program
end
Ignored.
Ignored.
0r/min
Servo motor
speed
Reverse
rotation
a) Speed(Motor speed)
(500r/min)
d) Absolute move command
(500 10
STM
m)
c) Deceleration time
constant (300ms)
b) Acceleration time
constant (200ms)
g) Absolute continuous
move command
(1000 10
STM
m)
Forward
rotation
j) Absolute continuous
move command
(0 10
STM
m)
h) Speed
(Motor speed)
(1500r/min)
e) Speed
(Motor speed)
(1000r/min)
(c) Input/output command (OUTON/OUTOF), trip point command (TRIP/TRIPI)
1) Program example 1
As soon as the program is executed, Program output 1 (OUT1) is turned ON. When the program
ends, Program output 1 (OUT1) turns OFF.
Program
Description
SPN (1000)
STA (200)
STB (300)
MOV (500)
OUTON (1)
TIM (10)
MOV (250)
TIM (5)
STOP
Speed (Motor speed)
1000 [r/min]
Acceleration/deceleration time constant
200 [ms]
Deceleration time constant
300 [ms]
Absolute move command
500 [ 10
STM
m]
Program output 1 (OUT 1) is turned ON.
a)
Dwell command time
100 [ms]
Absolute move command
250 [ 10
STM
m]
Dwell command time
50 [ms]
b)
Program end
Servo motor
speed
Forward
rotation
Program output1
(OUT1)
a)
b)
0r/min
ON
OFF
Dwell command time
(100ms)
Dwell
command
time
(50ms)