8
STARTING UP THE MULTIPLE CPU SYSTEM
SM400
Always
ON
Write completed
CPU No.1 read completed
CPU No.2
write flag
Diagram 8.17 Program example for continuously writing/reading data using the user setting area from CPU No. 2 to
8
- 33
8.3 Communication program examples using auto refresh
8.3.1 Program examples for the Basic model QCPU, High Performance model QCPU and Process CPU
(b) Program example of continuous data writing/reading using the user setting
area from CPU No. 2 to CPU No. 1
Table8.3 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. 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
Write
completion
bit
CPU No.2
write flag
CPU No.2
write flag
CPU No.1
read
completed