FC_EtDiagExtToString - General Information
Type: |
Function |
Available as of: |
V1.0.0.0 |
Converting an enumeration element of type ET_DiagExt Unwinder 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 diagnostic A value not equal to ET_Diag.Ok corresponds to an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic 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 i_etDiagExt input. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Proceeding normally, satisfactory or under control, or other affirmative acknowledgement. |
|
InputParameterInvalid |
54 |
DiagExt was not expected. |
|
UnexpectedProgramBehavior |
25 |
State is unintended. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Proceeding normally, satisfactory or under control, or other affirmative acknowledgement. |
The enumeration has successfully been converted to a string.
Enumeration name: |
UnexpectedDiagExt |
Enumeration value: |
54 |
Description: |
DiagExt was not expected. |
Issue |
Cause |
Solution |
---|---|---|
- |
An error has been detected in the internal execution. |
Contact your Schneider Electric support representative. |
Enumeration name: |
UnexpectedState |
Enumeration value: |
25 |
Description: |
State is unintended. |
Issue |
Cause |
Solution |
---|---|---|
- |
An error has been detected in the internal execution. |
Contact your Schneider Electric support representative. |