FC_GetStandardReactionName - General Information

Overview

Type:

Function

Available as of:

V1.0.4.0

Task

Output of a standard string for reactions.

Description

A field of reactions is transferred to the function. The function seeks out the first reaction and outputs a corresponding string. If no reaction is found, the function outputs the string 'None'.

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

Field of the reactions

Return Value

Data type

Description

STRING[80]

Standard strings for reactions.

Possible outputs are:

  • Async stop

  • Sync stop el

  • Synch stop eh

  • Stop end of cycle

  • Mainscontactor off

  • Reaction 6 ... Reaction(Gc_udiMaxNumberOfReactions)

  • None

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The output of a standard string for reactions was successful.