Access with MELSEC data link functions
Devices are accessed from a user program, which runs on this product, with MELSEC data link functions provided by this
product.
For details on functions and creating user programs, refer to the following:
MELSEC iQ-R MELSECWinCPU Module Programming Manual
Function list
The following table shows functions to be used in a user program.
Function name
mdDevRstEx
mdDevSetEx
mdGetLabelInfo
mdRandREx
mdRandRLabelEx
mdRandWEx
mdRandWLabelEx
mdReceiveEx
mdSendEx
*1 Data is read from/written to labels stored in a CPU module on another station. (Page 178 LABEL COMMUNICATION FUNCTION)
Access to file registers
File registers can be accessed by specifying 'R' or 'ZR' in a MELSEC data link function.
When a file register of an access target CPU module consists of multiple blocks (when accessing file registers having more
than 32K points), specify 'ZR' that is a device code of the serial number method.
For details on accessing file registers by the serial number method, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Precautions
A file register that "Use File Register of Each Program" is set for "File Register Setting" in CPU parameters of a CPU module
cannot be accessed.
Access from MELSOFT products or GOTs
Devices or buffer memory of another module can be accessed via this product from a MELSOFT product or GOT which is
connected to this product or from a MELSOFT product which runs on Windows in this product.
For details, refer to the manual of a product used. (Manual of a product used)
Purpose
To reset (turn OFF) bit devices
To set (turn ON) bit devices
To acquire device information corresponding to a label name
To read data from devices randomly
To read data from devices corresponding to labels randomly
To write data to devices randomly
To write data to devices corresponding to labels randomly
To read data from devices in a batch
To write data to devices in a batch
*1
*1
*1
12 BUS ACCESS FUNCTION
12.1 Device Access
12
111