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 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 |
|---|---|---|
| maxJointSpeed | int | The maximum joint running speed during single-step operation in teach mode, unit: percentage, parameter range: 0 < maxJointSpeed <= 100 |
| maxDecareSpeed | int | The 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