|
Type: |
Function |
|
Available as of: |
V.2.16.2.0 |
|
Versions: |
Current version |
This chapter provides information on:
Converting an enumeration element of the type ET_RobotSCARAComponent from this 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_etComponent |
The ET_RobotSCARAComponent value that has to be converted. |
|
Output |
Data type |
Description |
|---|---|---|
|
q_etDiag |
General library-independent statement on the diagnostic. A value not equal 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 that was transferred at the input i_etComponent. |
|
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
|---|---|---|---|
|
OK |
Ok |
0 |
Successful |
|
InputParameterInvalid |
RobotSCARAComponentUnknown |
129 |
The Lexium SCARA Robot component is invalid. |
|
Enumeration name: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Successful |
Reading the ET_RobotSCARAComponent value as text was successful.
|
Enumeration name: |
RobotSCARAComponentUnknow |
|
Enumeration value: |
129 |
|
Description: |
The Lexium SCARA Robot component is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
Reading the ET_RobotSCARAComponent value as text was not successful. |
The value transferred at the input i_etName is indeterminable. |
At the input i_etName, a value of ET_RobotSCARAComponent must be transferred. |