|
Type: |
Function |
|
Available as of: |
V2.0.0.0 |
|
Versions: |
Current version |
This chapter provides information on:
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_etRobotType |
The ET_RobotTSeries 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 for the diagnostic. q_etDiag = ET_Diag.Ok -> status message q_etDiag <> ET_Diag.Ok -> diagnostic message |
|
Data type |
Description |
|---|---|
|
STRING[80] |
Name of the enumeration element that was transferred at the input i_etRobotType. |
|
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
|---|---|---|---|
|
OK |
0 |
Ok |
|
|
InputParameterInvalid |
1 |
The robot type is indeterminable. |
|
Enumeration name: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Ok |
Reading the ET_RobotTSeries value as text was successful.
|
Enumeration name: |
UnknownRobotType |
|
Enumeration value: |
1 |
|
Description: |
The robot type is indeterminable. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
Reading the ET_RobotTSeries value as text was not successful. |
The value transferred at the input i_etRobotType is indeterminable. |
Ensure that an element of the enumeration type ET_RobotTSeries is transferred. |