EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Connection to Siemens S7 PLC
From: Pavel Masloff <[email protected]>
To: "Mueller, Joachim" <[email protected]>
Cc: [email protected]
Date: Wed, 22 Feb 2012 16:07:02 +0400
Hello all,

Concerning Dirk's s7plc driver (SLS) which is written for linux only, has anyone tried to rewrite it for windows?
I am not that expert in drivers development, but I would be grateful if anyone could help me.
>From what I can see, there are some header files (and corresponding libraries/functions) which are linux specific. For example, <unistd.h>,<sys/socket.h>, <netinet/in.h>. Perhaps, <winsock2.h> might do the trick?

Maybe someone has already tried to port s7plc to Windows platform?

On Wed, Feb 22, 2012 at 1:10 PM, Mueller, Joachim <[email protected]> wrote:
Hi,

just a few thoughts about the S7. It is not possible to open a Step7 Project for the S7-300
or S7-400 with Step7 MicroWin. These system do not have anything in common than the
name and the vendor. S7-200 has a different architecture than the 300/400 system. And
therefore a completely different programming environment.

I have not tried yet, but I think the S7plc driver should also work with a S7-1200 System
because it is also TCP/IP.

With the CP 243-1 on a S7-200 it should also work, but you cannot use the example project
delivered with the S7plc software.

Greetings, Joachim

--
--------------------------------------------------------------------------------------------------------------
Joachim Mueller, Dipl.-Ing.(FH)                                 Deutsches Elektronen-Synchrotron (MKK4)
phone:  +49-40-8998-2562                                                                                                         Notkestr. 85
fax:    +49-40-8994-4305                                                                                                        22607 Hamburg
e-mail: [email protected]                                                                                               Germany
--------------------------------------------------------------------------------------------------------------


>-----Original Message-----
>From: [email protected] [mailto:tech-talk-
>[email protected]] On Behalf Of Konrad Gajewski
>Sent: Tuesday, February 21, 2012 1:14 PM
>To: [email protected]
>Subject: Connection to Siemens S7 PLC
>
>Hello everybody,
>
>I'm new to EPICS and I am planning  to control Siemens Simatic S7-200
>PLC. I have looked in EPIC documentation and found at least two ways to
>connect the PLC:
>
>1. via MODBUS (Asyn) driver over the serial connection (using Siemens
>MODBUS RTU library)
>2. using S7plc driver via TCP/IP and a CP 243-1 Ethernet module.
>
>The programming of the PLC is done using Step-7 Micro/WIN V4.0.
>Unfortunately I can't open the example STEP 7 PLC project  (for S7plc
>driver) in Step-7 Micro/WIN.
>
>Do you have any experience with such a configuration or maybe with
>S7-1200? Are there any better options?
>
>Thanks,
>   Konrad
>
>--
>Konrad Gajewski
>Senior Research Engineer
>Uppsala University                    Tel:    +46-18-4713888
>The Svedberg Laboratory               mailto:[email protected]
>Box 533, S-751 21 Uppsala, Sweden
>http://www.tsl.uu.se/





--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Phone: +7 (812) 461 01 01


Replies:
Re: Connection to Siemens S7 PLC Paul Sichta
RE: Connection to Siemens S7 PLC Mark Rivers
References:
Connection to Siemens S7 PLC Konrad Gajewski
RE: Connection to Siemens S7 PLC Mueller, Joachim

Navigate by Date:
Prev: Re: Problems with priorities in epicsThreadCreate (part of the EPICS OSI software layer) Goetz Pfeiffer
Next: Re: QT-based tools: Expressions of interest requested Mark Davis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Connection to Siemens S7 PLC Mueller, Joachim
Next: Re: Connection to Siemens S7 PLC Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·