FC_EtSignalOriginToString - General Information
Type: |
Function |
Available as of: |
V1.0.0.0 |
An enumeration of the ET_FeedbackSignalOrigin type has to be converted to a string.
The feedback signal origin by the i_etSignalOrigin input is converted to a string that represents the name of the enumeration.
Input |
Data type |
Description |
---|---|---|
i_etSignalOrigin |
ET_FeedbackSignalOrigin |
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 |
70 |
SignalOrigin 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: |
SignalOriginInvalid |
Enumeration value: |
70 |
Description: |
SignalOrigin is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred at the input i_etSignalOrigin. |
Only elements of the enumeration table ET_FeedbackSignalOrigin are allowed to be transferred to the input i_etSignalOrigin. |