Direct 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

Direct access

This method is used for direct access to link devices in a network module from a user program.
Data flow
The following figure shows the data flow for direct access to link devices of a network module.
C Controller module
User program
Direct access
■User program functions
The following shows the functions used for direct access to network module link devices.
Dedicated function library
CCPU_WriteLinkDevice
CCPU_ReadLinkDevice
■Link devices specified with a function
Devices corresponding to each link device which can be specified with a function are shown below.
In the dedicated function library, specify the device type with the device name defined for each function.
Link device
Link input
LX
Link output
LY
Link relay
LB
Link register
LW
Remote input
RX
Remote output
RY
Remote register
RWw
RWr
Link special relay
SB
Link special register
SW
Network module
Link
device
Description
To write data to link devices of a network module directly.
To read data from link devices of a network module directly.
C Controller module dedicated function
Dev_LX
Dev_LY
Dev_LB
Dev_LW
Dev_LX
Dev_LY
Dev_LW
Dev_LW
Dev_LSB
Dev_LSW
Network module
Link
Link
device
scan
5 ACCESS FUNCTION USING NETWORK MODULE
83
5.2 Cyclic Transmission
5

Advertisement

Table of Contents
loading

Table of Contents