MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ FilterCoeffSet() [1/2]

void FilterCoeffSet ( RSIFilterGainPIDCoeff  coeff,
int32  gainTable,
double  value 
)
pure virtual

Set a filter coefficient (ex: Kp, Ki, Kd).

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)
valueNew value for coefficient.
Sample Code:
axis.FilterCoeffSet(RSIFilterGainPIDCoeff.RSIFilterGainPIDCoeffOUTPUT_OFFSET,
gainTable, 1000.0);
RapidSetup:
Go to axis screen->Tuning Parameters. Available filter coefficents (Kp, Ki, Kd, etc) are shown in image below.
Axis_Filter.jpg
See also
FilterCoeffGet, RSIFilterGainPIDCoeff, RSIFilterGainPIVCoeff
 
Examples
SyncInterrupt.cpp.