◆ PositionErrorGet()

virtual double PositionErrorGet ( )
pure virtual

Get the current position error.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
PositionErrorGet returns the current position error for an axis. The position error is defined as the difference between the CommandPosition and ActualPosition.
Returns
(double) Position error value in User Units.
Sample Code:
Console.WriteLine("PositionError: " + axis.PositionErrorGet());
RapidSetup:
Go to axis screen. In the image below, PositionErrorGet returns the value in the Position Error text box. In the image, the position error is: 0
Axis_PositionStatus.jpg
See also
ActualPositionGet, CommandPositionGet