◆ CompensationPositionGet()

virtual double CompensationPositionGet ( )
pure virtual

Get the compensator position.

ℹ This function is avaliable in RapidCode and RapidSequencer

CompensationPositionGet returns the combined output of any compensator tables that are applied to an axis. When you command a move, this value will get added to your target.
(double) Current value of the axis' compensator position in counts.
Sample Code:
Console.WriteLine("TargetPosition: " + axis.CompensationPositionGet());
See the topics page for more info on how and when to use compensators.