vendingman
Posts: 3
Joined: Wed Mar 02, 2016 1:38 pm

intergrating pi with siemens cpu

Fri Mar 04, 2016 4:30 pm

does anyone have any experiance of intergrating pi with a sieman s7 1200 cpu
needs some help explaining how to manage this

Heater
Posts: 16867
Joined: Tue Jul 17, 2012 3:02 pm

Re: intergrating pi with siemens cpu

Fri Mar 04, 2016 5:07 pm

That is no CPU. That is a PLC.

I presume it has serial/ethernet/whatever interfaces. And that there is some data protocol going on over those interfaces you want to work with. As such it could as well be any other computer you want to communicate with.

Your question is too vague.

Do you know how to program? In C/C++, Java, Python, whatever? Do you know Linux? Do you know those protocols you want to deal with?

In short, I'm sure it's possible but we need more information on what it is you actually want to do.
Memory in C++ is a leaky abstraction .

Wortelsoft
Posts: 3
Joined: Fri Mar 04, 2016 2:11 pm
Location: The Netherlands

Re: intergrating pi with siemens cpu

Fri Mar 04, 2016 8:12 pm

You could probably communicate with the S7 using modbus TCP. See here for an example:
http://www.ostafichuk.com/raspberry-pi- ... c-example/

jsobota
Posts: 42
Joined: Tue Jul 10, 2012 3:24 pm
Location: Plzen, Czech Republic

Re: intergrating pi with siemens cpu

Sun Apr 10, 2016 12:15 am

You might be interested in this solution for connecting your RPi to Siemens PLCs:
https://www.rexcontrols.com/product/rex ... spberry-pi

Return to “General discussion”