MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ CompensatorConfigSet() [3/4]

void CompensatorConfigSet ( int32  compensatorNumber,
int32  inputAxisNumber,
RSIAxisMasterType  inputAxisType,
double  inputAxisMinimum,
double  inputAxisMaximum,
double  inputAxisDelta,
int32  outputAxisNumber,
RSICompensatorOutputType  outputType,
double *  table 
)
pure virtual

Configure a 1D compensator.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
compensatorNumberwhich compensator to configure?
inputAxisThis specifies the axis of the first compensating Axis object. The position from this Axis will be used to index a single dimension of the compensation table. This number must correspond to a valid (existing) and enabled Axis on the controller.
inputAxisMinimumThe minimum feedback position (COUNTS) along the first compensation axis where compensation will occur.
inputAxisMaximumThe maximum feedback position (COUNTS) along the first compensation axis where compensation will occur.
inputAxisDeltaSpacing between compensation positions on the compensating axis. positionDelta must meet some specifications: positionDelta must be an exact multiple of the range (i.e. ((range.positionMax - range.positionMin) / positionDelta) must be an integer value). positionDelta must be greater than zero. positionDelta must be greater than (positionMax - positionMin).
outputAxisThis specifies the axis of the Axis to be compensated by the Compensator object. This number must correspond to a valid (existing) and enabled Axis on the controller.
outputTypeSets the behavior of a compensator. SINGLE: Only the most recent compensator configured to output on a specific axes will be applied ADDITIVE: The output of the compensator will be added with the result form the previously applied compensator on the specific axis.
tablethe points which will be written to the table
See also
CompensatorCountSet