Mitsubishi Electric R16MTCPU Programming Manual page 65

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

■Program which changes the positioning speed to 200000 for Axis 1 of the Motion CPU (CPU
No.2), when M0 that sets Axis No. as indirect setting method turned ON, and then changes the
positioning speed to 50000 for Axis 2, M1 turned ON
SM402
Only 1
scan ON
after start
M0
Axis 1
speed
change
command
M1
M10
Axis 2
Axis 1
speed
CHGV
change
instruction
command
execution
command
M10
Axis 1
CHGV
instruction
execution
command
M11
Axis 2
CHGV
instruction
execution
command
$MOVP
$MOVP
MOVP
K0
DMOVP
K200000
Axis 1 CHGV
instruction
execution
command
MOVP
K2
DMOVP
K50000
ADRSET
D0Z0
MP.CHGV H3E1 @W0 D4 M100 D100
"J1"
D0
Axis No.1
for indirect
setting
"J2"
D2
Axis No.2
for indirect
setting
Z0
Axis No.
offset
D4
Change
speed
setting
SET
M10
RST
M0
Axis 1 speed
change
command
Z0
Axis No.
offset
D4
Change
speed
setting
SET
M11
Axis 2 CHGV
instruction
execution
command
RST
M1
Axis 2 speed
change
command
W0
Axis No.
indirect
setting
device
address
setting
RST
M10
Axis 1 CHGV
instruction
execution
command
RST
M10
Axis 2 CHGV
instruction
execution
command
2 MOTION DEDICATED PLC INSTRUCTION
2.2 Motion Dedicated PLC Instruction
2
63

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents