The RMP Motion Controller APIs

◆ PositionErrorGet()

double PositionErrorGet ( )
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.
Remarks
This function is also available in RapidSequencer.
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
See also
ActualPositionGet, CommandPositionGet