Hi !
Thanks you all for your answers and advice. It's much clearer for me now how require and e3 work, as well as the different ways to connect with Beckhoff hardware. The links you gave me have already been useful !
I think the solution best suited for our project is probably using ecmc and e3, beacuse I'll mostly work alone on EPICS.
I have successfully connected to a Beckhoff terminal through ecmc, thanks to a colleague, and I'm now trying to do a proper (maintenable) e3 installation.
Best,
Sibylle
Hello Sibylle, Timo and All,
I'm happy to support with ecmc related questions (if I can).
At PSI we use Debian 12 for ecmc, works well.
Some information on how to configure an ecmc ioc with ecmccfg can be found here:
https://urldefense.us/v3/__https://paulscherrerinstitute.github.io/ecmccfg/manual/__;!!G_uCfscf7eWS!YsuuSbkdiuvl3Dw4-RBOdwd8BkjulaczpPdzS2fnfRB0frwwdBBlgSeRmzLNlVzvLBDn-PUuP5lANxEG9Ghs-ZxdofTo-A$
and example iocs:
https://urldefense.us/v3/__https://github.com/paulscherrerinstitute/ecmccfg/tree/master/examples/PSI/best_practice__;!!G_uCfscf7eWS!YsuuSbkdiuvl3Dw4-RBOdwd8BkjulaczpPdzS2fnfRB0frwwdBBlgSeRmzLNlVzvLBDn-PUuP5lANxEG9Ghs-Zyn75cr1w$
BTW, there's no need for any twincat related project or files when configuring an ecmc-ioc.
Best Regards
Anders
> On 28 May 2025, at 15:53, Timo Korhonen <Timo.Korhonen at ess.eu> wrote:
>
> Hello Sibylle and all,
>
> Like Jörn replied, there should be no issues to build e3 on Ubuntu. If you have the prerequisites installed, it should build pretty much out of the box.
>
> For ecmc, I think it would be good to contact Anders Sandström at PSI (in cc, as I am not sure if Anders follows tech-talk). I know they are using it to operate a lot of motors, also with EPICS.
> I have not built or used it myself recently, but I can really recommend it, it is an excellent package. There has been a lot of substantial improvements in the last years, and depending on your application I think it could have some substantial advantages over other solutions, event TwinCAT.
>
> Best regards,
>
> Timo (ESS)
>
> On 2025-05-28, 15:10, "Tech-talk on behalf of Jörn Dreyer via Tech-talk" <tech-talk-bounces at aps.anl.gov <mailto:tech-talk-bounces at aps.anl.gov> on behalf of tech-talk at aps.anl.gov <mailto:tech-talk at aps.anl.gov>> wrote:
>
>
> Hello Sibylle,
>
>
> I have successfully used e3 on an Ubuntu 24.04 host. I guess that your failure comes from missing prerequisites.
> I have installed the following packages before using e3:
>
>
> - patch
> - m4
> - gcc
> - g++
> - tclx
> - python3-dev
> - libtirpc-dev
> - re2c
> - patchelf
> - libusb-dev
> - libsnmp-dev
> - libxml2-dev
> - libreadline-dev
> - libopencv-dev
> - libudev-dev
> - libboost-all-dev
> - libgsl-dev
> - git
> - libglib2.0-dev
> - libx11-dev
> - libxext-dev
> - libzip-dev
> - libfreetype-dev
> - liblcms2-dev
> - make
>
>
> I tested it on a VM with a fresh installed Ubuntu desktop and also OpenSuSE Tumbleweed without problems.
>
>
> Regarding your questions:
>
>
> 1) It depends on the type of devices you want to talk to. For motors, I would recommend to give the ess ethercatMC a try If you have a Beckhoff PLC in your system
> There is also a BechhoffADS driver that talks directly via the etherlab driver to the devices, but it is limited to certain devices.
>
>
> 2) If your device is not supported you might need to implement it for the BeckhoffADS driver.
>
>
> I don't know ecmc by hart, but if I remember correctly it is quite fancy but hard to set up as it takes a project file from TwinCAT and gives you access to each and every register of you devices.
> This could be dangerouse for a novice as you can possibly destroy your device by misconfiguration.
>
>
> Hope this helps you a bit,
>
>
> Jörn
>
>
> Am Mittwoch, 28. Mai 2025, 13:23:34 Mitteleuropäische Sommerzeit schrieb Sibylle Ducroizé via Tech-talk:
>> Hello,
>>
>> I have just started working on an update of the control system software
>> for an accelerator.
>> I am still trying out different configurations and learning how to use
>> EPICS. I followed the tutorial of the EPICS documentation so I know
>> basic information about IOCs and have common support modules installed
>> (asyn, calc, streamDevice,...)
>>
>> I would like to communicate with Beckhoff I/O terminals, both as a way
>> to learn EPICS and to try out configurations for the final project. I
>> have tried following this advice
>> <https://epics.anl.gov/tech-talk/2018/msg00279.php > <https://epics.anl.gov/tech-talk/2018/msg00279.php > > from a previous
>> tech-talk question from 2018.
>> So far I have installed etherlab's ethercat master
>> <https://urldefense.us/v3/__https://gitlab.com/etherlab.org/ethercat__;!!G_uCfscf7eWS!e7dazAbiiIaQgW2B8trCKUmDQiA1qqxV5LI23pHrrWfr0BtoCOobFERw9NiJhtJAc2dQlUH666hIKgU87BJ95yX-AITXpQ$ <https://urldefense.us/v3/__https://gitlab.com/etherlab.org/ethercat__;!!G_uCfscf7eWS!e7dazAbiiIaQgW2B8trCKUmDQiA1qqxV5LI23pHrrWfr0BtoCOobFERw9NiJhtJAc2dQlUH666hIKgU87BJ95yX-AITXpQ$> > and I've tried installing
>> PSI's ecmc <https://urldefense.us/v3/__https://github.com/epics-modules/ecmc__;!!G_uCfscf7eWS!e7dazAbiiIaQgW2B8trCKUmDQiA1qqxV5LI23pHrrWfr0BtoCOobFERw9NiJhtJAc2dQlUH666hIKgU87BJ95yXNbSPhcQ$ <https://urldefense.us/v3/__https://github.com/epics-modules/ecmc__;!!G_uCfscf7eWS!e7dazAbiiIaQgW2B8trCKUmDQiA1qqxV5LI23pHrrWfr0BtoCOobFERw9NiJhtJAc2dQlUH666hIKgU87BJ95yXNbSPhcQ$> >which needs e3
>> <https://urldefense.us/v3/__https://gitlab.esss.lu.se/e3/e3__;!!G_uCfscf7eWS!e7dazAbiiIaQgW2B8trCKUmDQiA1qqxV5LI23pHrrWfr0BtoCOobFERw9NiJhtJAc2dQlUH666hIKgU87BJ95yWHPmVh9Q$ <https://urldefense.us/v3/__https://gitlab.esss.lu.se/e3/e3__;!!G_uCfscf7eWS!e7dazAbiiIaQgW2B8trCKUmDQiA1qqxV5LI23pHrrWfr0BtoCOobFERw9NiJhtJAc2dQlUH666hIKgU87BJ95yWHPmVh9Q$> > to build. Unfortunately, e3-build
>> fails to install epics base so I didn't get very far...I am on ubuntu
>> which might be the problem.
>>
>> My questions :
>>
>> 1. Are there maintained EPICS drivers for communicating with Beckhoff I/O ?
>>
>> 1.a. If so, is ecmc a good option ? (As it depends on e3, meant to
>> run on centOS which is obsolete)
>>
>> 1.b. Are there other similar alternatives ?
>>
>> 2. Should I basically write my own drivers ?
>>
>> 1.a. An advice / general approach for me to follow as I am new to
>> EPICS ?
>>
>> Thanks,
>>
>> Sibylle
>>
>
>
>
>
>
>
>
>
>
- References:
- Communicating with Bechoff I/O through EPICS Sibylle Ducroizé via Tech-talk
- Re: Communicating with Bechoff I/O through EPICS Jörn Dreyer via Tech-talk
- Re: Communicating with Bechoff I/O through EPICS Timo Korhonen via Tech-talk
- Re: Communicating with Bechoff I/O through EPICS Sandström Anders Eric via Tech-talk
- Navigate by Date:
- Prev:
Re: Enable or select records Ralph Lange via Tech-talk
- Next:
Re: aai to multiple states Dr. Simon Friederich via Tech-talk
- 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
<2025>
- Navigate by Thread:
- Prev:
Re: Communicating with Bechoff I/O through EPICS Sandström Anders Eric via Tech-talk
- Next:
RE: Communicating with Bechoff I/O through EPICS Žiga Oven via Tech-talk
- 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
<2025>
|