MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ ErrorLimitActionGet()

RSIAction ErrorLimitActionGet ( )
pure virtual

Get the action that will occur when the Position Error Limit Event triggers.

Description:
ErrorLimitActionGet gets the action that will occur when the Position Error Limit Event triggers.
Returns
(RSIAction) Action taken on Error Limit trigger.
Note:
Available Actions are Abort(), EStop(), Stop(), None, EStopAbort(), and EStopModify()
Sample Code:
if(axis.ErrorLimitActionGet() == RSIAction.RSIActionE_STOP)
{
Console.WriteLine("Error Limits will cause an E-Stop.");
RapidSetup:
Go to axis screen->Limits & Actions. In image below, ErrorLimitActionGet returns the action type shown in the Position Error box. It is currently set to ABORT.
Limits_Actions.jpg
Note
  • Position Error = Command Position - Actual Position
  • For safety reasons, you may want to set this to ABORT event.
See also
ErrorLimitActionSet