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