MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ SoftwarePosLimitActionGet()

RSIAction SoftwarePosLimitActionGet ( )
pure virtual

Get the action that will occur when the Software Positive Limit Event triggers.

Description:
SoftwarePosLimitActionGet returns the action that will occur when the Software Positive Limit Event triggers.
Returns
(RSIAction) Action taken on Limit trigger.
Note:
Available Actions are Abort(), EStop(), Stop(), None, EStopAbort(), and EStopModify()
Sample Code:
if(SoftwarePosLimitActionGet() == RSIAction.RSIActionE_STOP)
{
Console.WriteLine("E-Stops when Software Positive Limit is hit.");
}
RapidSetup:
Go to axis screen->Limits & Actions. In image below, SoftwarePosLimitActionGet returns the action type shown in the Positive (+) Software box. It is currently set to E_STOP.
Limits_Actions.jpg
See also
SoftwarePosLimitActionSet