The RMP Motion Controller APIs

◆ FilterCoeffSet() [1/2]

void FilterCoeffSet ( RSIFilterGainPIDCoeff coeff,
int32_t gainTable,
double coeffValue )
Description:
FilterCoeffSet will set the value for any filter coefficient (ex: Kp, Ki, Kd) for any gain table
Parameters
coeffCoefficient to set, use RSIFilterGainPIDCoeff or RSIFilterGainPIVCoeff.
gainTableGain Table, valid from 0 to 4. (99% of users will always use Gain Table 0)
coeffValueNew value for coefficient.
Remarks
This function is also available in RapidSequencer.
Sample Code:
axis.FilterCoeffSet(RSIFilterGainPIDCoeff.RSIFilterGainPIDCoeffOUTPUT_OFFSET,
gainTable, 1000.0);
RSIFilterGainPIDCoeff
PID gain coefficients.
Definition rsienums.h:1104
RapidSetup:
Go to axis screen->Tuning Parameters. Available filter coefficents (Kp, Ki, Kd, etc) are shown in image below.
See also
FilterCoeffGet, RSIFilterGainPIDCoeff, RSIFilterGainPIVCoeff