◆ ErrorLimitActionGet()

virtual RSIAction ErrorLimitActionGet ( )
pure virtual

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

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Limits and Action Configuration method group.

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