RMP Motion Controller
10.6.6
APIs
, concepts, guides, and more
Community
Support
Contact
◆
MotionAttributeMaskOnGet()
bool MotionAttributeMaskOnGet
(
RSIMotionAttrMask
maskOn
)
Description:
MotionAttributeMaskOnGet returns true if an attribute mask is turned on, false if turned off.
Returns
(int32_t) The attribute mask - values are here
RSIMotionAttrMask
.
Parameters
maskOn
RSIMotionAttrMask
value we want to check.
Part of the
Motion Configuration
method group.
Sample Code:
if
(axis->MotionAttributeMaskOnGet(
RSIMotionAttrMaskRELATIVE
))
{
printf(
"The next move will be a relative move\n"
);
}
RSI::RapidCode::RSIMotionAttrMask::RSIMotionAttrMaskRELATIVE
@ RSIMotionAttrMaskRELATIVE
The position values for the move are interpreted relative to the current position.
See also
RSIMotionAttrMask
,
MotionAttributeMaskOnSet
,
MotionAttributeMaskOffSet
RSI
RapidCode
RapidCodeMotion
Generated by
1.10.0