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: Rolf Keitel via Tech-talk <tech-talk at aps.anl.gov>
To: Eusebio Naif Al-Soliman Fuentes <eunaif at correo.ugr.es>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 5 Jul 2023 11:21:27 -0700
Title: signature text

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")
}

--
Rolf Keitel, Ph.D.
Researcher Emeritus
Office:
TRIUMF, 4004 Wesbrook Mall
Vancouver, BC, V6T 2A3
604 222 7453
Home:
4158 West 13th Ave
Vancouver, BC, V6R 2T6
604 228 0594
e-mail: rolf at triumf.ca

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

Navigate by Date:
Prev: Dynamic limits in alarms Eusebio Naif Al-Soliman Fuentes via Tech-talk
Next: Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Kasemir, Kay 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: Dynamic limits in alarms Eusebio Naif Al-Soliman Fuentes via Tech-talk
Next: Re: Dynamic limits in alarms Eusebio Naif Al-Soliman Fuentes 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 ·