NRC_SetCurrentCoord(NRC_COORD coord)
Switch current coordinate system
Type
int=>Switch current coordinate system
| 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 | Description |
|---|---|
| NRC_ACS | Joint coordinate system |
| NRC_MCS | Cartesian coordinate system |
| NRC_PCS | Tool coordinate system |
| NRC_UCS | User coordinate system |
Sample code
NRC_SetCurrentCoord(NRC_MCS);//Switch to Cartesian coordinate system