MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ HardwarePosLimitActionSet()

void HardwarePosLimitActionSet ( RSIAction  action)
pure virtual

Set the action that will occur when the Hardware Positive Limit Event triggers.

Description:
HardwarePosLimitActionSet sets the action that will occur when the Hardware Positive Limit Event triggers.
Parameters
actionAction taken on Positive Limit trigger. A RSIAction value.
Note:
Available Actions are Abort(), EStop(), Stop(), None, EStopAbort(), and EStopModify()
Sample Code:
//Set the Hardware Positive Limit action to E-Stop.
RapidSetup:
Go to axis screen->Limits & Actions. In image below, HardwarePosLimitActionSet sets the action type shown in the Positive (+) Hardware box. It is currently set to E_STOP.
Limits_Actions.jpg
See also
HardwarePosLimitActionGet
 
Examples
HardwareLimits.cpp, HardwareLimits.cs, PhantomAxis.cpp, and PhantomAxis.cs.