3 - 44
3 MOTION DEDICATED PLC INSTRUCTION
Axis 2 CHGVS
instruction
execution
command
Axis 2 speed
change
command
Axis 2 CHGVS
instruction
execution
command
Axis 1 CHGVS
instruction
execution
command
Axis 1 speed
change
command
Axis 1
CHGVS
instruction
execution
command
Axis 2
CHGVS
instruction
execution
command
Axis 2
speed
change
command
DP.CHGVS H3E1 D100D4 M100@W0
2
Pro
ram which chan
es the positionin
speed to 200000 for Axis 1 of the Motion CPU
CPU No.2
, when M0 that sets Axis No. as indirect settin
method turned ON, and then
chan
es the positionin
speed to 50000 for Axis 2, when M1 turned ON.
Only 1
scan ON
after start
SM402
SET M10
"J1" D0
$MOVP
D4
DMOVP
K200000
Axis No.1
for indirect
setting
"J2" D2$MOVP
Axis 1
speed
change
command
M0
K0 Z0
MOVP
Axis No.
offset
Change
speed
setting
Axis 1 CHGVS
instruction
execution
command
RST M0
SET M11
D4
DMOVP
K50000
M1
K2 Z0
MOVP
Axis No.
offset
Change
speed
setting
RST M1
Axis 1
CHGVS
instruction
execution
command
M10
RST M10
M10
Axis No.
indirect
setting
device
address
setting
RST M11
W0
ADRSET
D0Z0
M11
Axis No.2
for indirect
setting