EPICS Home

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  <20172018  2019  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Time interval for Asyn auto reconnect
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Mon, 31 Jul 2017 10:21:14 -0500
On 07/28/2017 08:46 PM, Paduan Donadio, Marcio wrote:
> 
> The only thing I didn't understand yet is why it is processing
> each 5 seconds and not each 10 seconds.

That's relatively easy if you follow the processing chain in the
database. Removing the fields not related to that, every 10 seconds this
record gets triggered by the SCAN setting:

> record(calcout, "BSOIC:B44:4:GammaAsynControlCount")
> {
>   field(SCAN, "10 second")
>   field(FLNK, "BSOIC:B44:4:GammaAsynControlCheck")
> }

When that processing is finished, the FLNK field processes this:


> record(calcout, "BSOIC:B44:4:GammaAsynControlCheck")
> {
>   field(OOPT, "Transition To Non-zero")
>   field(OUT,  "BSOIC:B44:4:GammaAsynControlReset.PROC PP")
> }

Because that OUT link is marked PP, after writing the value it causes
this record to process:

> record(seq, "BSOIC:B44:4:GammaAsynControlReset")
> {
>   field(LNK2, "BSOIC:B44:4:GammaAsynControl.CNCT PP")
>   field(DLY3, "2")
>   field(LNK4, "BSOIC:B44:4:GammaAsynControl.CNCT PP")
> }

Both of those links are also marked PP, so they will both process this
record, but with at least a 2 second gap (DLY3) in between:

> record(asyn, "BSOIC:B44:4:GammaAsynControl") {
> }

The gap can be more than 2 seconds depending on how long the it took to
process the asyn record the first time (after setting CNT to 0).

HTH,

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

References:
Time interval for Asyn auto reconnect Paduan Donadio, Marcio
RE: Time interval for Asyn auto reconnect Mark Rivers
Re: Time interval for Asyn auto reconnect Paduan Donadio, Marcio
Re: Time interval for Asyn auto reconnect Mark Rivers
Re: Time interval for Asyn auto reconnect Paduan Donadio, Marcio
Re: Time interval for Asyn auto reconnect Paduan Donadio, Marcio

Navigate by Date:
Prev: Re: Time interval for Asyn auto reconnect Paduan Donadio, Marcio
Next: EPICS Redundancy Adil Razzaq
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Time interval for Asyn auto reconnect Paduan Donadio, Marcio
Next: GeniCam support for CamLink cameras Bruce Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024