MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ MotionHoldUserMaskSet()

void MotionHoldUserMaskSet ( int32  mask)
pure virtual

Sets the Motion Hold User bit mask.

Description:
MotionHoldUserMaskSet sets the bit mask which will be ANDed with the value stored at User Address.
Parameters
maskThe bitmask
Sample Code:
// hold execution of motion on a dedicated input changing state
int mask = (1 << RSIMotorDedicatedIn.RSIMotorDedicatedIn::RSIMotorDedicatedInHOME) ;
See also
MotionHoldUserAddressSet(), MotionHoldTypeSet()
 
Examples
MotionHoldReleasedByDigitalInput.cpp, MotionHoldReleasedByDigitalInput.cs, MotionHoldReleasedBySoftwareAddress.cpp, and MotionHoldReleasedBySoftwareAddress.cs.