Skip to main content

NRC_SetTeachRunSpeedPer(int speedPer)

Set teach speed percentage

Type

int=>Set teach speed percentage

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
speedPerintSet 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%