MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ HardwarePosLimitTriggerStateSet()

void HardwarePosLimitTriggerStateSet ( bool  state)
pure virtual

sets the trigger state.

Description:
HardwarePosLimitTriggerStateSet sets the Hardware Positive Limit to Active High or Active Low.
Parameters
state1 = triggers on active high signal, 0 = triggers on active low signal.
Sample Code:
//Set the Hardware Positive Limit to active low.
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, HardwarePosLimitTriggerStateSet sets 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
HardwarePosLimitTriggerStateGet
 
Examples
HardwareLimits.cpp, and HardwareLimits.cs.