Buffer Memory Access - 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

Buffer memory access

This method is used to access the buffer memory of a network module from a user program.
Data flow
The following figure shows the data flow to access buffer memory of a network module.
C Controller module
User program
■User program functions
The following shows the functions used to access buffer memory of a network module.
Dedicated function library
CCPU_ToBuf
CCPU_ToBuf_ISR
CCPU_FromBuf
CCPU_FromBuf_ISR
■Link devices specified with a function (buffer memory)
The following link devices are assigned to each specific address in the buffer memory.
In the dedicated function library, specify the device type with the device name defined for each function.
Link device
Remote input
Remote output
Remote register
Link special relay
Link special register
When using a C Controller module dedicated function, specify the offset of the buffer memory.
For details of buffer memory addresses for each link device, refer to the user's manual of the network module used.
5 ACCESS FUNCTION USING NETWORK MODULE
84
5.2 Cyclic Transmission
Network module
Link
device
Buffer memory access
Buffer
memory
Description
To write data to the CPU buffer memory and intelligent function module buffer memory in the module on the specified
module position.
To read data from the CPU buffer memory and intelligent function module buffer memory in the module on the specified
module position.
C Controller module dedicated function
RX
Dev_SPB
RY
RWw
RWr
SB
SW
Network module
Link
Link
scan
device

Advertisement

Table of Contents
loading

Table of Contents