MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ CompensatorPositionGet()

double CompensatorPositionGet ( int32  compensatorNumber)
pure virtual

Get the compensator position.

Description:
CompensationPositionGet returns the result of a single specified compensator. When you command a move on the compensator's output axis, this value will get added to your target.
Returns
(double) Current value of the axis' compensator position in counts.
Sample Code:
Console.WriteLine("CompensationPosition: " + controller.CompensatorPositionGet());
Note
See the topics page for more info on how and when to use compensators.