InoDrive / IO / get_output_fault
InoDrive.IO.get_output_fault(self, output=None)
Get Voltage State of Specific Output.
Arguments:
• self (Object): Reference to IO Instance.
• output (Integer): Module’s Output Range (0 to 2).
Returns:
Integer:
• 0 – Output is Present and Operational.
• 1 – Output has Faulted and is Offline.
import CkInoDriveAPI # Instantiate InoDrive Object and Connect by Name Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True) # Get Output 1 Fault Status state = Drive.IO.get_output_fault(1)