NRC_GetTeachMaxStepSpeed(int &maxJointSpeed, int &maxDecareSpeed)
Get the maximum step speed in teach mode
Type
int =>Get 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 obtained maximum joint running speed during single-step operation in teach mode, unit: percentage |
| maxDecareSpeed | int | The obtained maximum linear running speed during single-step running in teach mode, unit: mm/s |
Sample code
int maxJointSpeed;
int maxDecareSpeed;
NRC_GetTeachMaxStepSpeed(maxJointSpeed,maxDecareSpeed);