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: SetVoltage problem
From: "Arnold, Ned D." <[email protected]>
To: "[email protected]" <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Thu, 10 Sep 2015 12:41:34 +0000
Hi -

The AUTOSAVE module in synapps provides the "bumpless reboot" to restore the records to what they were before the reboot.

If your requirements exceed what you can do in the EPICS database, try the sequencer.

  Ned


From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Thursday, September 10, 2015 02:35 AM
To: EPICS Tech-Talk
Subject: SetVoltage problem

Hello,

the first record waits for user value. The second reads the value back. The seconde increase or decrease it and hold the value.

User Value: 10 V
Calc: 0, 1, 2, .... 10


My Problem:  Let's say the current value (hardware device) is 8 V. If I I restart the IOC and put a new value like 10V i want to continiou ti increase 8, 9, 10V. But The after restarting the IOC my first Calc-Value is 0. 


Current Value: 8V
SetVolt: 10V
Calc: 0, 1, 2, 3, 4 ... 10. 


Is there other possibility? And my second problem is I want to make a seq-record to increase after 30, 60 and 90 seconds.

For example (epics and css): 
User Volt Selection: 1000V, 1500V and 2000V
User Slew Rate Option: 5V, 10V, 15V / per Time
Time: 30 seconds, 60 seconds, 90 seconds


record(ao, "SetVolt") {
field(EGU, “V”)
field(LOPR, “0”)
field(HOPR, “28”)
field(DRVH, “28”)
field(DRVL, “0”)
field(VAL, “0”)
}

record(ai, "SetVoltReadback"){
field(DTYP, “stream”)
field(INP, "@xyz.proto read($(xyz)) $(device)")
field(SCAN, “1 second”)
field(FLNK, "VoltCalc PP")
}

record(calcout, "VoltCalc") {
field(DESC, “Write Voltag Out”)
field(SCAN, “1 second”)
field(CALC, "A:= ((C<(A-B)) ? (A-B) : ((A+B)>C ? C : (A+B)));A")

field(INPA, "VoltCalc.VAL")
field(INPB, “SlewRate”) /* standard:1 */
field(INPC, "SetVolt")

field(OUT, "WriteOut.VAL PP")
field(OOPT, “On Change”)
field(DOPT, “Use CALC”)
}



References:
SetVoltage problem info22

Navigate by Date:
Prev: SetVoltage problem info22
Next: Re: SetVoltage problem Pearson, Matthew R.
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: SetVoltage problem info22
Next: Re: SetVoltage problem Pearson, Matthew R.
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 ·