MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ MovePVT()

void MovePVT ( double *  position,
double *  velocity,
double *  time,
int32  pointCount,
int32  emptyCount,
bool  retain,
bool  final 
)
pure virtual

Move commanded by list of positions, velocities, and times.

Description:
MovePVT fits jerk profile segments through the list of points.
Parameters
*positionArray of positions.
*velocityArray of velocities.
*timeArray of times (seconds).
pointCountThe number of points.
emptyCountE-stop generated if there are this number or fewer frames loaded. Use the value “0” to trigger an E-stop when the buffer is empty, or “-1” to not trigger an E-stop. (Typically for PT motion there are two frames per PT point)
retainPoints kept, or not kept.
finalIf True, this is the final point. If False, more points expected.
Sample Code:
axis->MovePVT(position, vel, time, POINTS, -1, false, true);
 
Examples
PVTmotion.cpp, PVTmotion.cs, and PVTmotionMultiAxis.cpp.