Access To The Same Network - Mitsubishi Electric MELSEC iQ-R Series User Manual

Programmable controller
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Access to the same network

The transient transmission function accesses devices of a CPU module on other stations as well as link devices of a network
module and buffer memory of an intelligent function module, both of which modules are controlled by a CPU module on other
stations.
Access method
■Function list
The following table shows functions to be used in a user program.
Function name
mdDevRstEx
mdDevSetEx
mdRandREx
*1
mdRandRLabelEx
mdRandWEx
*1
mdRandWLabelEx
mdReceiveEx
mdSendEx
*1 Use in combination with the mdGetLabelInfo function. (Page 178 LABEL COMMUNICATION FUNCTION)
■Specification method for devices
Link devices of network modules
Specify a link direct device (Jn\) to directly access link devices of a network module.
For the link register 16 (W10) on network No.2, the device 'J2\W10' is accessed.
To access the link device with a user program, specify the following device types:
Device (device name)
Link input (Jn\X)
Link output (Jn\Y)
Link relay (Jn\B)
Link special relay (Jn\SB)
Link register (Jn\W)
Link special register (Jn\SW)
*1 A number in parentheses corresponds to 'n' (network number) indicated in a link direct device. Specify the network number of a network
module to be accessed.
Ex.
When accessing the link device (J1\W0)
• Device type: DevLW (1)
• Start device number: 0
• Accessible link devices vary depending on network modules. For the accessible devices, refer to the
manual of a network module. (Manual of a module used)
• Some network modules allow their multiple link devices to be accessed with one device name. For the
method for specifying devices when accessing link devices directly, refer to the manual of a network
module. (Manual of a module used)
Purpose
To reset (turn OFF) bit devices
To set (turn ON) bit devices
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
Device type
DevLX (1) to (255)
DevLY (1) to (255)
DevLB (1) to (255)
DevLSB (1) to (255)
DevLW (1) to (255)
DevLSW (1) to (255)
16 NETWORK MODULE ACCESS FUNCTION
16.2 Transient Transmission
16
165

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r melsecwincpu

Table of Contents