NRC_SetTeachRunSpeedPer(int speedPer)
Set teach speed percentage
Type
int=>Set teach speed percentage
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 |
---|---|---|
speedPer | int | Set the teach speed percentage. Parameter range: 0 < speedPer <= 100. Jog parameter range: -1, -2 (In joint coordinate system: -1 represents 0.1 degrees, -2 represents 0.01 degrees; In other modes: -1 represents 1mm/s, -2 represents 0.1mm/s) |
Sample code
NRC_SetTeachRunSpeedPer(55);//Set the teach speed to 55%