Mitsubishi MELSEC-Q/L Programming Manual page 695

Table of Contents

Advertisement

Program example when the multiple CPU high-speed transmission dedicated instruction is executed at CPU No.2
SM402
Turn-on for one
scan after RUN
X20
Read instruction
M0
U3E0\G10000.0
During execution
CPU No.1 is
of the DDWR
during execution
instruction
of the instruction
M1
Completion device
(9) Program example when data exceeding 100 words are written/read with the multiple CPU high-speed transmission
dedicated instruction
The maximum number of write/read points that can be processed with the multiple CPU high-speed transmission
dedicated instruction is 100 words. Data exceeding 100 words can be written/read by executing the multiple CPU high-
speed transmission dedicated instruction at several times.
The following shows a program example using the D(P).DDWR instruction of the multiple CPU high-speed transmission
dedicated instruction. The similar program can be used when using the D(P).DDRD instruction of the multiple CPU high-
speed transmission dedicated instruction.
U3E1\G10000.0 is turned on while CPU No.2 is executing the DP.DDRD instruction.
SM796
Number of used
blocks information
(CPU No.1)
DP.DDRD
U3E1\G10000.0 is turned off at the completion of the DP.DDRD instruction.
MOV
MOV
H3E0
D0
D1000
Completion
status
K1
SD796
Maximum number of
used blocks
(CPU No.1)
SET
M0
During execution the
DDRD instruction
U3E1\
SET
G10000.0
CPU No.2 is during
execution of the
instruction
K50
D1
Read instruction
D1000
M1
Completion
devaice
RST
M0
During execution of
the DDRD instruction
U3E1\
RST
G10000.0
CPU No.2 is during of
execution the instruction
693
1
10
3
4
6
6
7
8

Advertisement

Table of Contents
loading

Table of Contents