Mitsubishi Electric R16MTCPU Programming Manual page 70

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, when M1 turned ON
SM402
Only 1
scan ON
after start
M0
Axis 1
speed
change
command
M1
M10
Axis 2
Axis 1
speed
CHGVS
change
instruction
command
execution
command
M10
Axis 1
CHGVS
instruction
execution
command
M11
Axis 2
CHGVS
instruction
execution
command
2 MOTION DEDICATED PLC INSTRUCTION
68
2.2 Motion Dedicated PLC Instruction
$MOVP
$MOVP
MOVP
DMOVP
K200000
MOVP
DMOVP
K50000
ADRSET
D0Z0
MP.CHGVS H3E1 @W0 D4 M100 D100
"J1"
D0
Axis No.1
for indirect
setting
"J2"
D2
Axis No.2
for indirect
setting
K0
Z0
Axis No.
offset
D4
Change
speed
setting
SET
M10
Axis 1 CHGVS
instruction
execution
command
RST
M0
Axis 1 speed
change
command
K2
Z0
Axis No.
offset
D4
Change
speed
setting
SET
M11
Axis 2 CHGVS
instruction
execution
command
RST
M1
Axis 2 speed
change
command
W0
Axis No.
indirect
setting
device
address
setting
RST
M10
Axis 1 CHGVS
instruction
execution
command
RST
M11
Axis 2 CHGVS
instruction
execution
command

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents