4 - 9
4.3 CC-Link Module Access Function
4.3.1 Block guarantee of cyclic data per station
4
FUNCTIONS
(b) Manually refreshing cyclic data
1) Issue a refresh request with the QBF_RefreshLinkDevice function.
2) The user program is continued.
3) Data are refreshed by the request of 1).
4) Execute the QBF_FromBuf function with "manual" specified for "The link
refreshing method of the CC-Link link" of the third argument (ulOffset).
Cyclic data (buffer memory) are read out.
• If execution of the QBF_FromBuf function is attempted before refreshing
after execution of the QBF_RefreshLinkDevice function, the processing of
the user program is suspended until completion of the refresh.
Upon completion of the refresh, cyclic data (buffer memory) are read out,
and processing of the user program is resumed.
Figure 4.4 Readout operation
Figure 4.5 Readout operation
Buffer memory
Link scan
C Controller module CC-Link module
Refresh
Link scan
Reading data *1
QBF_RefreshLinkDevice function
QBF_FromBuf function (Manual)
QBF_FromBuf function (Manual)
Reading data *1
1)
2)
4)
4)
*1 The same refresh data are read out.
Refresh request
3)
Link scan
Link scan
User program
Buffer memory
Link scan
C Controller module CC-Link module
Refresh
Link scan
Refresh request
QBF_RefreshLinkDevice function
QBF_FromBuf function (Manual)
Reading data
:User program is in standby state.
1)
2)
4)
3)
User program