◆ MotionHoldGateSet()

virtual void MotionHoldGateSet ( bool  hold)
pure virtual

Set the Motion Hold Gate.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Motion Configuration method group.

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.
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
Examples
UpdateBufferPoints.cpp.