NRC_GetToolCoordParm(int toolNum, NRC_Position& deviation)
Get tool hand parameters
Type
int =>Get tool hand parameters
| Return value | Description |
|---|---|
| 0 | The function is called successfully |
| -101 | Invalid input parameter |
| -102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
| -103 | The target object is currently in an inoperable state |
Parameter Option
| Parameter | Type | Description |
|---|---|---|
| toolNum | int | The number of the tool hand, parameter range: 0 < toolNum < 10 |
| deviation | NRC_Position& | The deviation of the tool end position relative to the robot end position |
Sample code
int toolNum;
NRC_Position deviation;
NRC_GetToolCoordParm(toolNum, deviation);