Get the current command position.
- Description:
- CommandPositionGet returns the current command position of an axis.
- Returns
- (double) Current value of the axis' command position in User Units.
- Sample Code:
-
- 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
- Topics:
- Position Methods
- See also
- CommandPositionSet
- Examples
- MultiaxisMotion.cpp, and PathMotion.cpp.