Hi Bernardo,
You can use an additional ao record to forward a value from one record
to another record's field.
If e.g. the ai "S7low" has the LOW threshold from your alarm poll group,
and the ai "S7val" has the matching value, you can add:
record(ao, "S7low_fwd") {
field(OMSL, "closed_loop")
field(DOL, "S7low CP")
field(OUT, "S7val.LOW")
}
That would push the value of "S7low" into the LOW field of "S7val"
whenever "S7low" changes.
~Ralph
On 27/03/2015 13:17, Bernardo Carvalho wrote:
Dear All,
I'm using EPICS with a s7-1200 PLC from Siemens that uses separate
"tags" for values and alarms that are transferred periodically
to the IOC (using s7nodave and "Poll Groups").
Is it possible to use a FLNK link to change Alarm related fields
(HIHI, HIGH, LOW, and LOLO ) on a "ai" PV?
Should I use subroutines or any other method?
Thanks in advance
-Bernardo
- References:
- FLNK + Alarm Fields Bernardo Carvalho
- Navigate by Date:
- Prev:
Re: FLNK + Alarm Fields Ralph Lange
- Next:
Recent encrypted mails to tech-talk Ralph Lange
- 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
- Navigate by Thread:
- Prev:
Re: FLNK + Alarm Fields Ralph Lange
- Next:
Recent encrypted mails to tech-talk Ralph Lange
- 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
|