MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
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
mask
The bitmask
Sample Code:
// hold execution of motion on a dedicated input changing state
int
mask = (1 <<
RSIMotorDedicatedIn
.RSIMotorDedicatedIn::RSIMotorDedicatedInHOME) ;
axis.
MotionHoldUserMaskSet
(mask);
See also
MotionHoldUserAddressSet()
,
MotionHoldTypeSet()
Examples
MotionHoldReleasedByDigitalInput.cpp
,
MotionHoldReleasedByDigitalInput.cs
,
MotionHoldReleasedBySoftwareAddress.cpp
, and
MotionHoldReleasedBySoftwareAddress.cs
.