MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ CommandVelocityGet()

double CommandVelocityGet ( )
pure virtual

Get the current commanded velocity.

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