Page 1 of 1

Siemens Logo! 8 PLC Controller, Python and Mac OS X

PostPosted: Mon Mar 06, 2017 3:32 pm
by RageDoctor
Dear Folks,

I am playing around with my Siemens PLC Logo! 8 I would like to use my Programmable Logic Controller to control my irrigation system (Hunter) with 14 valves.

Using the Logo! 8 PLC works quite nicely to control the valves
Controlling the PLC via network using Python script on a Win 10 works also quite nicely
Controlling the PLC via network using Python script on a Mac OS X does not work at all

Unfortunatelly I was not able to run libnodave on my Mac. Is anyone using a PLC from Siemens and has some experience?

Best regards,
Marcus

Re: Siemens Logo! 8 PLC Controller, Python and Mac OS X

PostPosted: Tue Mar 07, 2017 6:10 am
by jblackburn
Hi Marcus,

I've you tried this: https://pypi.python.org/pypi/python-snap7/0.7

Thanks

Joël

Re: Siemens Logo! 8 PLC Controller, Python and Mac OS X

PostPosted: Tue Mar 07, 2017 11:44 am
by RageDoctor
Sounds nice! Will give it a try, Thank you :D

Re: Siemens Logo! 8 PLC Controller, Python and Mac OS X

PostPosted: Thu Apr 06, 2017 11:27 am
by RageDoctor
Finally, I made it! After weeks of trial and error I am finally being able to establish a communication between Indigo > Python > SPS (Logo!8 by Siemens). I circumvented the necessary library by adding TCP/IP and S7Comm to my Python script(s). Works really great! Please find attached pictures and an overview. I will now control 14 sprinkler valves and 6 exterior LED lights via Indigo using different kind of triggers.