MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
MotionHoldUserPatternSet()
void MotionHoldUserPatternSet
(
int32
pattern
)
pure virtual
Sets the Motion Hold User pattern bit mask.
Description:
MotionHoldUserPatternSet sets the pattern bitmask which will be compared for equality after the Mask has been evaluated.
Parameters
pattern
The bitmask
Sample Code:
// hold execution of motion on a dedicated input going to a High state
int
pattern = (1 <<
RSIMotorDedicatedIn
.RSIMotorDedicatedIn::RSIMotorDedicatedInHOME) ;
axis.
MotionHoldUserMaskSet
(pattern);
See also
MotionHoldUserAddressSet()
,
MotionHoldTypeSet()
Examples
MotionHoldReleasedByDigitalInput.cpp
,
MotionHoldReleasedByDigitalInput.cs
,
MotionHoldReleasedBySoftwareAddress.cpp
, and
MotionHoldReleasedBySoftwareAddress.cs
.