Mitsubishi Electronics QCPU Q02(H)CPU Sleep Apnea Machine User Manual


 
97
CHAPTER 4 STARTING UP MULTIPLE CPU SYSTEM
4
4.3 Program Examples for Communications by Auto Refresh
4.3.2 Program examples for Universal model QCPU
(c) Continuously reading/writing data between CPU No.1 and CPU No.2 using the user
setting area in the multiple CPU high speed transmission area
Data can be read/write between CPU modules using the user setting area in the CPU shared memory.
The same number of points must be set for CPU No.1 and CPU No.2 in the auto refresh setting.
The user setting area will be 3E0\G10000 and later for CPU No.1 and 3E1\G10000 and later for CPU No.2.
Setting of CPU No.1 Setting of CPU No.2
CPU shared memory
Host CPU operation
information area
System area
Auto refresh area
Auto refresh area
User setting area
CPU No.1
send area
CPU No.1
receive area
CPU No.2
receive area
User setting area
Auto refresh area
Use-prohibited area
Multiple CPU high
speed transmission area
3E0\G10000
3E0\G17133 3E0\G17133
3E0\G17133
3E1\G10000
CPU No.1 memory
Auto refresh area
User setting area
CPU No.2
send area
User setting area
Auto refresh area
3E0\G10000
3E1\G10000
CPU No.2 memory
3E1\G17133
to
to