EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: AO Record: New Drive Limit Mode?
From: "Bob Dalesio" <[email protected]>
To: Korhonen Timo <[email protected]>, [email protected]
Date: Wed, 10 Apr 2002 12:44:12 -0600
> What I finally did, and seems to be running fine, was a
> solution using 
> the IVOA in the calcout, sending a "Reject-alarm" to the
> user and reject 
> the value - the invalid value is not sent out.
> In fact, with this combination I could implement both the
> options in
> Kay's original posting (although I had to play with the
> alarm states
> a bit - "Invalid" versus limit checks, like in what
> Andrew wrote.)
I want to recall that the IVOA - invalid action - was
intented to be used wih Maximize severity. If you had a
control logic where any of the records in the chain were
INVALID, then the output needed to decide how to handle it.

In summary, I favor catches both Timo's and Kay's situations
in the AO record clamping code. This is before alarms are
set, IVOA is taken and monitors are posted. The discussion
for this preference follows.

If this functionality is changed as suggested above - what
occurs in these two cases:

The value was outside the limit, the state is set to
invalid, the IVOA catches it after alarms are checked but
before monitors are posted. Does it change the value to the
in-range value and leave the INVALID alarm? Or does it try
to remove the INVALID alarm? If it tries to remove the
INVALID alarm, it needs to know if the INVALID was the
result of the MAXIMIZE severity and an INVALID Input as well
as the limit being exceeded. I think it would be more
straight forward to make the value in range and leave the
INVALID alarm. It may be confusing, however.

When the value coming in throgh the DOL link / Maximize
Severity link is the reason for the INVALID alarm, the IVOA
that says keep the old may now get an older value. The code
to check this behavoir would also need to look and see what
caused the INVALID alarm.

On the other hand, the suggestion to include a field for
what to do when a value is out of range seems a seperate
issue to me. A value can be any combination of in range/out
of range and VALID/INVALID.

The value clamping occurs before alarms are checked. NaN and
DRVH/DRVL range should be caught at this time. Perhaps we
should add the ability to set the alarm condition and
severity for this error. If we set it to INVALID, then we
will also get the behavior of IVOA. If we set it to MAJOR,
we have the value either clamped or not changed at all, a
MAJOR alarm severity and a RANGE ERROR on the alarm status.
If we set it to INVALID, the clamped/reset value will also
be subjected to the possible IVOA choices - no action, go to
know value, do not drive output.

Bob


Bob Dalesio
[email protected]
410 557 0297 Maryland
505 667 3414 Los Alamos
505 699 1632 Cell Phone
505 667 6087 Our Secretary (Judy)

References:
Re: AO Record: New Drive Limit Mode? Korhonen Timo

Navigate by Date:
Prev: Re: NAN and INF Christopher Larrieu
Next: Re: AO Record: New Drive Limit Mode? J. Frederick Bartlett ([email protected])
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: AO Record: New Drive Limit Mode? Korhonen Timo
Next: Re: AO Record: New Drive Limit Mode? mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·