Skip to main content

NRC_SetJogRectangularSpeedConfig(double maxSpeed, double acc)

Set Cartesian jog speed

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

Type

int =>Set Cartesian jog speed

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
maxSpeeddoubleThe maximum speed that Cartesian coordinates can reach when jogging, unit: mm/s
accdoubleThe acceleration of the Cartesian coordinates when jogging, unit: mm/s²

Sample code

NRC_SetJogRectangularSpeedConfig(200, 3000);//Set Cartesian jog speed