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

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