The RMP Motion Controller APIs

◆ CompensatorPositionGet()

double CompensatorPositionGet ( int32_t  compensatorNumber)
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.
Remarks
This function is also available in RapidSequencer.

Part of the Compensator method group.

Sample Code:
Console.WriteLine("CompensationPosition: " + controller.CompensatorPositionGet());
Note
See the topics page for more info on how and when to use compensators.
RSI::RapidCode::MotionController::CompensatorPositionGet
double CompensatorPositionGet(int32_t compensatorNumber)
Get the compensator position.