-
|
Hello..,, currently my plc connected to PC via profibus, is it possible to access the PLC data if I installed python and snap7 lib inside the PC. If possible how should I setup the connection. I already try to setup the connection like this : profibus_address = 2 plc = snap7.client.Client() but I still get the error. Thanks for you're help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @ilmi By the way, take a look at the pyprofibus library |
Beta Was this translation helpful? Give feedback.
-
|
Closing as answered. Snap7 only supports S7comm over TCP/IP. It does not support Profibus or MPI. |
Beta Was this translation helpful? Give feedback.

Hi @ilmi
Snap7does not supportprofibus. It only supportss7commovertcpLet me guess, ChatGPT gave you this code? :)
By the way, take a look at the pyprofibus library