MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ ActualVelocityGet()

double ActualVelocityGet ( )
pure virtual

Get the current actual velocity.

Description:
ActualVelocityGet returns the current actual velcocity for an axis in User Units per second. The actual velocity is sampled, so this returns the instantaneous actual velocity for one sample period.
Returns
(double) Actual Velocity in User Units per second.
Sample Code:
Console.WriteLine("ActualVelocity: " + axis.ActualVelocityGet());
RapidSetup:
Go to axis screen. In the image below, ActualVelocityGet returns the value in the Act. Velocity text box. In the image, the Actual Velocity is: 0 because the axis is not moving.
Axis_PositionStatus.jpg
See also
CommandVelocityGet
 
Examples
FinalVelocity.cpp, and FinalVelocity.cs.