InoDrive / IO / get_holding_brake_fault
InoDrive.IO.get_holding_brake_fault(self)
Get Motor Holding Brake Fault Status.
Arguments: self (Object): Reference to IO Instance.
Returns:
Integer:
• 0 – Holding Brake is Operational and Online.
• 1 – Holding Brake has Faulted or is Missing.
import CkInoDriveAPI # Instantiate InoDrive Object and Connect by Name Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True) # Get Motor Holding Brake Fault Status state = Drive.IO.get_holding_brake_fault() if state == 0: print("Motor Holding Brake is operational.") else: print("Motor Holding Brake has faulted or is not present.")