4 - 21
4.4 MELSECNET/H Module Access Function
4.4.2 Link device access
4
FUNCTIONS
2) Devices accessible from internal link device buffers
The following devices are available for internal link device buffer access.
Table4.7 List of devices available for internal link device buffer access
Accessible device No. of points Address range
LX buffer 8192 0000
H
to 1FFF
H
LY buffer 8192 0000
H
to 1FFF
H
LB buffer 16384 0000
H
to 3FFF
H
LW buffer 16384 0000
H
to 3FFF
H
Figure 4.15 Internal link device buffer access
MELSECNET/H module
(Fourth module)
MELSECNET/H module
(Third module)
MELSECNET/H module
(Second module)
LW buffer
LB buffer
ret = QBF_WriteLinkDevice();
ret = mdSend();
ret = mdRandW();
ret = mdDevSet();
ret = mdDevRst();
or
/* Data write */
ret = QBF_ReadLinkDevice();
ret = mdReceive();
ret = mdRandR();
or
/* Data read */
Internal
buffer access
Internal link
device buffers
LX buffer
LY buffer
LW
LB
Link devices
LX
LY
Link devices
SB
*1
SW
*1
LW buffer
LB buffer
(For second module)
LX buffer
LY buffer
LW buffer
LB buffer
(For third module)
LX buffer
LY buffer
LW buffer
LB buffer
(For fourth module)
LX buffer
LY buffer
C Controller module
User program
MELSECNET/H module (First module)
MELSECNET/H module
*1 Link device refresh is not available
for the link devices SB/SW.
Use the direct access.
Link device
refresh