FC_EtDiagExtToString - General Information
Type: |
Function |
Available as of: |
V1.0.4.0 |
Converting an enumeration element of type ET_DiagExt of the TransportSystemCommunication 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_etDiagExt |
The ET_DiagExt value to be converted. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostics A value not equal to ET_Diag.Ok corresponds to an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostics q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Error message |
Data type |
Description |
---|---|
STRING[80] |
Name of the enumeration element that was transferred at the input i_etDiagExt. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Operation successfully completed. |
|
InputParameterInvalid |
53 |
Incorrect input argument. |
|
UnexpectedProgramBehavior |
54 |
The input argument is out of context. |
Enumeration name: |
InputUnexpected |
Enumeration value: |
54 |
Description: |
The input argument is out of context. |
Issue |
Cause |
Solution |
---|---|---|
- |
An internal execution error occurred. |
Contact your Schneider Electric support representative. |
Enumeration name: |
InputUnknown |
Enumeration value: |
53 |
Description: |
Incorrect input argument. |
Issue |
Cause |
Solution |
---|---|---|
- |
The input value cannot be related to an element of the enumeration. |
Validate the input. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Operation successfully completed. |
The enumeration has been successfully converted into text.