From 248c41b9863482dc4eade262b8db9adee77e4a43 Mon Sep 17 00:00:00 2001 From: Igor Barcik Date: Wed, 11 Dec 2024 07:21:29 +0100 Subject: [PATCH] installed pyS7 --- requirements.txt | Bin 742 -> 298 bytes snap7_test.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e06fb26c42a3f43d656878bed71e42c2ee36c782..e4fce18d1fde417e018513581f9dc40772f4dacf 100644 GIT binary patch literal 298 zcmXwzO>4t242JLi6}^ut{z&4uAm|wEw83Df9UaGQ3~rp-&RF*AXKxI2c%|n-lCd$n zi$mm;w=jU9#LPM-n~zI~H|^cGjfetTpu|m!u9;D??qM1YVh6l{b$^$K^Wp09!<_S) zPEAwtyp3SOt$B7nJn5*Ls-0!ej2t?t6r;VStudofmZ_=dlwBkrSl@BMrm{58VL47Z z+bug^UIYac){t_&_yM~YrvPJLRD5_e`A2MlJ*Z=?k literal 742 zcmZuv%TB{E5S%j-pF-6nrG*0r?jUjHgwnLo(2%%!@cMXQX4h#DLY6JryE8jG>+i2M z29&6z|6?1&)_66X>IgHbp6YbwPoSe?1!cMicT{wbYuw_- zqRYtR(U$5C)VH<2;Qr``WJK%K%r)zS&Bz@Vx8|EgE&dkr^NfQm*iJu cpu-hc$th&V9wr5Ebacz*4yyjb=Hy=d09iY1OaK4? diff --git a/snap7_test.py b/snap7_test.py index ba4a876..ee25ff0 100644 --- a/snap7_test.py +++ b/snap7_test.py @@ -7,7 +7,7 @@ counter = 0 while counter < LOOPS: try: 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()) except Exception as e: pprint.pprint(e)