MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
MoveVelocitySCurve()
void MoveVelocitySCurve
(
double *
vel
,
double *
accel
,
double *
jerkPct
)
pure virtual
Velocity move with non-constant acceleration.
Description:
MoveVelocitySCurve commands the
MultiAxis
to a specified target velocity for each
Axis
.
Parameters
*vel
Array of target velocities (UserUnits/second).
*accel
Array of accelerations (UserUnits/second/second).
*jerkPct
0.0 to 100.0 - The percentage of acceleration time which is smoothed.
Sample Code:
// Assume 2 axes.
double
velocities[2] = {1000.0, 1000.0};
double
accels[2] = {10000.0, 10000.0};
multiAxis->
MoveVelocity
(velocities, accels);
See also
MotionAttributeMaskGet