The RMP Motion Controller API

◆ MotionHoldTypeGet()

virtual RSIMotionHoldType MotionHoldTypeGet ( )
pure virtual

Get the motion hold attribute type.

MotionHoldTypeGet returns the type of the hold attribute.
(RSIMotionAttrHoldType) Attribute which Motor holds monitors.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Motion Configuration method group.

Sample Code:
if (axis->HoldTypeGet() == RSIMotionAttrHoldTypeGATE)
printf("The next motion will be waiting for the GATE to be cleared before executing\n");
See also
RSIMotionAttrHoldType, MotionHoldTypeSet