EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: alarm acknowledge
From: Andrew Johnson <[email protected]>
To: Matthias Clausen <[email protected]>, "Core-Talk" <[email protected]>
Date: Wed, 29 Sep 2010 11:47:03 -0500
Hi Matthias,

On Wednesday 29 September 2010 10:52:48 Matthias Clausen wrote:
>
> is there a place in the EPICS doc which describes how to actually
> acknowledge alarms correctly on an IOC?

The AppDevGuide mentions the ACKT and ACKS fields in sections 11.6.2 and 
15.3.3 but doesn't explain how to access the acknowledgement fields through 
CA.  The CA reference manual does describe the three DBR types that you need 
to use, but isn't really explicit about how to use them.

> I need an implementation in Java which we will do ourselves. As far as I
> remember from 'old alh' times the mechanism was not straight forward.
> Reading should work through the ACKS field - or is there a DBR type
> which includes this information?

I don't know for sure whether JCA/CAJ supports these, but I think it should:

* To monitor the current alarm info ask for DBE_ALARM events with the special 
DBR_STSACK_STRING request type, which provides the values of all four alarm 
fields in one structure (there's a typo in the CAref manual that I just fixed, 
where it says "ackv" it means "acks").
* To set the ACKT field of a record for configuring its transient alarm 
behaviour make a DBR_PUT_ACKT request with ca_put() or ca_put_callback() and 
the values 0 (no ack needed for transient alarms) or 1 (ack needed).
* To acknowledge an alarm do a put request with DBR_PUT_ACKS and the severity 
value that you want to acknowledge.

> Hope to see you in two weeks!

You too, I'm planning to be there.

- Andrew
-- 
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it.  If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence.  -- Bertrand Russell


Replies:
Re: alarm acknowledge Matthias Clausen

Navigate by Date:
Prev: 3.14.12 Release Planning Andrew Johnson
Next: Re: alarm acknowledge Matthias Clausen
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: 3.14.12 Release Planning Andrew Johnson
Next: Re: alarm acknowledge Matthias Clausen
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·