The RMP Motion Controller APIs

◆ CommandPositionGet()

double CommandPositionGet ( )
Description:
CommandPositionGet returns the current command position of an axis.
Returns
(double) Current value of the axis' command position in User Units.
Remarks
This function is also available in RapidSequencer.
Sample Code:
Console.WriteLine("CommandPosition: " + axis.CommandPositionGet());
RapidSetup:
Go to axis screen. In the image below, CommandPositionGet returns the value in the Command Position text box. In the image, the command position is: 4525826
See also
CommandPositionSet
Examples
InputOutput.cs, Motion.cs, MotionHold.cs, MotionModify.cs, MotionStreaming.cs, MultiAxisMotion.cs, MultiaxisMotion.cpp, and PathMotion.cpp.