5 - 42
5.4 CC-Link IE Controller Network Module Access Function
5.4.2 Link device access
5
ACCESS VIA NETWORK MODULES
5.4.2 Link device access
The link devices of a CC-Link IE controller network module controlled by the C Controller 
module can be accessed for data reading or writing from the user program on the C 
Controller module.
To access from the user program to the link devices, two different methods are available: 
the internal buffer access and the direct access.
(1) Internal buffer access
(a) What is the internal buffer access?
The internal buffer access is a method of accessing the internal link device buffers 
in the C Controller module.
To use this method, the refresh parameters must be set in the <<Parameter 
settings>> tab of CC IE Control utility.
(b) Internal link device buffers
1) Internal link device buffers
 • The internal link device buffer is reserved for each of four CC-Link IE 
controller network modules.
 • Each of the internal link device buffers (LX, LY, LB, and LW buffers) has 
the same area size as the corresponding link device (LX, LY, LB, and LW). 
Set refresh ranges on the Refresh parameter settings screen activated 
from the <<Parameter settings>> tab of CC IE Control utility.
 • The internal link device buffers are refreshed with the link device data by 
link device refresh.
Figure 5.40 Link device access
Q06CCPU-V Q06CCPU-V-B
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
Link device 
refresh
Direct 
access
LX buffer
LY buffer
SW
*1
SB
*1
LW
LB
LX
LY
*1 Link device refresh is not 
available for the link 
devices SB/SW. 
Use the direct access.
C Controller module
User program
Link devices
CC-Link IE controller network 
module