MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ FilterDualLoopSet()

void FilterDualLoopSet ( Axis velocityAxis,
RSIMotorFeedback  velocityEncoder,
bool  enable 
)
pure virtual

Configure an axis for dual loop feedback.

Description:
FilterDualLoopSet sets an axis configuration for dual-loop operation. Before you can use dual-loop, an Axis must be set to use filter type RSIFilterAlgorithmPIV
Parameters
velocityAxisWhich axis has the velocityEncoder?
velocityEncoderWhich encoder on the velocityAxis – Primary or Secondary?
enable
Sample Code:
// configure an axis for dual loop control
axis.FilterDualLoopSet(Y, RSIMotorFeedback.RSIMotorFeedbackPRIMARY, true);