Skip to main content

NRC_SetTeachMaxStepSpeed(int maxJointSpeed, int maxDecareSpeed)

Set the maximum step speed in teach mode

Please set this parameter when the servo is stopped or in a ready state

Type

int =>Set the maximum step speed in teach mode

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
maxJointSpeedintThe maximum joint running speed during single-step operation in teach mode, unit: percentage, parameter range: 0 < maxJointSpeed <= 100
maxDecareSpeedintThe maximum linear running speed during single-step running in teach mode, unit: mm/s, parameter range: 2 <= maxDecareSpeed <= 9999

Sample code

NRC_SetTeachMaxStepSpeed(20, 200);//Set the maximum step speed in teach mode