InoDrive / IO / get_safety_input
InoDrive.IO.get_safety_input(self, input=None)
Get Connection State of Safety Inputs.
Arguments:
• self (Object): Reference to IO Instance.
• output (Integer): Module’s Safety Input Range (0 to 1).
Returns:
Integer:
• 0 – Safety Input is disconnected.
• 1 – Safety Input is connected.
import CkInoDriveAPI # Instantiate InoDrive Object and Connect by Name Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True) # Get Safety Input 0 State state = Drive.IO.get_safety_input(0)