RMP Motion Controller
10.6.6
APIs
, concepts, guides, and more
Community
Support
Contact
◆
MotionHoldGateGet()
bool MotionHoldGateGet
(
)
Description:
MotionHoldGateGet returns the state of the
Axis
' hold gate.
Returns
(bool) True = gate is set, motion will not execute. False = gate is not set, motion will execute.
Part of the
Motion Configuration
method group.
Sample Code:
if
(
MotionHoldGateGet
() ==
true
)
{
printf(
" Motion Hold Gate is set, motion will not execute until cleared.\n"
);
}
RSI::RapidCode::RapidCodeMotion::MotionHoldGateGet
bool MotionHoldGateGet()
Get the state of the hold gate.
See also
MotionHoldGateSet
Note
By default, an
Axis
or
MultiAxis
will use a gate number which matches its number. Keep in mind there are only 32 hold gates, so if your
Axis
or
MultiAxis
number is greater than 31, you must adjust using MotionHoldGateNumberSet
RSI
RapidCode
RapidCodeMotion
Generated by
1.10.0