David, Do you really want the record to refrain from processing,
or is it sufficient that it refrain from writing to hardware?
If you just want the record to write only *changes* to hardware,
you can do this in device support. If you want it to not process,
then I'm pretty sure no record can do this without outside help.
If a record were to decide whether or not to process based on the
value written to it, putNotify would not work for that record.
(I know because I wrote a record that did this, and decided to
abandon the tactic when putNotify was developed.)
I would use a calcout record to write to the output record, and
set the calcout record's OOPT field to "On Change".
David Dudley wrote:
Is there a way for me to set a bo (or ao) record so that it only
processes when it's value is changed?
I've got a number of those records that I only need written to the PLC
when the value is changed.
David
--
Tim Mooney ([email protected]) (630)252-5417
Beamline Controls & Data Acquisition Group
Advanced Photon Source, Argonne National Lab.
- Replies:
- Re: Process 'bo' on write? David Dudley
- References:
- Process 'bo' on write? David Dudley
- Navigate by Date:
- Prev:
Re: Process 'bo' on write? Eric Norum
- Next:
Re: Process 'bo' on write? David Dudley
- 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: Process 'bo' on write? Eric Norum
- Next:
Re: Process 'bo' on write? David Dudley
- 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
|