Functions That Can Be Used For Communication - Mitsubishi Electric MELSEC iQ-R C R12CCPU-V User Manual

Controller module
Hide thumbs Also See for MELSEC iQ-R C R12CCPU-V:
Table of Contents

Advertisement

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.
C Controller module dedicated function
CCPU_FromBuf
CCPU_FromBuf_ISR
CCPU_FromBufHG
CCPU_FromBufHG_ISR
CCPU_ToBuf
CCPU_ToBuf_ISR
CCPU_ToBufHG
CCPU_ToBufHG_ISR
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.
CPU module
C Controller module
Programmable controller CPU
• C Controller module (1) ⇔ C Controller module (2)
C Controller module (1)
CPU buffer memory
(1)
User program
Execution of the CCPU_ToBuf function
Execution of the CCPU_FromBuf function
Processin
Processing at execution of the function in a C Controller
g order
module (1)
(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)
(3)
(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).
Description
To read data from the CPU buffer memory and intelligent function module buffer memory in the module
on the specified module position.
To read data from the fixed cycle communication area of the module on the specified module position.
To write data to the CPU buffer memory and intelligent function module buffer memory in the module on
the specified module position.
To write data to the fixed cycle communication area of the module on the specified module position.
Processing
At execution of the C Controller module dedicated function (CCPU_FromBuf)
At END processing
(3)
(4)
C Controller module (2)
CPU buffer memory
User program
Execution of the CCPU_ToBuf function
Execution of the CCPU_FromBuf function
Processing at execution of the function in a C Controller
module (2)
Device data of the user program is written to the CPU buffer memory
by executing the C Controller module dedicated function
(CCPU_ToBuf).
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).
8 MULTIPLE CPU SYSTEM FUNCTIONS
8.4 Data Communication Between CPU Modules
(2)
165
8

Advertisement

Table of Contents
loading

Table of Contents