13
- 26
13.3 Data Communications Using CPU Shared Memory
13.3.3 Communication using the multiple CPU high speed transmission area and auto refresh
13
COMMUNICATIONS BETWEEN CPU MODULES
Procedure for the C Controller module (CPU No.2) to read out device data of the
Universal module QCPU (CPU No.1)
1) Data for the Universal model QCPU (CPU No.1) are transferred to its own auto
refresh area in the END processing of the Universal model QCPU (CPU No.1).
2) The multiple CPU high speed transmission area data in the Universal model
QCPU (CPU No.1) are sent to the C Controller module (CPU No.2).
3) The received data are read out into the user program of the C Controller
module (CPU No.2)by using the QBF_FromBuf function.
Procedure for the Universal model QCPU (CPU No.1) to read out the user program
data of the C Controller module (CPU No.2)
4) Data are written to its own auto refresh area by using the QBF_ToBuf function
in the user program of the C Controller module (CPU No.2).
5) The multiple CPU high speed transmission area data in the C Controller
module (CPU No.2) are transferred to the Universal model QCPU (CPU No.1).
6) The received data are transferred to the device for the C Controller module
(CPU No.2) in the END processing of the Universal model QCPU (CPU No.1).
(b) Auto refresh execution
Auto refresh is executed when the CPU module is in the RUN, STOP, or PAUSE
status.
Figure 13.17 Auto refresh in multiple CPU high speed transmission
CPU No.1 multiple CPU high speed
transmission area
CPU No.2 multiple CPU high speed
transmission area
Universal model QCPU (CPU No.1)
CPU shared memory
CPU shared memory
CPU No.1 multiple CPU high speed
transmission area
CPU No.2 multiple CPU high speed
transmission area
Auto refresh area
Auto refresh area
Auto refresh area
Auto refresh area
1) Write by END processing
6) Read by END processing
4) Write by QBF_ToBuf function
3) Read by QBF_ FromBuf function
2) Send to CPU No.2
5) Send to CPU No.1
Device
For Universal model QCPU (CPU No.1)
For C Controller module (CPU No.2)
User program
QBF_ FromBuf function (read) data
C Controller module (CPU No.2)
QBF_ToBuf function (write) data
Содержание Q06CCPU-V
Страница 2: ......
Страница 612: ...APPX 48 Appendix 11 Functions Added by Version Upgrade APPENDICES Memo ...
Страница 617: ......