Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 71

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_StartCCIEFBDataAssurance
Starts data assurance for access to a link device 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
• Starts data assurance for access to a link device of CC-Link IE Field Network Basic for the specified group.
• Before executing this function, set the CC-Link IE Field Network Basic parameters with MI Configurator. If parameters are
not configured, an error occurs.
• During data assurance, the cyclic transmission of the CC-Link IE Field Network Basic function stops.
• Execute the CCPU_EndCCIEFBDataAssurance function to end data assurance.
• When this function was executed while the specified group of the CC-Link IE Field Network Basic was link refreshing, it
waits until link refreshing is completed. (Waits until the timeout specified value. )
• It is not possible to start two instances of data assurance for one group. If this function is executed during data assurance,
operation is as follows.
When executed by the task that started data assurance: a data assurance running error occurs.
When executed by a task that did not start data assurance: Waits until data assurance ends. (Waits until the timeout
specified value.)
• Only the task that started assurance using this function can end data assurance by the CCPU_EndCCIEFBDataAssurance
function.
• The specified timeout value (ulTimeout) is rounded (rounding up after the decimal point) to tick units.
• For the processing procedure to access a link device that underwent data assurance, refer to the following manual.
(MELIPC MI5000 Series User's Manual (Application))
Return value
Return value
0(0000H)
-328(FEB8H)
-331(FEB5H)
-335(FEB1H)
-371(FE8DH)
For details on error codes, refer to the following section.
Page 116 Function error codes
Relevant function
Page 28 CCPU_EndCCIEFBDataAssurance
Description
Specifies a group number for data assurance. (1 to 4)
Specifies the timeout time in milliseconds. (0 to 0xFFFFFFFF)
(When '0xFFFFFFFF' is specified, the function waits for an event infinitely.)
Description
Normal
Outside of group number range
CC-Link IE Field Network Basic parameter unset
Timeout error
During data assurance
3 DETAILS OF FUNCTIONS
3.1 C Controller Module Dedicated Functions
3
IN/OUT
IN
IN
69

Advertisement

Table of Contents
loading

Table of Contents