MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ CompensationPositionGet()

double CompensationPositionGet ( )
pure virtual

Get the compensator position.

Description:
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.
Returns
(double) Current value of the axis' compensator position in counts.
Sample Code:
Console.WriteLine("TargetPosition: " + axis.CompensationPositionGet());
Note
See the topics page for more info on how and when to use compensators.
 
Examples
Compensator1D.cs, Compensator2D.cs, and CompensatorSingleAxis.cs.