◆ CommandVelocityGet()

virtual double CommandVelocityGet ( )
pure virtual

Get the current commanded velocity.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
CommandVelocityGet returns the current commanded velcocity for an axis. Units per second.
Returns
(double) Command Velocity in User Units per second.
Sample Code:
Console.WriteLine("CommandVelocity: " + axis.CommandVelocityGet());
RapidSetup:
Go to axis screen. In the image below, CommandVelocityGet returns the value in the Cmd Velocity text box. In the image, the Cmd Velocity is: 0 because the axis is not moving.
Axis_PositionStatus.jpg
See also
CommandAccelGet