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  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem with a calc record
From: Ralph Lange via Tech-talk <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Tue, 28 May 2019 13:40:28 +0200
The behavior depends on what the s7nodave driver does.

The caveat is:
Input links that PP point to input records with asynchronous device support will always read the current value and trigger the record to process, so the record reading the link will see the "old" value, and the new value (that was acquired as a result of the asynchronous processing) is not seen.

In such situations, FLNK is your best friend, because in records with asynchronous behavior, FLNKs are triggered during the second phase processing (i.e. after the new value was read).

Still, for an alive counter, I would expect the input record to be "I/O Intr" scanned, so that every step of the counter is seen. Then the watchdog calc record can do whatever it prefers to see if things are still moving, e.g. scan periodically and use an NPP input to check the alive counter differs from the last time, before saving the current alive counter value in another field.

Cheers,
~Ralph


References:
Problem with a calc record CAPOBIANCO Roberto via Tech-talk

Navigate by Date:
Prev: Problem with a calc record CAPOBIANCO Roberto via Tech-talk
Next: Re: [EXTERNAL] FW: I/O Intr scanning Klemen Vodopivec 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem with a calc record CAPOBIANCO Roberto via Tech-talk
Next: website issues? Evans, Richard K. (GRC-H000) 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  <20192020  2021  2022  2023  2024 
ANJ, 28 May 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·