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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [db] simple command ?
From: "Hartman, Steven M." <[email protected]>
To: Pavel Masloff <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Wed, 4 Apr 2012 14:11:40 -0400
On Apr 4, 2012, at 12:43 PM, Pavel Masloff wrote:
> You are right - I want the record to automatically switch its value back to 0 after somebody sets it to 1. Time doesn't really matter. Imagine a pneumatic valve. I have two records two control it: cmd:valve_ON and cmd:valve_OFF.

That is a typical use of the HIGH field of a bo record. 

> Steve, do you recommend to change the SCAN field to passive?

Setting SCAN to passive means it should process when the record VAL field is written to (such as when you click the button on the operator interface screen to set VAL to 1), and then process again after HIGH seconds to reset to 0. Setting SCAN to I/O intr means you are expecting the hardware to generate an interrupt to signal the record when it is time to process. 

Given your description of the record's function, passive sounds appropriate.

-- 
Steven Hartman
[email protected]




References:
[db] simple command ? Pavel Masloff
Re: [db] simple command ? Tim Mooney
Re: [db] simple command ? Pavel Masloff

Navigate by Date:
Prev: Re: [db] simple command ? Pavel Masloff
Next: Question about 85XX dual core CPU board for VxWorks/EPICS 王林
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [db] simple command ? Pavel Masloff
Next: Re: [db] simple command ? Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·