Skip to main content

NRC_SetAutoRunSpeedPer(int speedPer)

Set auto-run speed percentage

Type

int=>Set auto-run 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 auto-run 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_SetAutoRunSpeedPer(55);//Set the auto-run speed to 55%