MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
HardwarePosLimitActionSet()
void HardwarePosLimitActionSet
(
RSIAction
action
)
pure virtual
Set the action that will occur when the Hardware Positive Limit Event triggers.
Description:
HardwarePosLimitActionSet sets the action that will occur when the Hardware Positive Limit Event triggers.
Parameters
action
Action taken on Positive Limit trigger. A
RSIAction
value.
Note:
Available Actions are
Abort()
,
EStop()
,
Stop()
, None,
EStopAbort()
, and
EStopModify()
Sample Code:
//Set the Hardware Positive Limit action to E-Stop.
HardwarePosLimitActionSet
(
RSIAction
.RSIActionE_STOP);
RapidSetup:
Go to axis screen->Limits & Actions. In image below, HardwarePosLimitActionSet sets the action type shown in the Positive (+) Hardware box. It is currently set to E_STOP.
See also
HardwarePosLimitActionGet
Examples
HardwareLimits.cpp
,
HardwareLimits.cs
,
PhantomAxis.cpp
, and
PhantomAxis.cs
.