Skip to main content

NRC_GetToolCoordParm(int toolNum, NRC_Position& deviation)

Get tool hand parameters

Type

int =>Get tool hand parameters

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

ParameterTypeDescription
toolNumintThe number of the tool hand, parameter range: 0 < toolNum < 10
deviationNRC_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);