◆ StatusWordGet()

virtual uint16_t StatusWordGet ( )
pure virtual

Get the state of a Motor's Fault Mask bit.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
FaultMaskBitGet returns the state of a Motor's Fault Mask bit.
Parameters
bitMaskA RSIMotorFaultMask value.
Returns
(bool) True or False FalutMask Value.
Sample Code:
if (axis->FaultMaskBitGet(RSIMotorFaultMaskAMP_NOT_POWERED) == true )
{
printf("Motor Amplifier is not powered\n");
}
See also
RSIMotorFaultMask