FC_EtDiagExtToString - General Information
Type: |
Function |
Available as of: |
V1.0.2.0 |
Inherits from: |
- |
Implements: |
- |
Versions: |
current version |
An enumeration of type ET_DiagExt is to be converted to a string.
The DiagExt at the i_etDiagExt input is converted to a string that represents the name of the enumeration.
Input |
Data type |
Description |
---|---|---|
i_etDiagExt |
The enumeration to be converted to a string. |
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] |
The enumeration that was converted to a string. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
65 |
DiagExt is outside the valid range |
Enumeration name: |
DiagExtRange |
Enumeration value: |
65 |
Description: |
DiagExt is outside the valid range |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred at the i_etDiagExt input. |
Ensure that only elements of ET_DiagExt are transferred to the i_etDiagExt input. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The enumeration has successfully been converted to a string.