APIs, concepts, guides, and more

◆ EncoderFaultTriggerSet()

void EncoderFaultTriggerSet ( RSIMotorFeedbackFault encoder)
Description:
EncoderFaultTriggerSet sets the encoders which are used to generate encoder faults.
Parameters
encoderEncoders used to generate fault. A RSIMotorFeedbackFault value.

Part of the Limits and Action Configuration method group.

Sample Code:
EncoderFaultTriggerSet(RSIMotorFeedbackFault.RSIMotorFeedbackFaultPRIMARY_OR_SECONDARY);
void EncoderFaultTriggerSet(RSIMotorFeedbackFault encoder)
Set the encoders which are used to generate encoder faults.
RSIMotorFeedbackFault
Feedbacks to use for Feedback Fault action.
Definition rsienums.h:1092
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, EncoderFaultTriggerSet sets the encoder type that triggers an encoder fault. It currently set to PRIMARY.
See also
EncoderFaultTriggerGet