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  2018  2019  2020  2021  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re Help Arduino EPICS
From: Miklós Boros via Tech-talk <tech-talk at aps.anl.gov>
To: Pete Jemian <jemian at anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 23 Aug 2022 07:08:33 +0000
Dear Pete,

I won’t be able to help you too much I guess with your Arduino question.
I have implemented however the Channel Access protocol for a Siemens S71516 PLC.
The code is of course not compatible with the Arduino language, but for someone who can read the PLC code it is much more readable than a piepics library implementation source as the PLC can’t use object oriented approach so is work in an endless loop just like the Arduino.

Here is the source.
https://bitbucket.org/bmykeb/s7epics/src/master/

This is not an IOC implementation. Only an EPICS ChannelAcces implementation directly on S71500 SCL language.

With this implementation the PLC will be capable to create PVs, so CSStudio can directly read and write values from the PLC without the need for an IOC in between.

Please find some more information here:
http://borosmiklos.hu/s7epics.html

Note: this implementation was not tested with real application. This was make as a proof of concept and can contain bugs that have to be fixed along the way.



Hope it helps,
Cheers,
Miklos

-----Eredeti üzenet-----
Feladó: Tech-talk <tech-talk-bounces at aps.anl.gov> E személy nevében: Pete Jemian via Tech-talk
Küldve: Monday, August 22, 2022 4:44 PM
Címzett: tech-talk at aps.anl.gov
Tárgy: Re: Help

In this example using an Arduino with EPICS, https://cmd-response.readthedocs.io, the IOC runs on a linux computer (RPi, in the example) and communicates with the Arduino over USB.

But if are you asking if anyone has implemented Channel Access protocol to run directly on the Arduino?  I don't think so.

Pete


On 8/22/2022 9:33 AM, LE-DANIEL Erwann via Tech-talk wrote:
> Hello,
> 
> I’m actually working on a bench witch use EPICS technology and I would like to add a tool on the network.
> 
> This tool is composed with an Arduino, and I would know if it is possible to connect and use Arduino to receive message from EPICS Network ?
> 
> Message on the network are from Variable Service (VS).
> 
> I hope my message has enough description to explain my need… Many Thanks for help.
> 
> At the same time I’m looking for web project using EPICS + Arduino, Pyepics and others..
> 
> Sincerely,
> 
> LE DANIEL Erwann From France.
> 
> 
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ---------- CONFIDENTIALITY : This e-mail and any attachments are 
> confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.

--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                 <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source,    Argonne National Laboratory
Argonne, IL  60439                    630 - 252 - 3189
-----------------------------------------------------------
       Education is the one thing for which people
          are willing to pay yet not receive.
-----------------------------------------------------------
  


References:
Help LE-DANIEL Erwann via Tech-talk
Re: Help Pete Jemian via Tech-talk

Navigate by Date:
Prev: Re: Re: Re: Re: Re: RTEMS 5 Cannot Read Event Generator chengsn via Tech-talk
Next: Recommended amplifiers/drivers for GALIL motor controllers? Jesse Hopkins 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  <20222023  2024 
Navigate by Thread:
Prev: Re: Help Josh Fiddler via Tech-talk
Next: SynApps compilation error Marco A. Barra Montevechi Filho 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·