◆ EncoderFaultActionGet()

virtual RSIAction EncoderFaultActionGet ( )
pure virtual

Get the action that will occur when the Encoder Fault Limit Event triggers.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Limits and Action Configuration method group.

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()
Sample Code:
if (EncoderFaultActionGet() == RSIAction.RSIActionE_STOP) {
Console.WriteLine("E-Stops when an Encoder Fault is triggered.");
}
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.
Limits_Actions.jpg
See also
EncoderFaultActionSet