◆ EncoderFaultTriggerGet()

virtual RSIMotorFeedbackFault EncoderFaultTriggerGet ( )
pure virtual

Get the encoders which are used to generate encoder faults.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Limits and Action Configuration method group.

Description:
EncoderFaultTriggerGet returns the encoders which are used to generate encoder faults.
Returns
(RSIMotorFeedbackFault) Encoders used to generate fault.
Sample Code:
if (EncoderFaultTriggerGet() == RSIMotorFeedbackFault.RSIMotorFeedbackFaultPRIMARY) {
Console.WriteLine("Primary Motor Encoder Fault.");
}
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.
Limits_Actions.jpg
See also
EncoderFaultTriggerSet