Hello, I am trying to connect to a S7-1200 FW v4.2.2 TIA Portal v19.
This table says that my PLC uses S7CommPlus V1 and is supported.
I ran the following using the master branch:
#!/usr/bin/env python3
from s7 import Client
if __name__ == '__main__':
client = Client()
client.connect("192.168.0.1", 0, 1)
variables = client.browse()
print(variables)
client.disconnect()
Output:
/python-snap7-master$ ./main.py
PLC did not provide ServerSessionVersion - session setup incomplete
Traceback (most recent call last):
File "/python-snap7-master/./main.py", line 7, in <module>
variables = client.browse()
File "/python-snap7-master/s7/client.py", line 302, in browse
raise RuntimeError("browse() requires S7CommPlus connection")
RuntimeError: browse() requires S7CommPlus connection
Attached is a zipped pcap S71200Filtered.zip
Let me know if I am doing something wrong here
Hello, I am trying to connect to a S7-1200 FW v4.2.2 TIA Portal v19.
This table says that my PLC uses S7CommPlus V1 and is supported.
I ran the following using the
masterbranch:Output:
Attached is a zipped pcap S71200Filtered.zip
Let me know if I am doing something wrong here