The RMP Motion Controller API

◆ MotionHoldGateSet()

virtual void MotionHoldGateSet ( bool  hold)
pure virtual

Set the Motion Hold Gate.

Description:
MotionHoldGateSet sets the state of the Motion Hold Gate.
Parameters
holdTrue = gate is set, motion execution will be prevented. false = gate is not set, motion will execute.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Motion Configuration method group.

Sample Code:
// hold motion (prevent from executing)
axis->MotionHoldGateSet(true);
See also
MotionHoldGateGet
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
Examples
UpdateBufferPoints.cpp.