FC_EtOpModeToString - General Information
Type: |
Function |
Available as of: |
V1.0.4.0 |
Versions: |
Current version |
Convert ET_OpMode enumeration type of the FB_MultiBeltModule to a string.
The i_etOpMode input from ET_OpMode is converted to a string.
Input |
Data type |
Description |
---|---|---|
i_etOpMode |
OpMode of the FB_MultiBeltModule |
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 [25] |
OpMode of the FB's as a string. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
30 |
Indeterminable operation mode. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The operation mode has successfully been converted to a string.
Enumeration name: |
OpModeUnknown |
Enumeration value: |
30 |
Description: |
Indeterminable operation mode. |
Issue |
Cause |
Solution |
---|---|---|
- |
An indeterminable operation mode was applied at the i_etOpMode input. |
Ensure that only elements from the ET_OpMode list are transferred at the i_etOpMode input. |