◆ ActualPositionGet()

virtual double ActualPositionGet ( )
pure virtual

get the current actual position

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
ActualPositionGet returns the current value of an axis' actual position.
Returns
(double) The actual position in User Units.
Sample Code:
Console.WriteLine("ActualPosition: " + axis.ActualPositionGet());
RapidSetup:
Go to axis screen. In the image below, ActualPositionGet returns the value in the Actual Position text box. In the image, the actual position is: 4525826
Axis_PositionStatus.jpg
Topics:
Position Methods
Examples
MultiaxisMotion.cpp.