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

Posted on
Mon Mar 06, 2017 3:32 pm
RageDoctor offline
Posts: 72
Joined: Oct 03, 2015
Location: Wiesbaden, Germany

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

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

Every beginning is hard...
Software: Indigo 6.1.4
Controller: Z-Stick Gen 5
Devices: Fibaro Wall Plug, Motion Sensor and Door/Window Sensor, Aeon Labs MultiSensor 6, more to come...

Posted on
Tue Mar 07, 2017 6:10 am
jblackburn offline
Posts: 67
Joined: Dec 11, 2013
Location: Quebec, Canada

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

Hi Marcus,

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

Thanks

Joël

Posted on
Tue Mar 07, 2017 11:44 am
RageDoctor offline
Posts: 72
Joined: Oct 03, 2015
Location: Wiesbaden, Germany

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

Sounds nice! Will give it a try, Thank you :D

Every beginning is hard...
Software: Indigo 6.1.4
Controller: Z-Stick Gen 5
Devices: Fibaro Wall Plug, Motion Sensor and Door/Window Sensor, Aeon Labs MultiSensor 6, more to come...

Posted on
Thu Apr 06, 2017 11:27 am
RageDoctor offline
Posts: 72
Joined: Oct 03, 2015
Location: Wiesbaden, Germany

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

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.
Attachments
Folie1.jpg
Folie1.jpg (55.76 KiB) Viewed 1039 times
20170406_001018_resized.jpg
20170406_001018_resized.jpg (452.71 KiB) Viewed 1039 times

Every beginning is hard...
Software: Indigo 6.1.4
Controller: Z-Stick Gen 5
Devices: Fibaro Wall Plug, Motion Sensor and Door/Window Sensor, Aeon Labs MultiSensor 6, more to come...

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest