The RMP Motion Controller APIs

◆ 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
maskOnRSIMotionAttrMask value we want to check.
Remarks
This function is also available in RapidSequencer.

Part of the Motion Configuration method group.

Sample Code:
if (axis->MotionAttributeMaskOnGet(RSIMotionAttrMaskRELATIVE))
{
printf("The next move will be a relative move\n");
}
@ RSIMotionAttrMaskRELATIVE
The position values for the move are interpreted relative to the current position.
See also
RSIMotionAttrMask, MotionAttributeMaskOnSet, MotionAttributeMaskOffSet