Mitsubishi Electric MELSEC iQ-R Series Manual page 38

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

CITL_GetErrInfo
This function acquires the error information of a C intelligent function module.
■ Format
short CITL_GetErrInfo(unsigned short* pusErrorInfo, unsigned long ulBufSize)
■ Argument
Argument
pusErrorInfo
ulBufSize
■ Description
• This function acquires the error information of a C intelligent function 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.
Storage position
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]
■ Return value
Return value
0 (0000H)
Other than 0 (0000H)
■ Relevant function
Page 23 CITL_ClearError
3 DETAILS OF FUNCTION
36
3.1 C Intelligent Function Module Dedicated Functions
Name
Error information storage destination
Error information storage destination
size
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
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
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.)
IN/OUT
OUT
IN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents