8 MULTIPLE CPU SYSTEM FUNCTIONS
8.4 Data Communication Between CPU Modules
165
8
Functions that can be used for communication
The following shows the functions which are used for communication using each memory area in a multiple CPU system.
Communication using CPU buffer memory
Device data of the host CPU is written to the CPU buffer memory in the host CPU by execution of the C Controller module
dedicated function (CCPU_ToBuf). The data written to the CPU buffer memory is transferred after the following processing is
performed in another CPU.
• C Controller module (1)
⇔
C Controller module (2)
C Controller module dedicated function
Description
CCPU_FromBuf
To read data from the CPU buffer memory and intelligent function module buffer memory in the module
on the specified module position.
CCPU_FromBuf_ISR
CCPU_FromBufHG
To read data from the fixed cycle communication area of the module on the specified module position.
CCPU_FromBufHG_ISR
CCPU_ToBuf
To write data to the CPU buffer memory and intelligent function module buffer memory in the module on
the specified module position.
CCPU_ToBuf_ISR
CCPU_ToBufHG
To write data to the fixed cycle communication area of the module on the specified module position.
CCPU_ToBufHG_ISR
CPU module
Processing
C Controller module
At execution of the C Controller module dedicated function (CCPU_FromBuf)
Programmable controller CPU
At END processing
Processin
g order
Processing at execution of the function in a C Controller
module (1)
Processing at execution of the function in a C Controller
module (2)
(1)
Device data of the user program is written to the CPU buffer memory
by executing the C Controller module dedicated function
(CCPU_ToBuf).
(2)
Device data of the user program is written to the CPU buffer memory
by executing the C Controller module dedicated function
(CCPU_ToBuf).
(3)
Device data of the CPU buffer memory in the C Controller module (1)
is read to the user program by executing the C Controller module
dedicated function (CCPU_FromBuf).
(4)
Device data of the CPU buffer memory in the C Controller module (2)
is read to the user program by executing the C Controller module
dedicated function (CCPU_FromBuf).
(1)
(2)
(3)
(4)
C Controller module (1)
C Controller module (2)
CPU buffer memory
CPU buffer memory
User program
User program
Execution of the CCPU_ToBuf function
Execution of the CCPU_ToBuf function
Execution of the CCPU_FromBuf function
Execution of the CCPU_FromBuf function
Содержание MELSEC iQ-R C R12CCPU-V
Страница 1: ...MELSEC iQ R C Controller Module User s Manual Application R12CCPU V ...
Страница 2: ......
Страница 23: ...1 EXECUTING PROGRAMS 1 3 I O Access Timing 21 1 MEMO ...
Страница 32: ...30 3 MEMORY CONFIGURATION OF C Controller Module 3 4 Files MEMO ...
Страница 257: ...I 255 MEMO ...
Страница 261: ......