MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ HardwarePosLimitTriggerStateGet()

bool HardwarePosLimitTriggerStateGet ( )
pure virtual

trigger state return.

Description:
HardwarePosLimitTriggerStateGet returns if the Hardware Positive Limit Trigger is Active High or Active Low.
Returns
(int32) 1 = triggers on active high signal, 0 = triggers on active low signal.
Sample Code:
{
Console.WriteLine("The Hardware Positive Limit triggers on High state.");
}
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, HardwarePosLimitTriggerStateGet returns the trigger state shown in the Positive (+) Hardware box. It currently triggers on a HIGH because the "High" checkbox is checked.
Limits_Actions.jpg
See also
HardwarePosLimitTriggerStateSet
 
Examples
HardwareLimits.cpp, and HardwareLimits.cs.