FC_EtHomingModeToString - General Information
Type: |
Function |
Available as of: |
V2.6.0.0 |
This chapter provides information on:
oTask
Converting an enumeration element of type ET_HomingMode from the RoboticModule library to a string.
Every enumeration element has a name or value. The return value of the function is the name of the enumeration element.
Input |
Data type |
Description |
---|---|---|
i_etHomingMode |
The ET_HomingMode value that has to be converted. |
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[80] |
Name of the enumeration element transferred at the input i_etDiagExt. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
72 |
The Home mode is indeterminable. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Reading the ET_HomingMode value as text was successful.
Enumeration name: |
HomeModeUnknown |
Enumeration value: |
72 |
Description: |
The Home mode is indeterminable. |
Issue |
Cause |
Solution |
---|---|---|
Reading the ET_HomingMode value as text was not successful. |
The value transferred at the input i_etHomingMode is indeterminable. |
At the input i_etHomingMode, a value of ET_HomingMode must be transferred. |