FC_GetActiveReactions - General Information

Overview

Type:

Function

Available as of:

V1.0.4.0

Task

Function for determining all active reactions.

Description

In the exception list it is determined which reactions are active. All active exceptions and all reactions within an exception are checked to determine whether reactions are active. All active reactions are entered into the reaction structure.

Interface

Output

Data type

Description

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal GD.ET_Diag.Ok equates an error message.

q_etDiagExt

ET_DiagExt

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_stReaction

ST_Reaction

Active reactions of the exception list.

iq_stExceptionList

ST_ExceptionList

Exception list in which all active reactions shall be determined.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

NoReactionsActive

49

There are no active reactions

OK

ReactionsActive

84

There are active reactions

UnexpectedProgramBehavior

InitExceptionListFailed

46

Initialization of the exception list failed.

InitExceptionListFailed

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.

NoReactionsActive

Enumeration name:

NoReactionsActive

Enumeration value:

49

Description:

There are no active reactions

No active reactions were found while browsing the exception list.

ReactionsActive

Enumeration name:

ReactionsActive

Enumeration value:

84

Description:

There are active reactions

Active reactions were found while browsing the exception list.