APIs, concepts, guides, and more

◆ MoveVelocitySCurve()

void MoveVelocitySCurve ( double velocity,
double accel,
double jerkPct )
Description:
MoveVelocitySCurve commands a constant velocity move (jog) with non-constant acceleration.
Parameters
velocityTarget velocity, units/second.
accelMaximum accleration, units/second^2.
jerkPctWhich defines the percentage of acceleration time which is smoothed, 0.0 to 100.0.
Note
In most cases, a servo motor has a feedback device mounted. Depending on feedback device resolution, one motor shaft rotation will produce fixed value of counts. Example: motor has a resolution of 8192 counts. This means if 8192 is entered as distance to move, motor will move single revolution. User can implement UserUnitsSet() to change to a different unit (ex: mm, inches, etc) from encoder counts.
Note
Non-Blocking Execution Motion commands return instantly and do not pause code execution. Use MotionDoneWait() post-call to halt execution until motion completes.

Part of the Motion method group.

Sample Code:
axis->MoveVelocitySCurve(1000.0, 10000.0, 50.0);
RapidSetup:
Go to axis screen->Motion Profile box (left) to select type of motion
Go to axis screen->Motion Parameters box (right) to select values for motion
Motion Scope:
Velocity move (SCurve type) profile shown below:
See also
Velocity Motion,, MoveSCurve, MoveTrapezoidal, MovePT, MovePVT