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  <20152016  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  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Records for slow control
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Mon, 24 Aug 2015 15:37:52 -0500
On 08/24/2015 01:52 PM, [email protected] wrote:
> I have an ao-record to set/write a value. I also have a timer-record to
> extend the "10 second" SCAN. The idea is to write records which can set
> a value between 0 and 100. 
> 
> For example: 
> Current value: 5 ampere
> Set value: 60 ampere
> 
> -» every 30 seconds +5 till 60 ampere.
> 
> Do someone have an idea?  

Read the record reference manual for the ao record type carefully,
looking at the OROC field (maximum Output Rate Of Change):
https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Analog_Output

OROC is designed to let you put 60 into the VAL field of your ao record,
and then every time the record processes it will add 5 (the value in
OROC) to the value in the OVAL field (this is the value that actually
gets sent to the hardware) until OVAL==VAL.

You could also create a 30 second scan period if this is a common period
for this particular IOC. To do that, copy the manuScan.dbd file from
Base/dbd to your xxxApp/src directory and edit the file (without
renaming it) to add the extra choice.

HTH,

- Andrew

-- 
Light thinks it travels faster than anything but it is wrong.
No matter how fast light travels, it finds the darkness has
always got there first, and is waiting for it.
    -- Terry Pratchett, Reaper Man

References:
Records for slow control info22

Navigate by Date:
Prev: Records for slow control info22
Next: eclipse error when compile the css source l123173
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Records for slow control info22
Next: Re: Records for slow control info22
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·