Ccpu_Geterrinfo - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

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

Advertisement

CCPU_GetErrInfo

Acquires error information of a MELIPC.
Format
short CCPU_GetErrInfo(unsigned short* pusErrorInfo, unsigned long ulBufSize)
Argument
Argument
Name
pusErrorInfo
Error information storage
destination
ulBufSize
Error information storage
destination size
Description
• This function acquires the error information of a MELIPC, and stores it in the error information storage destination
(pusErrorInfo).
• It also acquires the information for the size specified to the error information storage destination size (ulBufSize).
• The information to be stored in the error information storage destination (pusErrorInfo) is as follows.
pusErrorInfo
pusErrorInfo[0]
pusErrorInfo[1]
pusErrorInfo[2]
pusErrorInfo[3]
pusErrorInfo[4]
pusErrorInfo[5]
pusErrorInfo[6]
pusErrorInfo[7]
pusErrorInfo[8]
pusErrorInfo[9]
pusErrorInfo[10]
pusErrorInfo[11]
pusErrorInfo[12]
pusErrorInfo[13]
pusErrorInfo[14]
pusErrorInfo[15]
Up to 16 error codes for errors occurred in the self-diagnostics are stored in order from pusErrorInfo[0]. The
error code which has already been stored is not stored.
Return value
Return value
0(0000H)
-264(FEF8H)
For details on error codes, refer to the following section.
Page 116 Function error codes
Relevant function
Page 26 CCPU_ClearError
Description
Specify the error information storage destination.
Specify the error information storage destination size in word units.
(When '0' is specified, this function ends normally without processing.)
Description
Normal
Pointer error
Description
Self-diagnostics error code 1
Self-diagnostics error code 2
Self-diagnostics error code 3
Self-diagnostics error code 4
Self-diagnostics error code 5
Self-diagnostics error code 6
Self-diagnostics error code 7
Self-diagnostics error code 8
Self-diagnostics error code 9
Self-diagnostics error code 10
Self-diagnostics error code 11
Self-diagnostics error code 12
Self-diagnostics error code 13
Self-diagnostics error code 14
Self-diagnostics error code 15
Self-diagnostics error code 16
3.1 C Controller Module Dedicated Functions
IN/OUT
OUT
IN
3 DETAILS OF FUNCTIONS
3
45

Advertisement

Table of Contents
loading

Table of Contents