◆ DigitalIoExists()

virtual bool DigitalIoExists ( RSIMotorGeneralIo  motorGeneralIoNumber)
pure virtual

Determine if a particular General I/O bit exists for a motor.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the User IO method group.

Description:
DigitalIoExists determine if a particular Dedicated output bit exists for a motor.
Parameters
motorGeneralIoNumberA RSIMotorGeneralIo value.
Returns
(bool) True if bit exists for motor, false if not.
Sample Code:
if (axis->DigitalIoExists(RSIMotorGeneralIo0) == true) {
printf("General Motor IO 0 exsists.\n");
}