Communication Using Fixed Cycle Communication Area - 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

Communication using fixed cycle communication area

Data communication using the fixed cycle communication area is performed by using a multiple CPU synchronous interrupt
program (I45).
Multiple CPU synchronous interrupt
Execute a multiple CPU synchronous interrupt program (I45) at the timing of the cycle of the fixed cycle communication set to
the parameter. By using the multiple CPU synchronous interrupt function, data can be communicated between CPU modules
synchronously with the cycle of the fixed cycle communication. (The data communication timing between CPU modules is
synchronized.)
interrupt program execution time
CPU module (CPU No.1)
Normal program
Multiple CPU synchronous interrupt program
Multiple CPU
synchronous
Refresh
interrupt program
Ò
Fixed cycle communication
area
Send data of CPU No.2
Fixed cycle communication
area
Refresh
Ò
Multiple CPU
synchronous
interrupt program
Multiple CPU synchronous interrupt program
Normal program
CPU module (CPU No.2)
interrupt program execution time
No.
Processing
Receiving data from another CPU
*1
(refresh)
Operation processing
Sending data to another CPU (refresh)
*1 Performed with the C Controller module dedicated functions (CCPU_ToBufHG_ISR, CCPU_FromBufHG_ISR).
Data communication will not be performed if the multiple CPU synchronous interrupt program (I45) is not
registered.
Cycle of fixed cycle communication
Multiple CPU synchronous
Pause
Operation
Refresh
processing
Ó
Ô
Send area of
CPU No.1
Read
Write
Receive area of
CPU No.1
Send data of
CPU No.1
Operation
Refresh
processing
Ó
Ô
Pause
Multiple CPU synchronous
Description
The data received from another CPU module is read to a device. (The data in the host CPU receive area
is read.)
Multiple CPU synchronous interrupt program is executed.
*1
The data to be sent to another CPU module is written from a device. (The data is written to the host CPU
send area.)
Cycle of fixed cycle communication
Pause
Multiple CPU synchronous interrupt program
Operation
Refresh
Refresh
processing
Ò
Ó
Ô
Receive area of
CPU No.2
Read
Write
Send area of
CPU No.2
Operation
Refresh
Refresh
processing
Ò
Ó
Ô
Multiple CPU synchronous interrupt program
Pause
8 MULTIPLE CPU SYSTEM FUNCTIONS
8.4 Data Communication Between CPU Modules
Send data of
CPU No.2
167
8

Advertisement

Table of Contents
loading

Table of Contents