MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ EncoderFaultActionGet()

RSIAction EncoderFaultActionGet ( )
pure virtual

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

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