◆ DedicatedInExists()

virtual bool DedicatedInExists ( RSIMotorDedicatedIn  motorDedicatedInNumber)
pure virtual

Determine if a particular Dedicated input bit exists for a motor.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Dedicated I/O method group.

Description:
DedicatedInExists determines if a particular Dedicated input bit exists for a motor because not all drives have the same Dedicated inputs available.
Parameters
motorDedicatedInNumberA RSIMotorDedicatedIn value.
Returns
(bool) True if bit exists for motor, false if not.
Sample Code:
if (axis.DedicatedInExists(RSIMotorDedicatedIn.RSIMotorDedicatedInHOME) == true) {
Console.WriteLine("Dedicated In: Home exists");
}
RapidSetup:
Go to axis screen->Dedicated I/O tab. These are the dedicated I/O that are available with this particular drive.
DedicatedIO.jpg