Device Access Function - 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

4.4

Device Access Function

Data can be read from/written to devices and buffer memory of an intelligent function module controlled by a CPU module or
a C Controller module by using the dedicated function library.
For accessible modules and routes, refer to the following manual.
MELSEC iQ-R C Controller Module Programming Manual
Data can be read from/written to devices and buffer memory of a C Controller module by using a peripheral
device (such as CW Configurator).
Function list
The following table shows the functions used for accessing devices.
Function name
CCPU_FromBuf
CCPU_FromBuf_ISR
CCPU_ToBuf
CCPU_ToBuf_ISR
CCPU_X_In_BitEx
CCPU_X_In_WordEx
CCPU_X_In_Word_ISR
CCPU_Y_In_BitEx
CCPU_Y_In_WordEx
CCPU_Y_In_Word_ISR
CCPU_Y_Out_BitEx
CCPU_Y_Out_WordEx
CCPU_Y_Out_Word_ISR
mdDevRstEx
mdDevSetEx
mdRandREx
mdRandWEx
mdReceiveEx
mdSendEx
*1 CPU buffer memory cannot be accessed.
Description
To read data from the CPU buffer memory of the CPU module or buffer memory of the intelligent function module which
is mounted on the specified module position. (FROM instruction)
To write data to the CPU buffer memory of the CPU module (host station) or the buffer memory of the intelligent
function module which is mounted on the specified module position. (TO instruction)
To read an input signal (X) in bit (1-point) units.
To read an input signal (X) in word (16-point) units.
To read an output signal (Y) in bit (1-point) units.
To read an output signal (Y) in word (16-point) units.
To output an output signal (Y) in bit (1-point) units.
To output an output signal (Y) in word (16-point) units.
*1
To reset bit devices.
*1
To set bit devices.
*1
To read devices randomly.
*1
To write devices randomly.
To read devices in a batch.
To write devices in a batch.
4 BASIC FUNCTIONS
4.4 Device Access Function
4
45

Advertisement

Table of Contents
loading

Table of Contents