我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How are floating point values converted in Schneider Electric energy meters?

Article available in these languages: Czech

Issue
Some Powerlogic meters represent 32-bit Modbus registers as an IEEE 754 floating point data type

Product Line
PowerLogic and ION Meters that support IEEE 754 floating point data types in Modbus registers

Environment
Modbus Floating Point Data Type

Cause
Internally, most Schneider PowerLogic meters use floating point representations (conforming to IEEE floating point standards) to represent large numbers (i.e. ones that don't fit easily into integer formats). The most common format is a 4 byte floating point (IEEE 754) representation. Some meters allow reading of values directly using Modbus protocol that are in this format (see specific meter’s Modbus Register Map for more details).

Resolution
The architecture of this number format is the following:

SEF
01_______89_______________________31


S: sign bit
E: exponent
F: fraction (also referred to as the mantissa or significand)

calculation would be = (-1)^S * 2^(E [value in decimal format]-127) * (1+F)[Base 10]

Take frequency reading of PM700 as an example. If the frequency reading in floating point registers are:
1020: 0100001001000111
1021: 0000000000000000

Combine (concatenate) 2 registers in binary format to become:
01000010010001110000000000000000

According to the IEEE Floating Point Standard, split the combined value according to the structure:

SEF
01000010010001110000000000000000


When S=0, it is a positive number (i.e. S=1 means the value is negative).
The value in E is 10000100, which is 132 in decimal.
The remaining portion is placed in F, which is 0.10001110000000000000000 (Base 2).
1+F is 1.10001110000000000000000 in base 2, which equals to 1.55468750000000000000000 in Base10
Placing this in the formula results in (-1)^(0) * 2^(132-127) * (1.55468750000000000000000) = 49.75

For more information, a general explanation can be found on Wikipedia at: http://en.wikipedia.org/wiki/IEEE_floating-point_standard


Attached to this article is an Excel-based 32-bit floating point calculator

Schneider Electric energy meters? | 施耐德電機Taiwan

附件
IEEE751-floatingPoint calculator.xlsx [19.73 KB]
探索更多
系列:
探索更多
系列:
  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings