Mitsubishi Electric MELSEC iQ-R C R12CCPU-V User Manual page 84

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

Advertisement

■User program functions
The devices can be accessed from a user program using function(s) of dedicated function library.
User program
C Controller module dedicated functions
MELSEC data link functions
The following shows the functions used to access devices by link refresh.
Dedicated function library
CCPU_WriteDevice
CCPU_ReadDevice
mdDevRstEx
mdDevSetEx
mdRandREx
mdRandRLabelEx
mdRandWEx
mdRandWLabelEx
mdReceiveEx
mdSendEx
Precautions
When the station-based block data assurance function is enabled, access the devices using the CCPU_WriteDevice/
CCPU_ReadDevice function. If the mdSendEx/mdReceiveEx/mdRandWEx/mdRandREx/mdRandRLabelEx/
mdRandWLabelEx function is used, data inconsistency may occur.
■Devices specified with a function
Devices corresponding to each link device are shown below.
In the dedicated function library, specify the device type with the device name defined for each function.
Link device
Link input
Link output
Link relay
Link register
Remote input
Remote output
Remote register
Link special relay
Link special register
5 ACCESS FUNCTION USING NETWORK MODULE
82
5.2 Cyclic Transmission
C Controller module
Device
Description
To write data to devices and internal system devices of a C Controller module.
To read data from devices and internal system devices of a C Controller module.
To reset (turn OFF) bit devices.
To set (turn ON) bit devices.
To read devices randomly.
To read labels or devices randomly.
To write devices randomly.
To write labels or devices randomly.
To read devices in a batch.
To write devices in a batch.
Device
LX
M, B, D, W, ZR
LY
LB
LW
RX
RY
RWw
RWr
SB
The access by link refresh is not allowed.
Use the direct access.
SW
Network module
Link device
Link refresh
C Controller module
dedicated function
Dev_CCPU_M
Dev_CCPU_B
Dev_CCPU_D
Dev_CCPU_W
Dev_CCPU_ZR
MELSEC data link function
DevM
DevB
DevD
DevW
DevZR

Advertisement

Table of Contents
loading

Table of Contents