APIs, concepts, guides, and more

◆ EncoderFaultActionGet()

RSIAction EncoderFaultActionGet ( )
Description:
EncoderFaultActionGet returns the action that will occur when the Encoder Fault Limit Event triggers.
Returns
(RSIAction) Action taken on Encoder Fault trigger.
Note:
Available Actions are Abort(), EStop(), Stop(), None, EStopAbort(), and EStopModify()

Part of the Limits and Action Configuration method group.

Sample Code:
if (EncoderFaultActionGet() == RSIAction.RSIActionE_STOP) {
Console.WriteLine("E-Stops when an Encoder Fault is triggered.");
}
RSIAction EncoderFaultActionGet()
Get the action that will occur when the Encoder Fault Limit Event triggers.
RSIAction
Action to perform on an Axis.
Definition rsienums.h:1061
RapidSetup:
Go to axis screen->Limits & Actions. In image below, EncoderFaultActionGet returns the action type shown in the Encoder Fault box. It is currently set to NONE.
See also
EncoderFaultActionSet