FC_EtMotionActiveVelTypeToString
FC_EtMotionActiveVelTypeToString - General Information
Type: |
Function |
Available as of: |
V1.0.0.0 |
Convert the velocity source of the FB_UnwinderModule to a string.
Convert the velocity source by the input i_etMotionActiveVelType from the ET_MotionActiveVelType enumeration list to a string.
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 |
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 |
Data type |
Description |
---|---|
STRING[20] |
The velocity source that was converted to a string. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Proceeding normally, satisfactory or under control, or other affirmative acknowledgement. |
|
InputParameterInvalid |
54 |
MotionActiveVelType is outside of the valid range. |
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 |
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.