EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Initialising an ao record from a constant DOL
From: "Bob Dalesio" <[email protected]>
To: "Owens, PH (Peter)" <[email protected]>, "'Bob Dalesio'" <[email protected]>, [email protected]
Date: Fri, 23 Apr 2004 07:40:03 -0600
It could be made to work that way - but it doesn't work that way now. I believe that the DOL field is ignored if it is a constant. It seems so from what you've described.
The bottom line - is that the kludge in the database that you have there is needed for the time being.
Bob


On Fri, 23 Apr 2004 14:56:36 +0100
 "Owens, PH (Peter)" <[email protected]> wrote:
Even if a device did support this bumpless
changeover feature I would still have thought
that it should be overwritten by a constant DOL
just as it is if DOL is a link.

-----Original Message-----
From: Bob Dalesio [mailto:[email protected]]
Sent: 23 April 2004 14:20
To: Owens, PH (Peter); '[email protected]'; [email protected]
Subject: Re: Initialising an ao record from a constant DOL



As I recall, the analog output record does a read on initialization. This is required to support a bumpless reboot on hardware that was cleaver enough not to drive the value to 0 during a sysReset. As a result, the value field would be written over by whatever value is returned from the device support on initialization. It sounds like we need an option for not reading the value on reboot.
Bob



On Fri, 23 Apr 2004 14:37:23 +0100
"Owens, PH (Peter)" <[email protected]> wrote:
>Yes, I tried that.
>and also setting the VAL field.
>
>I have also attempted to initialise the record from
>the value read back from the device - but unfortunately >that >doesn't work either as the input is asynchronous.
>
>Pete.
>> >> Dear Pete;
>> >> Have you try to use closed_loop mode with constant DOL >>such as the
>> following.
>> >> record(ao, "$(device):SETSIZE") {
>> field(DESC, "Pump Size")
>> field(DTYP, "ornlSerial")
>> field(OUT, "@digitel mpc size p=1 u=$(port) >>m=$(unit) >> p1=$(pump)")
>> field(PINI, "YES")
>> field(DOL, "100.0")
>> field(OMSL, "closed_loop")
>> field(EGU, "l/s")
>> field(DRVL, "0.0")
>> field(DRVH, "1200.0")
>> field(LOPR, "0.0")
>> field(HOPR, "1200.0")
>> field(PREC, "0")
>> }
>> >> -------------------------------
>> >> Kukhee Kim
>> Instrument & Control, KSTAR
>> Korea Basic Science Institute
>> 52 Yeoeun-dong, Yusung-gu, Daejeon 305-333
>> Korea
>> Email: [email protected]
>> Tel: +82 42 870 1616 Fax: +82 42 870 1609 Cell: >>+82 >> 17 513 4849
>> >> >> >> >> -----Original Message-----
>> From: Owens, PH (Peter) [mailto:[email protected]] >> Sent: Saturday, April 17, 2004 12:11 AM
>> To: [email protected]
>> Subject: Initialising an ao record from a constant DOL
>> >> I'm trying to initialise an analog output record
>> by putting a constant in the DOL field (see below).
>> >> But the VAL field gets set to zero rather than 100.
>> The record does process and outputs this zero.
>> >> I can work around this by Initialising from another >>record
>> using clsed loop mode but it does seem to be a bit of a >>cludge
>> (see commented out lines).
>> >> What am I doing wrong?
>> >> record(ao, "$(device):SETSIZE") {
>> field(DESC, "Pump Size")
>> field(DTYP, "ornlSerial")
>> field(OUT, "@digitel mpc size p=1 u=$(port) >>m=$(unit) >> p1=$(pump)")
>> field(PINI, "YES")
>> field(DOL, "100.0")
>> # field(DOL, "$(device):INITSIZE")
>> # field(OMSL, "closed_loop")
>> field(EGU, "l/s")
>> field(DRVL, "0.0")
>> field(DRVH, "1200.0")
>> field(LOPR, "0.0")
>> field(HOPR, "1200.0")
>> field(PREC, "0")
>> }
>> record(ai, "$(device):INITSIZE") {
>> field(VAL, "200.0")
>> }
>> >> Pete
>> ---------------------------------------
>> mailto:[email protected]
>> phone:+44 (0)1925 603974
>> fax: +44 (0)1925 603124
>> >> CLRC
>> Daresbury Laboratory
>> Keckwick Lane
>> Warrington
>> WA4 4AD
>> UK
>> >> >>


Bob Dalesio
[email protected]
410 557 0297 Maryland
505 699 1632 Cell Phone


Bob Dalesio [email protected] 410 557 0297 Maryland 505 699 1632 Cell Phone

Replies:
Re: Initialising an ao record from a constant DOL Andrew Johnson
References:
RE: Initialising an ao record from a constant DOL Owens, PH (Peter)

Navigate by Date:
Prev: RE: Initialising an ao record from a constant DOL Owens, PH (Peter)
Next: RE: Initialising an ao record from a constant DOL Owens, PH (Peter)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Initialising an ao record from a constant DOL Owens, PH (Peter)
Next: Re: Initialising an ao record from a constant DOL Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·