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  2012  2013  <20142015  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  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: connecting EPICS to a Beckhoff PLC [SEC=UNCLASSIFIED]
From: "LYNCH, Damien" <[email protected]>
To: BOGARD Daniel <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 4 Dec 2014 23:00:56 +0000

Hi Daniel,

 

We’ve got a couple of CX9020 PLCs integrated into EPICS. One of the PLCs is running TwinCAT 2 and the other is running TwinCAT 3. As already mentioned there are a few options of integrating Beckhoff embedded PCs into an EPICS system but we are using the EtherCAT bus. If you aren’t already using EtherCAT or don’t plan to then I’d probably not go down this path as it will take more time to get working. If you would like to use the EtherCAT bus then you’ll have to buy the EtherCAT slave peripheral for the CX9020. Then the basic steps we do are:

 

1) In TwinCAT write your PLC program (we are using structured text)

2) For the PLC variables you would like to expose to the EPICS mastered EtherCAT bus create matching variables in the EtherCAT slave peripheral. This is done in TwinCAT as well of course

3) In TwinCAT link the PLC and EtherCAT slave variables

4) On the EPICS master side create the ESI file for the embedded PC. I use “ethercat xml” as the basis of this operation

5) Use the DLS EtherCAT package tools to create the scanner configuration and the DB template files as you would normally.

 

Damien

 

From: [email protected] [mailto:[email protected]] On Behalf Of BOGARD Daniel
Sent: Thursday, 4 December 2014 8:30 PM
To: [email protected]
Subject: connecting EPICS to a Beckhoff PLC

 

Hi All,

I have to connect a CX9020 Beckhoff PLC to EPICS. Does anyone have a suggestion to do this.

Thanks in advance.

 

Daniel BOGARD

CEA

DSM/IRFU/SIS/LDISC

CE Saclay

Bat 472 Pce 125

Tel : 01 69 08 72 04

Mail : [email protected]

 


Replies:
Re: connecting EPICS to a Beckhoff PLC [SEC=UNCLASSIFIED] Torsten Bögershausen

Navigate by Date:
Prev: RE: FW: EPICS 3.15.1 Mooney, Tim M.
Next: Error in Linking a shared library Muhammad Saleem
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CA Gateway 2.0.5.0 released Ralph Lange
Next: Re: connecting EPICS to a Beckhoff PLC [SEC=UNCLASSIFIED] Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·