This is a Repository to add support of python to ICP DAS PLC(Programable Logic Controller).
-
Connecting to the PLC -->
Room = PLC(IP_Address,Port_number)
-
Turns on Relay's 1,2,3 -->
Room.Relay_control(123)
-
Get digital input from PLC -->
Room.Digital_imput()
-
Get digital input 1 counter value form PLC -->
Room.Counter_Value(1)
-
Resets the Counter 1 value to 0 -->
Room.Reset_Counter(1)
-
Gets Latch status of pin 1 -->
Room.Status_Latch(1)
-
Clears Latch status -->
Room.Clear_Latch_Status()