Program example
■Program which changes the current value to 10 for Axis 1 of the Motion CPU (CPU No.2),
when M0 turned ON.
• (Example 1) Program which omits the complete device and complete status.
U3E1
\G526.0
M0
Instruction
Start accept
execution
flag of CPU
command
No.2(Axis 1)
• (Example 2) Program which uses complete device and complete status.
U3E1
M0
\G526.0
Instruction
Start accept
execution
flag of CPU
command
No.2(Axis 1)
M100
M101
Complete
M101
device
2 MOTION DEDICATED PLC INSTRUCTION
58
2.2 Motion Dedicated PLC Instruction
MP.CHGAS H3E1 "J1"
MP.CHGAS H3E1 "J1"
K10 M100 D100
Normal complete program
Abnormal complete program
K10
RST
M0
Instruction
execution
command
RST
M0
Instruction
execution
command