Re: [foxboro] IEEE 754 conversion

  • From: Corey R Clingo <corey.clingo@xxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Wed, 9 Aug 2006 10:18:46 -0500

Is that the IEEE single-precision floating-point representation?

I don't have Micro-I/A (fortunately :), but I've done this using FBM224s 
and RIN (real input) blocks.  Though the Modbus spec doesn't officially 
define a floating-point representation, most Modbus slaves "overload" the 
protocol by using 2 consecutive 16-bit registers to represent a float in 
the IEEE format.  The trick is getting the register order/swapping right, 
as it is seemingly different for every slave device, but the FBM224 
provides a lot of flexibility in doing this.  Hopefully you can do the 
same using the Micro-I/A and FRIN (?) blocks.


Corey Clingo
BASF Corporation






elicib@xxxxxxxxxxxxxxxx 
Sent by: foxboro-bounce@xxxxxxxxxxxxx
08/09/2006 10:02 AM
Please respond to
foxboro@xxxxxxxxxxxxx


To
foxboro@xxxxxxxxxxxxx
cc

Subject
[foxboro] IEEE 754 conversion






Hello List?.

I?m trying to make a logic for converting iee-754 numbers from slave 
Modbus device to
micro I/A, using FMCIN + IND blocks, but it?s not working.
Have you ever tried this situation? If yes, could you send me some hints?

Thanks in advance?.

Regards,

Elidio Diniz




 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts:

  • » Re: [foxboro] IEEE 754 conversion