Mitsubishi Electric MELSEC iQ-R C Series Programming Manual page 139

Controller module
Table of Contents

Advertisement

CCPU_StartCCIEFBDataAssurance
This function starts data assurance for one link scan of CC-Link IE Field Network Basic.
Format
short CCPU_StartCCIEFBDataAssurance (unsigned short usGroupNo, unsigned long ulTimeout)
Argument
Argument
Name
usGroupNo
Group No.
ulTimeout
Timeout value
Description
• This function starts data assurance for one link scan of CC-Link IE Field Network Basic for the specified group.
• When the CCPU_StartCCIEFBDataAssurance function is executed, the cyclic transmission of CC-Link IE Field Network
Basic is stopped.
• During the link refresh of CC-Link IE Field Network Basic, the module waits for the completion of link refresh (until the
timeout value (ulTimeout) elapses).
• Data assurance can be ended using the CCPU_EndCCIEFBDataAssurance function only for the thread where the data
assurance has been started using the CCPU_StartCCIEFBDataAssurance function. When the
CCPU_StartCCIEFBDataAssurance function is executed in multiple threads, the function executed later waits for the
completion of the previously executed data assurance function (waits until the timeout value (ulTimeout) reaches the time
set with the CCPU_StartCCIEFBDataAssurance function).
Return value
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
Relevant function
• Page 87 CCPU_EndCCIEFBDataAssurance
Description
Specify a group number to start data assurance. (1 to 4)
Specify a timeout time until data assurance is started in milliseconds.
(When FFFFFFFFH is specified, the function waits for an event infinitely.)
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
3
IN/OUT
IN
IN
137

Advertisement

Table of Contents
loading

Table of Contents