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  2020  2021  2022  <20232024  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  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Dynamic limits in alarms
From: Eusebio Naif Al-Soliman Fuentes via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 05 Jul 2023 20:46:02 +0200
Thank you very much Rolf.

Now it's working perfectly :)
---

Saludos/Best regards

University of Granada  

Eusebio Naif Al-Soliman Fuentes
MSc. Data Science and Computer Engineering

eunaif at correo.ugr.es



El 2023-07-05 20:21, Rolf Keitel escribió:
Hi Eusebio,

the fields HIGH and LOW are scalar fields, not link fields, therefore they cannot solicit values from other records, but they can be set by output links from other records. With proper scanning added, the following should work

record(ao, "alarm_lim_dynamic:Low")
{
    field(DESC, "Test")
    field(PINI, "YES")
    field(OUT, "temperature.oil.LOW")
}

record(ao, "alarm_lim_dynamic:High")
{
    field(DESC, "Test")
    field(PINI, "YES")
    field(OUT, "temperature:oil.HIGH")
}

record(ai, "temperature:oil")
{
    field(DESC, "Oil temperature in the engine")
    field(HSV, "MINOR")
    field(LSV, "MINOR")
}


HTH - rolf -

On 2023-07-05 11:08 a.m., Eusebio Naif Al-Soliman Fuentes via Tech-talk wrote:

record(ao, "alarm_lim_dynamic:Low")
{
    field(DESC, "Test")
    field(PINI, "YES")
}

record(ao, "alarm_lim_dynamic:High")
{
    field(DESC, "Test")
    field(PINI, "YES")
}

record(ai, "temperature:oil")
{
    field(DESC, "Oil temperature in the engine")
    field(HIGH, "alarm_lim_dynamic:High.VAL")
    field(LOW, "alarm_lim_dynamic:Low.VAL")
    field(HSV, "MINOR")
    field(LSV, "MINOR")
}

References:
Dynamic limits in alarms Eusebio Naif Al-Soliman Fuentes via Tech-talk
Re: Dynamic limits in alarms Rolf Keitel via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Paul Sichta 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  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Dynamic limits in alarms Rolf Keitel via Tech-talk
Next: Sequencer usage/Is sequencer repo still down? Marco A. Barra Montevechi Filho 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  2020  2021  2022  <20232024 
ANJ, 05 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·