EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Scaling Database entries
From: "Mark Rivers" <[email protected]>
To: "David Dudley" <[email protected]>, <[email protected]>
Date: Mon, 13 Nov 2006 20:22:06 -0600
Device support must have a "convert" routine that does a calculation like the following to compute .ESLO and .EOFF
 
        precord->eslo = (eguf - egul)/(deviceHigh - deviceLow);
        precord->eoff = (deviceHigh*egul - deviceLow*eguf)/
                        (deviceHigh - deviceLow);
 
Mark

 
________________________________

From: David Dudley [mailto:[email protected]]
Sent: Mon 11/13/2006 8:07 PM
To: [email protected]
Subject: Scaling Database entries



OK guys,

My modbus driver is starting to work, and now I'm linking up with some of the PLC's in the plant.  Now, I've started working on building the database for the first site.

Here's my question:

I've got some AI signals that come from one of the PLCs.  Raw values on some are scaled 0-32000, while others are scaled 800-32000, and others have raw values from -32768-32767.  I see the definitions for the EGUL and EGUF values, but how do I set the RAW input ranges?  Also, I've got some flow meter values that have to be scaled from linear to square root values..

David Dudley
City of Corpus Christi






References:
Scaling Database entries David Dudley

Navigate by Date:
Prev: Scaling Database entries David Dudley
Next: RE: devSNMP: Thread error? Kagarmanov, Albert
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Scaling Database entries David Dudley
Next: RE: Scaling Database entries David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·