6/11/2018 8:21 AM | |
Posts: 2 Rating: (0) |
How do I install the snap7 library? I have got the python-snap7 installed. But the snap7 library is missing. Neither does sudo, nor apt-get work with IoT2040. What could be done? (I want to read a simple integer PLC tag on IOT2040 using Python) ------------------------------------------------------------------------------------------ |
Last edited by: The Helping Hand at: 6/11/2018 2:14:57 PMNew subject after splitting |
|
6/11/2018 1:46 PM | |
Joined: 4/28/2015 Last visit: 11/12/2024 Posts: 3345 Rating: (379)
|
Hi,
Did you try to install it from source like it is described here? You can donwload the sources for the IOT from sourceforge. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
6/15/2018 5:18 PM | |
Posts: 3 Rating: (0) |
Hi, I have the same issue. I have installed python-snap7, but I'm not able to install snap7 library. I followed this steps http://python-snap7.readthedocs.io/en/latest/installation.html#ubuntu and also tried to compile from source make -f x86_64_linux.mk. Is there something else I can tried? As an attachment I'm sending the output I get from the installation. Thanks! AttachmentSnap7 installation output.txt (1297 Downloads) |
6/18/2018 3:09 PM | |
Joined: 4/28/2015 Last visit: 11/12/2024 Posts: 3345 Rating: (379)
|
Hi,
you are not using an IOT2000, are you? I managed to install the snap7 library on the IOT2000 with the instruction and library snap7-iot-quark-1.4.2.tar.gz from my last post:
After there steps I was able to use the examples provided by python-snap7. In some examples you have to correct the sytax because these examples are writte for python2.7. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
This contribution was helpful to3 thankful Users |
6/18/2018 5:06 PM | |
Posts: 3 Rating: (0) |
Hi, Nevertheless this package is for intel i586 and I'm using x86_64. Therefore i also tried with snap7-full-1.4.2.7z and build it for the right distribution. The output I'm getting is just the same. Attachmentsnap7 output.txt (911 Downloads) |
Follow us on