Mitsubishi Electric Melsec Q Series Programming Manual page 175

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 CPU No.2 to W10 or later of the self CPU,
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 CPU No.2 to W10 or later
of the self CPU, while X0 turned 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 CPU No.2 to #10 or later of the self CPU,
when X0 turned ON.
X0
Instruction
execution
command
M100
M101
Complete
M101
device
MOVP
DP.DDRD H3E1
D100
D0 W10
Normal complete program
Abnormal complete program
MOVP
DP.DDRD H3E1
D100
D0 W10
Normal complete program
Abnormal complete program
MOVP
DP.DDRD H3E1
D100
"#0" W10
Normal complete program
Abnormal complete program
3 - 64
Stores the number of reading data "10"
K10
D101
to the number of reading data points
(S1+1) setting device D101.
Stores D0 to D9 of CPU No.2 to W10 to
M100
W19 of self CPU.
Stores the number of reading data "10"
K10
D101
to the number of reading data points
(S1+1) setting device D101.
Stores D0 to D9 of CPU No.2 to W10 to
M100
W19 of self CPU.
SET
M0
RST
M0
Stores the number of reading data "10"
K10
D101
to the number of reading data points
(S1+1) setting device D101.
Stores D0 to D9 of CPU No. to #10 to
M100
#19 of self CPU.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents