3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
75
3
CCPU_GetErrInfo
This function acquires the error information of a C Controller module.
■
Format
short CCPU_GetErrInfo(unsigned short* pusErrorInfo, unsigned long ulBufSize)
■
Argument
■
Description
• This function acquires the error information of a C Controller module, 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.
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
■
Relevant function
Argument
Name
Description
IN/OUT
pusErrorInfo
Error information storage
destination
Specify the error information storage destination .
OUT
ulBufSize
Error information storage
destination size
Specify the error information storage destination size in word units.
(When '0' is specified, this function ends normally without processing.)
IN
pusErrorInfo
Description
pusErrorInfo[0]
Self-diagnostics error code 1
pusErrorInfo[1]
Self-diagnostics error code 2
pusErrorInfo[2]
Self-diagnostics error code 3
pusErrorInfo[3]
Self-diagnostics error code 4
pusErrorInfo[4]
Self-diagnostics error code 5
pusErrorInfo[5]
Self-diagnostics error code 6
pusErrorInfo[6]
Self-diagnostics error code 7
pusErrorInfo[7]
Self-diagnostics error code 8
pusErrorInfo[8]
Self-diagnostics error code 9
pusErrorInfo[9]
Self-diagnostics error code 10
pusErrorInfo[10]
Self-diagnostics error code 11
pusErrorInfo[11]
Self-diagnostics error code 12
pusErrorInfo[12]
Self-diagnostics error code 13
pusErrorInfo[13]
Self-diagnostics error code 14
pusErrorInfo[14]
Self-diagnostics error code 15
pusErrorInfo[15]
Self-diagnostics error code 16
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Summary of Contents for MELSEC iQ-R C
Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Page 2: ......
Page 201: ...I 199 MEMO ...
Page 203: ...I 201 MEMO ...
Page 207: ......