MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ DigitalIoValidTypesMaskGet()

RSIMotorIoTypeMask DigitalIoValidTypesMaskGet ( RSIMotorGeneralIo  bitNumber)
pure virtual

Get the type mask for a Motor I/O bit.

Description:
DigitalIoValidTypesMaskGet returns the type mask for a Motor I/O bit. The mask contains a bit turned on for each of the selectable types available for this Motor I/O bit.
Parameters
bitNumberA RSIMotorGeneralIo value.
Returns
(RSIMotorIoTypeMask value) Motor I/O type Mask
Sample Code:
char* name = axis->DigitalIoNameGet(RSIMotorGeneralIo);
printf("The real name for this bit is: %s\n", name);
See also
DigitalIoTypeSet