FC_EtMotionActiveVelTypeToString

 

FC_EtMotionActiveVelTypeToString - General Information

Overview

Type:

Function

Available as of:

V1.0.0.0

Task

Convert the velocity source of the FB_UnwinderModule to a string.

Description

Convert the velocity source by the input i_etMotionActiveVelType from the ET_MotionAc­tiveVelType enumeration list to a string.

Interface

Input

Data type

Description

i_etMotionActiveVelType

ET_MotionActiveVelType

The velocity source that has 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 a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output for the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

Return Value

Data type

Description

STRING[20]

The velocity source that was converted to a string.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Proceeding normally, satisfactory or under control, or other affirmative acknowledgement.

InputParameterInvalid

MotionActiveVelTypeRange

54

MotionActiveVelType is outside of the valid range.

MotionActiveVelTypeRange

Enumeration name:

MotionActiveVelTypeRange

Enumeration value:

54

Description:

MotionActiveVelType is outside of the valid range.

Issue

Cause

Solution

-

An invalid value was transferred at the input i_etMotionActiveVelType

Ensure that only elements from ET_MotionActiveVelType are transferred at the input i_etMotionActiveVelType

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Proceeding normally, satisfactory or under control, or other affirmative acknowledgement.

The enumeration has successfully been converted to a string.