FC_EtPreControllerModeToString
FC_EtPreControllerModeToString - General Information
Type: |
Function |
Available as of: |
V1.0.0.0 |
An enumeration of the ET_PreControllerMode type has to be converted to a string.
The PreControllerMode by the i_etPreControllerMode input is converted to a string that represents the name of the enumeration.
Input |
Data type |
Description |
---|---|---|
i_etPreControllerMode |
ET_PreControllerMode |
The enumeration that has to be converted to a string. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
ET_DiagExt |
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] |
The enumeration that was converted to a string. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Proceeding normally, satisfactory or under control, or other affirmative acknowledgement. |
|
InputParameterInvalid |
51 |
PreControllerMode is invalid. |
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: |
PreControllerModeInvalid |
Enumeration value: |
51 |
Description: |
PreControllerMode is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred at the input i_etPreControllerMode. |
Only elements of the enumeration table ET_PreControllerMode are allowed to be transferred to the input i_etPreControllerMode. |