The method GetProcedureData (...) is used to get the data that are previously set for the procedure.
Access: PUBLIC
Output |
Data type |
Description |
---|---|---|
q_xError |
BOOL |
TRUE: An error occurred during last command. For more information refer also to q_etResult and q_sResultMsg. |
q_etResult |
Provides diagnostic and status information. If q_xError = FALSE, then q_etResult provides status information. If q_xError = TRUE, then q_etResult provides diagnostic/error information. The enumeration ET_Result contains the possible values of the POU operation results. |
|
q_sResultMsg |
STRING[80] |
Provides additional information about the current status of the POU. |
q_xError |
q_etResult |
Enumeration value of q_etResult |
Description |
---|---|---|---|
FALSE |
Ok |
0 |
Success. |
TRUE |
ProcedureDataNotSet |
57 |
No data is set for the procedure. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success. |
Status message: Getting the data set for the procedure was successful.
Enumeration name: |
ProcedureDataNotSet |
Enumeration value: |
57 |
Description: |
No data is set for the procedure. |
Issue |
Cause |
Solution |
---|---|---|
It is not possible to get the data for the teaching procedure. |
The procedure data is not set. |
Make a successful call of the method SetProcedureData before calling this method. |