FC_EtHomeModeToString - General Information
Type: |
Function |
Available as of: |
V1.0.4.0 |
Versions: |
Current version |
Convert the ET_HomeMode enumeration type of the FB_MultiBeltModule to a string.
The i_etHomeMode input from ET_HomeMode is converted to a string.
Input |
Data type |
Description |
---|---|---|
i_etHomeMode |
Homing mode of the FB_MultiBeltModule |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |
Data type |
Description |
---|---|
STRING [25] |
HomeMode of the function block as a string |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
12 |
The homing mode is invalid. |
Enumeration name: |
HomeModeUnknown |
Enumeration value: |
12 |
Description: |
The homing mode is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
An indeterminable homing mode was applied at the i_etHomeMode input. |
Ensure that only elements from the ET_HomeMode list are transferred at the i_etHomeMode input. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The HomeMode has successfully been converted to a string.