FC_EtCmdToString - General Information
|
Type: |
Function |
|
Available as of: |
V1.0.2.0 |
|
Inherits from: |
- |
|
Implements: |
- |
|
Versions: |
Current version |
Convert the commands of the FB_AxisModule to a string.
The command of the axis module at the i_etCmd input from the ET_Cmd enum list is returned as a string.
|
Input |
Data type |
Description |
|---|---|---|
|
i_etCmd |
The command 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 an diagnostic message. |
|
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
|
Data type |
Description |
|---|---|
|
STRING[20] |
The command as a string. |
|
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
|---|---|---|---|
|
OK |
0 |
Ok |
|
|
InputParameterInvalid |
2 |
Unknown command. |
|
Enumeration name: |
CmdUnknown |
|
Enumeration value: |
2 |
|
Description: |
Unknown command. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The command applied at the i_etCmd input is unknown. |
Ensure that only commands from the ET_Cmd list are transferred at the i_etCmd input. |
|
Enumeration name: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Ok |
The command has been converted successfully to a string.