FC_EtDiagExtToString

 

FC_EtDiagExtToString - General Information

Overview

Type:

Function

Available as of:

V1.0.2.0

Inherits from:

-

Implements:

-

Versions:

Current version

Task

An enumeration of type ET_DiagExt is to be converted to a string.

Description

The DiagExt at the i_etDiagExt input is converted to a string that represents the name of the enumeration.

Interface

Input

Data type

Description

i_etDiagExt

ET_DiagExt

The enumeration to be converted to a string.

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic.

A value not equal to ET_Diag.Ok corresponds to an diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

Return Value

Data type

Description

STRING[80]

The enumeration that was converted to a string.