APIs, concepts, guides, and more

◆ 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.
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
GearingCamming.cs, InputOutput.cs, Motion.cs, MotionHold.cs, MotionModify.cs, MotionStreaming.cs, MultiAxisMotion.cs, MultiaxisMotion.cpp, and PathMotion.cpp.