beautypg.com

Operation – MITSUBISHI ELECTRIC MR-J2S- CL User Manual

Page 98

background image

4 - 15

4. OPERATION

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 moving distance.

Program

Description

SPN (500)
STA (200)
STB (300)
MOVI (600)
TRIPI (300)
OUTON (3)
SPN (700)
MOVIA (700)
TRIPI (300)
OUTOF (3)
STOP

Speed (Motor speed)

500 [r/min]

Acceleration time constant

200 [ms]

Deceleration time constant

300 [ms]

Incremental move command

600 [ 10

STM

m]

a)

Absolute trip point

300 [ 10

STM

m]

b)

Program output 3 (OUT 3) is turned ON.

c)

Speed (Motor speed)

700 [r/min]

Incremental continuous move command

700 [ 10

STM

m]

d)

Incremental trip point

300 [ 10

STM

m]

e)

Program output 3 (OUT 3) is turned OFF.

f)

Program end

0r/min

ON

OFF

Servo motor
speed

Forward
rotation

Program output3
(OUT3)

b) 300

d) Incremental continuous
move command
(700 10

STM

m)

c)

f)

a) Incremental move
command
(600 10

STM

m)

10

STM

m

900
( a) MOVI (600 ) e) TRIPI (300))

10

STM

m