Skip to main content

NRC_SetCurrentCoord(NRC_COORD coord)

Switch current coordinate system

Type

int=>Switch current coordinate system

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

ParameterDescription
NRC_ACSJoint coordinate system
NRC_MCSCartesian coordinate system
NRC_PCSTool coordinate system
NRC_UCSUser coordinate system

Sample code

NRC_SetCurrentCoord(NRC_MCS);//Switch to Cartesian coordinate system