Mitsubishi MELSEC-Q Series User Manual page 272

Programmable controller multiple cpu system
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

8
STARTING UP THE MULTIPLE CPU SYSTEM
(5) Program example of continuous data writing/reading using the user
Always
ON
CPU No.2
write flag
Diagram 8.24 Program example for continuously writing/reading data using the user setting area from CPU No. 2 to
8
- 39
8.3 Communication program examples using auto refresh
8.3.2 Program examples for the Universal model QCPU
setting area from CPU No. 2 to CPU No. 1
Table8.6 Auto refresh devices used in each CPU module
Auto refresh device used in CPU No. 2
M63
Program example
Program by which data are continuously written/read using the user setting area from
the CPU module of CPU No. 2 to the CPU module of CPU No. 1.
CPU No. 2
CPU No.2
write flag
CPU No.1 read
completed
CPU No. 1
CPU No. 1
Auto refresh device used in CPU No. 1
M31
Write
head data
Read
head data
Write
head data
Write
final data
CPU No.2
write flag
CPU No.2
write flag
CPU No.1
read
completed

Advertisement

Table of Contents
loading

Table of Contents