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  <20102011  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  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Reading 32 bit floats
From: "Mark Rivers" <[email protected]>
To: "David Dudley" <[email protected]>, "EPICS tech-talk" <[email protected]>
Date: Fri, 5 Mar 2010 08:40:33 -0600
One way to do it is to use 2 longin or ai records to get the 2 halves of the float from the Modbus driver, and then combine them in a sub record.  The Modbus driver does not directly support 32-bit floats because they are not part of the Modbus specification, which only specifies 16-bit values.
 
Mark
 

________________________________

From: [email protected] on behalf of David Dudley
Sent: Fri 3/5/2010 8:19 AM
To: EPICS tech-talk
Subject: Reading 32 bit floats


How do I read a 32 bit IEEE float using Mark's modbus driver?  This is a standard IEEE float, in the MSW,LSW configuration.

David 


References:
Reading 32 bit floats David Dudley

Navigate by Date:
Prev: ChannelArchiver on Solaris? Ralph Lange
Next: Re: compile error with medm 3.1.3 on fedora 10 Robert Soliday
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Reading 32 bit floats David Dudley
Next: ChannelArchiver on Solaris? Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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 ·