APIs, concepts, guides, and more

◆ EncoderFaultTriggerGet()

RSIMotorFeedbackFault EncoderFaultTriggerGet ( )
Description:
EncoderFaultTriggerGet returns the encoders which are used to generate encoder faults.
Returns
(RSIMotorFeedbackFault) Encoders used to generate fault.

Part of the Limits and Action Configuration method group.

Sample Code:
if (EncoderFaultTriggerGet() == RSIMotorFeedbackFault.RSIMotorFeedbackFaultPRIMARY) {
Console.WriteLine("Primary Motor Encoder Fault.");
}
RSIMotorFeedbackFault EncoderFaultTriggerGet()
Get the encoders which are used to generate encoder faults.
RSIMotorFeedbackFault
Feedbacks to use for Feedback Fault action.
Definition rsienums.h:1103
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, EncoderFaultTriggerGet returns the encoder type that triggers an encoder fault. It currently set to PRIMARY.
See also
EncoderFaultTriggerSet