MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ HardwareNegLimitActionGet()

RSIAction HardwareNegLimitActionGet ( )
pure virtual

Get the action that will occur when the Hardware Negative Limit Event triggers.

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