Mitsubishi Electronics Q06PHCPU Sleep Apnea Machine User Manual


 
152
(4) Overview (when the user setting area is used)
The data written to the CPU shared memory in the host CPU module by a write instruction can be read by other
CPU modules by a read instruction.
Unlike the auto refresh using the CPU shared memory, the up-to-date data at the time of an instruction execution
can be read directly.
The following shows the operations when data written to the CPU shared memory of CPU No.1 by a write
instruction is read by CPU No.2 by a read instruction.
Processing in CPU No.1
1) CPU No.1 writes data to the user setting area of its own by the write instruction.
Processing in CPU No.2
2) CPU No.2 reads the data from the user setting area of CPU No.1 and stores the data in the specified
device by the read instruction.
For the read/write instructions, refer to Page 151, Section 6.1.3 (2).
CPU No.1
Program
CPU No.2
Program
Data are written by the write
instruction.
Execution of
write instruction
1)
2) Data are read by the read
instruction.
CPU shared memory
Host CPU operation
information area
System area
Auto refresh area
CPU shared memory
Host CPU operation
information area
System area
Auto refresh area
User setting area
User setting area
Data written by the write
instruction
Execution of
read instruction