installed pyS7

This commit is contained in:
Igor Barcik 2024-12-11 07:21:29 +01:00
parent f72b2eca75
commit 248c41b986
Signed by: biggy
GPG Key ID: EA4CE0D1E2A6DC98
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@ counter = 0
while counter < LOOPS: while counter < LOOPS:
try: try:
plc = snap7.client.Client() plc = snap7.client.Client()
plc.connect("172.16.4.220", 0, 1) plc.connect("172.16.3.231", 0, 1)
pprint.pprint(plc.get_cpu_state()) pprint.pprint(plc.get_cpu_state())
except Exception as e: except Exception as e:
pprint.pprint(e) pprint.pprint(e)