Mitsubishi Electronics Q12HCPU Sleep Apnea Machine User Manual


 
91
CHAPTER 4 STARTING UP MULTIPLE CPU SYSTEM
4
4.3 Program Examples for Communications by Auto Refresh
4.3.1 Program examples for Basic model QCPU, High Performance model QCPU, and Process CPU
(c) Continuously reading/writing data between CPU No.1 and No.2 using the user
setting area
Data can be read/write between CPU modules by programs 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 auto refresh area occupies the memory addresses 0800
H
to 0821
H
, the area set by setting 1 and setting 2.
Consequently, the user setting area will be a range from 0822
H
to 0FFF
H
. ( Page 118, Section 6.1)
0000H
to
01FF
H
0200H
to
07FF
H
0800H
to
0FFF
H
CPU shared memory
Host CPU operation
information area
System area
Auto refresh area
User setting area
0800H
081FH
0820H
0821H
0822H
0850H
0881H
0FFFH
CPU No.1 memory
D0 to D31
M0 to M31
0800H
081FH
0820H
0821H
0822H
0850H
0881H
0FFFH
CPU No.2 memory
D32 to D63
M32 to M63