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  <20202021  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  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE:Alarm indicator in CSS
From: Donny Domagoj Cosic via Tech-talk <tech-talk at aps.anl.gov>
To: GAGET Alexis <alexis.gaget at cea.fr>
Cc: tech-talk at aps.anl.gov
Date: Fri, 27 Nov 2020 14:14:56 +0100
Hi Alexis,

Thank you for your response. I am not using BEAST because I was not able to get it to work correctly (is there any tutorial or information on how to set it up?) I tried your approach and it is a very good idea, thank you. Could you just clarify a few things for me.

1. With the CALC field set to "0" isnt the output always "0"? Should the CALC field be a logical expression with an OR between all inputs? 2. You use the MS field which I am guessing only signals when a MAJOR alarm is triggered. Is it possible to get an output for any value of SEVR except NO_ALARM?

Thank you once again,

---
Donny Domagoj Cosic
 Institut Ruđer Bošković, Bijenička cesta 54, 10000 Zagreb, Croatia

Dana 27.11.2020 10:28, GAGET Alexis je napisao(la):
Hi Donny,
Are you using an alarm server (BEAST) or just using a simple LED in CSS ?
In Beast I think you have the possibility to agregate the alarm
easily. Expert will answer you better than m.

Otherwise a way to do it with the database record:

record(calc, "$(MyMarvelousPV):Defects") {
    field(DESC, "global alarm severity")
    field(CALC, "0")
    field(INPA, "C2TS:COND:DefectsSecuBox1.SEVR CPP MS")
    field(INPB, "C2TS:COND:DefectsSecuBox2.SEVR CPP MS")
    field(INPC, "C2TS:COND:DefectsTemp.SEVR     CPP MS")
    field(INPD, "C2TS:COND:DefectsVac.SEVR      CPP MS")
    field(INPE, "C2TS:COND:DefectsRFPow.SEVR    CPP MS")
    field(INPF, "C2TS:COND:DefectsRFSrc.SEVR    CPP MS")
    field(INPG, "C2TS:COND:DefectsPUPM.SEVR     CPP MS")
}

The MS field (for Maximize Severityà means that my PV
$(MyMarvelousPV):Defects will have the field SEVR (severity) of the
higher severity of my inputs.

After that you can display easily your $(MyMarvelousPV):Defects in CSS.

cheers,

Alexis GAGET
CEA Saclay - DRF/Irfu/DIS/LDISC
alexis.gaget at cea.fr
________________________________________
De : Tech-talk [tech-talk-bounces at aps.anl.gov] de la part de Donny
Domagoj Cosic via Tech-talk [tech-talk at aps.anl.gov]
Envoyé : vendredi 27 novembre 2020 08:43
À : tech-talk at aps.anl.gov
Objet : Alarm indicator in CSS

Hello,

I am still relatively new to EPICS, but I am slowly building up the
system in our lab. In many of the presentations about EPICS I see a nice
alarm panel with LED displays that turn on when an alarm is raised. I
have been trying to implement this but I am having some difficulties.

I set alarm levels in my IOC for various sub systems such as radiation,
vacuum etc. and now I would like to have a general indicator in CSS that
will indicate an alarm has been raised in any of these sub systems. So,
for example, if any of the radiation probes trigger an alarm, a general
indicator will signal this to the user as an LED in CSS.

Is there any tutorials on how I would implement such a indicator or
would you be able to provide me with a overview on how to implement it?

Thank you,

--
Donny Domagoj Cosic
  Institut Ruđer Bošković, Bijenička cesta 54, 10000 Zagreb, Croatia

Replies:
RE:RE:Alarm indicator in CSS GAGET Alexis via Tech-talk
References:
Alarm indicator in CSS Donny Domagoj Cosic via Tech-talk
RE:Alarm indicator in CSS GAGET Alexis via Tech-talk

Navigate by Date:
Prev: RE:Alarm indicator in CSS GAGET Alexis via Tech-talk
Next: ioc startup file installation Felix Krämer 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: RE:Alarm indicator in CSS GAGET Alexis via Tech-talk
Next: RE:RE:Alarm indicator in CSS GAGET Alexis 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  <20202021  2022  2023  2024 
ANJ, 27 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·