◆ MotorFaultMaskSet()

virtual void MotorFaultMaskSet ( int32_t  faultMask)
pure virtual

Set the Motor Fault Mask.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
MotorFaultMaskSet will set the motor fault mask. A mask of motor fault bits. The masked motor fault bits will be monitored by the controller's motor object. If any masked motor fault bit is active (TRUE), the motor's dedicated amp fault input (MPIMotorDedicatedInAMP_FAULT) is set active (TRUE). The support for motor fault bits is node/drive specific. During SynqNet network initialization, the SqNodeLib automatically configures the faultMask based on the node type. See the node/drive manufacturer's documentation for details.
Parameters
faultMskA mask of motor fault bits.
Sample Code:
// -- C++ -- //
axis->MotorFaultMaskSet(motorFaultMaskValue);
// -- C# -- //
axis.MotorFaultMaskSet(motorFaultMaskValue);
See also
MotorFaultMaskGet