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 <2023> 2024 2025 | 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 <2023> 2024 2025 |
<== 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 |
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 -
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")
}