Mitsubishi Electric MELSEC Q Series User Manual page 270

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(b) Precautions
Old and new data may be mixed in the user setting area depending on the following timing.
• Timing when data writing to the user setting area by another module and read-out from the host module to
another module's user setting area takes place simultaneously.
• Timing when data writing to the user setting area by the host module and read-out from another module to
the host module's user setting area takes place simultaneously.
Therefore, configure an interlock program for auto refresh so that data of another CPU will not be used when
old and new data are mixed.
The following example user setting area in the multiple CPU high speed transmission area show an example
program to perform interlock in data transmission from No.1 module (Programmable controller CPU) to No.2
module (C Controller module).
Sending side program(CPU No.1)
Write
U3E0\
command
M0
G10010.0 G10000.0
6)
U3E0\
U3E1\
G10010.0 G10000.0
268
U3E1\
1)
Set send data in
user setting area
(U3E0\ G10000 to G10009).
2)
U3E0\
SET G10010.0
U3E0\
RST G10010.0
RST
M0
Processing flow
(The numbers from 1) through 8)
represent the execution sequence.))
1) Transmitted data are written into the user
setting area.
2) Data set complete bit ON is written into the
user setting area.
The multiple CPU high speed transmission
area data in the No.1 module are
automatically transmitted to the No.2 module.
6) The received data processing complete bit ON
is detected and the data complete bit is turned
OFF.

Advertisement

Table of Contents
loading

Table of Contents