The function searches the ExceptionDelayList. Searches for exceptions that trigger the specified reaction. The exception is stated that will become active next.
Input |
Data type |
Description |
---|---|---|
i_udiReaction |
UDINT |
Reaction the list of exceptions with delayed reaction shall be searched for. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal GD.ET_Diag.Ok equates an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |
Input/Output |
Data type |
Description |
---|---|---|
iq_stException |
Structure into which the exception is written to, which next results in the searched reaction. |
|
iq_stExceptionList |
Exception list in which the list of exceptions with delayed reaction shall be searched. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
ExceptionWithSpecifiedReactionFound |
89 |
Exception with a specified reaction was found |
OK |
NoExceptionWithSpecifiedReactionFound |
88 |
No exception with a defined reaction was found. |
InputParameterInvalid |
ReactionRange |
73 |
The reaction is outside the specified range. |
UnexpectedProgramBehavior |
ExceptionDelayListCorrupt |
87 |
The ExceptionDelayList is damaged. The list must be created again. |
UnexpectedProgramBehavior |
InitExceptionListFailed |
46 |
Initialization of the exception list failed. |
Enumeration name: |
ExceptionDelayListCorrupt |
Enumeration value: |
87 |
Description: |
The ExceptionDelayList is damaged. The list must be created again. |
Issue |
Cause |
Solution |
---|---|---|
- |
The exception list with delayed reactions is damaged. |
Please inform the support team about this error. |
Enumeration name: |
ExceptionWithSpecifiedReactionFound |
Enumeration value: |
89 |
Description: |
Exception with a specified reaction was found |
An exception with the specified reaction was found.
Enumeration name: |
InitExceptionListFailed |
Enumeration value: |
46 |
Description: |
Initialization of the exception list failed. |
Issue |
Cause |
Solution |
---|---|---|
- |
Initialization of the exception list failed. - An internal execution error occured. |
Try to initialize the exception list using the FC_InitExceptionList function. Please inform the support team about this error. |