MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ StatusBitGet()

bool StatusBitGet ( RSIEventType  statusBit)
pure virtual

Return the state of a status bit.

Description:
StatusBitGet returns the state of a status bit, true or false.
Parameters
statusBitbitMask from enumeration RSIEventType.
Returns
(bool) True or False value of the statusBit.
Sample Code:
{
printf("Negative Hardware Limit Switch event occured\n");
}
RapidSetup:
Go to axis screen->Status tab.
Axis_Source_Good.jpg
Status tab offers various bits that can be tracked
See also
RSIEventType
 
Examples
AxisStatus.cpp, and AxisStatus.cs.