Mitsubishi Electronics Q100UDEHCPU Sleep Apnea Machine User Manual


 
90
(b) Continuously sending data from CPU No.1 to CPU No.2
Devices used in CPU modules
For handshake between CPU No.1 and No.2, refer to Page 132, Section 6.1.1 (3).
Program example of CPU No.1
Program example of CPU No.2
Device used in CPU No.1 Device used in CPU No.2
M40 Send data from CPU No.2 to CPU No.1 M40 Send data from CPU No.2 to CPU No.1
D10 to
D18
Send data from CPU No.1 to CPU No.2
D10 to
D18
Send data from CPU No.1 to CPU No.2
D81 to
D88
Storage device of send data to CPU No.2
D121 to
D128
Storage device for data received from CPU
No.1
SM400 Always ON -
SM400
Always
ON
CPU No.1
send flag
Send start data
Send end data
Send start
data
CPU No.1
send data
CPU No.1
send flag
CPU No.1
send flag
CPU No.2
receive
complete flag
CPU No.1
send data
CPU No.2
receive data
CPU No.2
receive
complete flag
CPU No.1
send flag