APIs, concepts, guides, and more

◆ MoveRelative() [1/3]

void MoveRelative ( double relativePosition)

MoveRelative with the default trajectory values. Part of the Motion method group. See the S-Curve Motion concept page for more information.

Warning


Using a non-zero JerkPercent increases the maximum acceleration above the user-specified average.
If your system can’t handle the higher peak, you risk overshoot or excessive load. The relation between average acceleration and maximum acceleration is:

\[ Maximum Acceleration \;=\; \frac{accel}{1 - \bigl(jerkPercent \times 0.005\bigr)} \]

  • accel: the requested (average) acceleration value given in the MoveSCurve command.
  • jerkPercent: the percent of time with non-zero jerk (0–100) given in the MoveSCurve command.
  • Maximum Acceleration: the resulting peak commanded acceleration.

See the S-Curve Motion concept page for more information.

See also
MoveRelative

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.