◆ DigitalIoValidTypesMaskGet()

virtual RSIMotorIoTypeMask DigitalIoValidTypesMaskGet ( RSIMotorGeneralIo  motorGeneralIoNumber)
pure virtual

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

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the User IO method group.

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
motorGeneralIoNumberA 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