1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <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 2012 2013 <2014> 2015 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 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] |