Mitsubishi Electric Melsec Q Series Programming Manual page 155

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

3 MOTION DEDICATED PLC INSTRUCTION
(2) 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
Axis 1
speed
change
command
Axis 2
speed
change
command
Axis 1
CHGVS
instruction
execution
command
Axis 2
CHGVS
instruction
execution
command
M0
M1
M10
Axis 1
CHGVS
instruction
execution
command
M10
M11
$MOVP
$MOVP
MOVP
DMOVP
MOVP
DMOVP
ADRSET
DP.CHGVS H3E1
@W0
3 - 44
"J1"
D0
Axis No.1
for indirect
setting
"J2"
D2
Axis No.2
for indirect
setting
K0
Z0
Axis No.
offset
K200000
D4
Change
speed
setting
SET
M10
Axis 1 CHGVS
instruction
execution
command
RST
M0
Axis 1 speed
change
command
K2
Z0
Axis No.
offset
K50000
D4
Change
speed
setting
SET
M11
Axis 2 CHGVS
instruction
execution
command
RST
M1
Axis 2 speed
change
command
D0Z0
W0
Axis No.
indirect
setting
device
address
setting
D4 M100
D100
RST
M10
Axis 1 CHGVS
instruction
execution
command
RST
M11
Axis 2 CHGVS
instruction
execution
command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents