3 MOTION DEDICATED PLC INSTRUCTION
[Program example]
(1) Program which changes the current value to 10 for synchronous encoder axis 1 of the
Motion CPU (CPU No.2), when M0 turned ON.
<Example 1> Program which omits the complete device and complete status.
Instruction
execution
command
<Example 2> Program which uses the complete device and complete status.
Instruction
execution
command
Complete
device
M0
M0
M100
M101
M101
DP.CHGA H3E1
DP.CHGA
H3E1
"E1"
Normal complete program
Abnormal complete program
3 - 22
"E1"
K10
RST
M0
Instruction
execution
command
K10 M100
D100
RST
M0
Instruction
execution
command