The RMP Motion Controller APIs

◆ DigitalIoExists()

bool DigitalIoExists ( RSIMotorGeneralIo motorGeneralIoNumber)
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.
Remarks
This function is also available in RapidSequencer.

Part of the User IO method group.

Sample Code:
if (axis->DigitalIoExists(RSIMotorGeneralIo0) == true) {
printf("General Motor IO 0 exsists.\n");
}