3 - 59
3 MOTION DEDICATED PLC INSTRUCTION
[Program example]
SET M0
Normal complete program
Instruction
execution
command
X0
Complete
device
M100
Abnormal complete program
M101
M101
DP.DDWR H3E1 M100D0 W10D100
K10 D101
MOVP
Instruction
execution
command
X0
M0 M100
Normal complete program
Complete
device
M100
Abnormal complete program
M101
M101
RST M0
Normal complete program
Instruction
execution
command
X0
Complete
device
M100
Abnormal complete program
M101
M101
DP.DDWR
H3E1 M100D0 W10D100
K10 D101
MOVP
DP.DDWR
H3E1 M100D0 "#10"D100
K10 D101
MOVP
Stores D0 to D9 of self CPU to W10 to
W19 of CPU No.2.
M0
Stores the number of writing data "10"
to the number of writing data points
(S1+1) setting device D101.
Stores D0 to D9 of self CPU to #10 to
#19 of the CPU No.2.
(1) Program which stores data for 10 words from D0 of the self CPU to W10 or later of the CPU No.2,
when X0 turned ON.
(3) Program which stores data for 10 words from D0 of the self CPU to #10 or later of the CPU No.2,
when X0 turned ON.
(2) Program which stores simultaneously data for 10 words from D0 of the self CPU to W10 or later
of the CPU No.2, while X0 is ON.
Stores D0 to D9 of self CPU to W10 to
W19 of CPU No.2.
Stores the number of writing data "10"
to the number of writing data points
(S1+1) setting device D101.
Stores the number of writing data "10"
to the number of writing data points
(S1+1) setting device D101.