MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
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
state
1 = triggers on active high signal, 0 = triggers on active low signal.
Sample Code:
//Set the Hardware Positive Limit to active low.
HardwarePosLimitTriggerStateSet
(0);
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.
See also
HardwarePosLimitTriggerStateGet
Examples
HardwareLimits.cpp
, and
HardwareLimits.cs
.