FC_EtParIdToString

 

FC_EtParIdToString - General Information

Overview

Type:

Function

Available as of:

V1.0.2.0

Inherits from:

-

Implements:

-

Versions:

Current version

Task

Convert the identification of the cam table to a string.

Description

The cam table identification at the i_etParId input from the ET_ParId enum list is returned as a string.

Interface

Input

Data type

Description

i_etParId

ET_ParId

The cam table identification 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[20]

The cam table identification converted to a string.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

InputParameterInvalid

ParIdUnknown

81

Unknown ParId.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The identification of the cam table has successfully been converted to a string.

ParIdUnknown

Enumeration name:

ParIdUnknown

Enumeration value:

81

Description:

Unknown ParId.

Issue

Cause

Solution

-

An unknown identification of a cam table was transferred at the i_etParId input.

Ensure that only elements of the ET_ParId list are transferred at the i_etParId input.