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  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Accessing Record fields from asyn driver
From: Torsten Bögershausen via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, <torsten.bogershausen at esss.se>
Date: Mon, 1 Mar 2021 14:27:41 +0100
Folks,

for some IO we have all logic in a PLC-ish system.
If I take an ai record as an example, the the PLC
does most of the work what we normally do in the record.

Especially:
The PLC "knows" values .EGU, HIGH, LOW, HIHI, LOLO
(and probably others) because all the work is done inside the PLC
program already.

We want of cause an EPICS integration for those kind of devices
(it could be as simple as a temperature sensor), it would be nice if we can use the values from the PLC for e.g. .EGU and the other fields. As is, without having to define the in the record database, with the risk of getting thme out of sync.
And yes, we can query the PLC for all this kind of information.

The asyn framework is really excellent in doing all the polling,
but there is no way to "push" meta data into single record fields.
(Unless I create a lot of helper-records, like a stringin to hold
the .EGU field, and forward the value to the .EGU field of my ai
record).

Are there more people having the same issue ?

Enhancing asyn with this functionality could be one option,
as we have code here to influence the alarm state/severity.

Any thoughts about this ?

Thanks
/Torsten

Replies:
Re: Accessing Record fields from asyn driver Mark Rivers via Tech-talk
Re: Accessing Record fields from asyn driver Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: rectangular with visibility not being updated in MEDM Mark Rivers via Tech-talk
Next: Re: Accessing Record fields from asyn driver Mark Rivers 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: rectangular with visibility not being updated in MEDM Shuei YAMADA via Tech-talk
Next: Re: Accessing Record fields from asyn driver Mark Rivers 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  <20212022  2023  2024 
ANJ, 01 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·