The method SetProcedureData (...) is used to set the data required by the procedure.
Access: PUBLIC
Input |
Data type |
Description |
---|---|---|
i_stData |
Data required by a fixed system teaching procedure. |
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 |
NumberOfPointsAlongYInvalid |
50 |
The number of points along the Y direction is invalid. |
TRUE |
XSpacingInvalid |
48 |
The X spacing value is invalid. |
TRUE |
YSpacingInvalid |
49 |
The Y spacing value is invalid. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success. |
Status message: Setting the data for the procedure was successful.
Enumeration name: |
NumberOfPointsAlongYInvalid |
Enumeration value: |
50 |
Description: |
The number of points along the Y direction is invalid. |
Issue |
Cause |
Solution |
---|---|---|
It is not possible to set the data for the teaching procedure. |
i_stData.udiNumberOfPointsAlongY < 2 or > Gc_udiMaxNumberOfSamplesPerSet. |
Verify that 2 <= i_stData.udiNumberOfPointsAlongY <= Gc_udiMaxNumberOfSamplesPerSet. |