APIs, concepts, guides, and more

◆ ErrorLimitActionGet()

RSIAction ErrorLimitActionGet ( )
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()

Part of the Limits and Action Configuration method group.

Sample Code:
if (axis.ErrorLimitActionGet() == RSIAction.RSIActionE_STOP) {
Console.WriteLine("Error Limits will cause an E-Stop.");
RSIAction
Action to perform on an Axis.
Definition rsienums.h:1072
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.
Note
  • Position Error = Command Position - Actual Position
  • For safety reasons, you may want to set this to ABORT event.
See also
ErrorLimitActionSet