Mitsubishi Electric Melsec Q Series Programming Manual page 170

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

Advertisement

3 MOTION DEDICATED PLC INSTRUCTION
[Program example]
(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.
X0
Instruction
execution
command
M100
M101
Complete
M101
device
(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.
X0
M0
Instruction
execution
command
M0
M100
M100
M101
Complete
M101
device
(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.
X0
Instruction
execution
command
M100
M101
Complete
M101
device
MOVP
DP.DDWR H3E1
D100
D0 W10
Normal complete program
Abnormal complete program
MOVP
DP.DDWR H3E1
D100
D0 W10
Normal complete program
Abnormal complete program
MOVP
DP.DDWR H3E1
D100
D0 "#10"
Normal complete program
Abnormal complete program
3 - 59
Stores the number of writing data "10"
K10
D101
to the number of writing data points
(S1+1) setting device D101.
Stores D0 to D9 of self CPU to W10 to
M100
W19 of CPU No.2.
Stores the number of writing data "10"
to the number of writing data points
K10
D101
(S1+1) setting device D101.
Stores D0 to D9 of self CPU to W10 to
M100
W19 of CPU No.2.
SET
M0
RST
M0
Stores the number of writing data "10"
K10
D101
to the number of writing data points
(S1+1) setting device D101.
Stores D0 to D9 of self CPU to #10 to
M100
#19 of the CPU No.2.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents