MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ ErrorLimitActionSet()

void ErrorLimitActionSet ( RSIAction  action)
pure virtual

Set the action that will occur when the Error Limit Event triggers.

Description:
ErrorLimitActionSet sets the action that will occur when the Error Limit Event triggers.
Parameters
actionAction taken on Error Limit trigger. A RSIAction value.
Note:
Available Actions are Abort(), EStop(), Stop(), None, EStopAbort(), and EStopModify()
Sample Code:
//Set Error Limit action to E-Stop.
ErrorLimitActionSet(RSIAction.RSIActionE_STOP);
RapidSetup:
Go to axis screen->Limits & Actions. In image below, ErrorLimitActionSet sets 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
ErrorLimitActionGet
 
Examples
Gearing.cpp, Gearing.cs, HomingWithAKDdrive.cpp, HomingWithAKDdrive.cs, MotionHoldReleasedByDigitalInput.cpp, MotionHoldReleasedByDigitalInput.cs, MotionHoldReleasedByPosition.cpp, MotionHoldReleasedByPosition.cs, PhantomAxis.cpp, PhantomAxis.cs, PointToPointMultiaxisMotion.cpp, and PointToPointMultiaxisMotion.cs.