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  2014  2015  2016  2017  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EtherCAT newbie question
From: Jeong Han Lee <[email protected]>
To: [email protected]
Date: Mon, 30 Jul 2018 22:53:24 +0200
Hi EPICSers,


I would like to add latest repository [1] about the configuration of the ethelab master in order to make this discussion alive.

It may not good for the isolated deployment case, but may be good enough to run it within houses, labs, and so on. It also support dkms, systemd service, and so on and was tested with CentOS7.5 and Debian 9.

One needs mercurial, kernel sources, and dkms. Maybe if one doesn't care about many packages along OS, please check the additional site [2].

  HTH,

  Han


[1] https://github.com/icshwi/etherlabmaster
[2] https://github.com/jeonghanlee/pkg_automation


On 02/06/2018 10:45 PM, Jeong Han Lee wrote:
Hi Mark,

   Sorry for the duplicated and not-ready-to-be-email, I hit the wrong button.


   For the simple inexpensive setup, one needs the EtherCAT Master, the EtherCAT Slave, and some HW as follows:

  1)  EtherCAT Master : There are three different versions due to many other reasons. In order to configure the the master, please look at my ugly script repo :

     https://github.com/jeonghanlee/ecat_setup

    I think, you can find three repositories. If you have any issue to access any of them, please let me know. And if you know better one, please let me know.


   2) HW list

    * EK1100    EtherCAT Coupler (EtherCAT Terminals EL/ESxxxx)

   * Some modules AI/AO and so on (depends on your selection for EPICS EtherCAT driver&DB, please look at 3)

    * EL9011    Bus end cap

    In addition, you need a PC has two Ethernet interfaces.


   3)  EPICS EtherCAT Driver and DB

    3.1) Diamond  https://github.com/dls-controls/ethercat
        : It has DB and Driver. And DB files help you which HW you can buy)

    3.2) PSI  https://github.com/paulscherrerinstitute/ecat2
   3.2*) ESS https://github.com/icshwi/m-epics-ecat2 ; (old forked version of PSI)         : They do not have DB files, so you need another DB files for this. Please look at https://github.com/icshwi/e3-ecat2db/tree/master/ecat2db, then you can find which HW can be used without writing any codes)


   Well, it is not the perfect condition in terms of many issues. We (ESS) are trying to find a way in order to minimize risks in the future.


    HTH,
    Han

P.S. I enclosed the photo of a EtherCAT test setup, which I built with my colleague in our lab.


On 02/06/2018 08:37 PM, Mark Rivers wrote:
I am interested in trying out EtherCAT with a simple inexpensive setup. What are the minimum parts I need to buy if I want to use the EPICS EtherCAT driver to control some digital I/O, analog I/O, and a stepper motor?  I looked at the Beckhoff website, but I find it overwhelming.

Thanks,

Mark



References:
EtherCAT newbie question Mark Rivers
Re: EtherCAT newbie question Jeong Han Lee

Navigate by Date:
Prev: Re: Detect VC++ version in Makefile? Mark Rivers
Next: a question for msi Jeong Han Lee
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EtherCAT newbie question Jeong Han Lee
Next: Re: EtherCAT newbie question Torsten Bögershausen
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 30 Jul 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·