FC_EtCmdToString - General Information
Type: |
Function |
Available as of: |
V1.0.0.0 |
This chapter provides information on:
oTask
Convert the commands of the FB_RoboticModule to a string.
The command of the RoboticModule at the i_etCmd input from the enumeration list ET_Cmd is returned as a string.
Input |
Data type |
Description |
---|---|---|
i_etCmd |
The command that has 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 command as a string. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
4 |
The command is indeterminable. |
Enumeration name: |
CmdUnknown |
Enumeration value: |
4 |
Description: |
The command is indeterminable. |
Issue |
Cause |
Solution |
---|---|---|
Reading the ET_Cmd value as text was not successful. |
The value transferred at the input i_etCmd is indeterminable. |
At the input i_etCmd, a value of ET_Cmd must be transferred. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Reading the ET_Cmd value as text was successful.