◆ MoveTrapezoidal() [1/2]

virtual void MoveTrapezoidal ( double *  position,
double *  vel,
double *  accel,
double *  decel 
)
pure virtual

Point-to-point trapezoidal move.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
MoveTrapezoidal point-to-point trapezoidal velocity profile move.
Parameters
*positionArray of target positions (UserUnits for each axis).
*velArray of velocities (UserUnits).
*accelArray of accelerations (UserUnits).
*decelArray of decelerations (UserUnits).
Sample Code:
AbsoluteMotionAnchor
axis.MoveTrapezoidal(Constants.POSITION, Constants.VELOCITY, Constants.ACCELERATION, Constants.DECELERATION);// Command simple trapezoidal motion.
axis.MotionDoneWait();// Wait for motion to be done
//---TEST ASSERT---
Assert.That(axis.CommandPositionGet(), Is.EqualTo(Constants.POSITION), "The command position should be equal to POSITION");
See also
MotionAttributeMaskGet