FC_EtMotionActiveVelTypeToString
FC_EtMotionActiveVelTypeToString - General Information
Type: |
Function |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
Convert the velocity sources of the FB_SmartInfeedModule to a string.
Convert the velocity source at the i_etMotionActiveVelType input from the enumeration list ET_MotionActiveVelType to a string.
Input |
Data type |
Description |
---|---|---|
i_etMotionActiveVelType |
The velocity source to be converted to a string |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic A value unequal to GD.ET_Diag.Ok corresponds to an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> error message |
Data type |
Description |
---|---|
STRING[20] |
The velocity source converted to a string |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
29 |
MotionActiveVelType is indeterminable. |
Enumeration name: |
MotionActiveVelTypeUnknown |
Enumeration value: |
29 |
Description: |
MotionActiveVelType is indeterminable. |
Issue |
Cause |
Solution |
---|---|---|
- |
Indeterminable MotionActiveVelType at the i_etMotionActiveVelType input. |
Make sure that only elements from the ET_MotionActiveVelType list are transferred at the i_etMotionActiveVelType input. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The MotionActiveVelType was successfully converted to a string.