MPI 04.00 Reference >> mpiMotion
mpiMotionSCurveJerkPercentMove
Declaration
mpiMotionSCurveJerkPercentMove(MPIMotion motion, double position, double velocity, double acceleration, double deceleration, double jerkPercent, double finalVel, MPIMotionPointToPointAttrMask mask, const MPIMotionPointToPointAttributes *attributes);
Required Header: stdmpi.h
Change History: Added in 04.00.
Description
mpiMotionSCurveJerkPercentMove begins a single-axis move with an S-curve velocity profile.
motion | The Motion object to use. This object must have exactly one mapped axis or MPIMotionMessageAXIS_COUNT is generated. |
---|---|
position | The target position for the mapped axis. |
velocity | Rate of change of position. The maximum velocity to use for the constant slew portion of the move. |
acceleration | Rate of change of velocity. Specifies the initial ramp to reach constant velocity. |
deceleration | Rate of change of velocity. Specifies the final ramp to reach final velocity. |
jerkPercent | The portion of the acceleration ramp to perform jerk profile. Units are in percent. Range is 0.0 to 100.0. If NULL, 66.6% is used for all axes. |
finalVelocity | Rate of change of position at the end of the move. |
mask | A bit-mask composed of MPIMotionPointToPointAttrMasks ORed together. Each bit set enables the corresponding attribute. |
attributes | A pointer to additional data needed for certain mask values. |