Modular Power Meter
Modular power meter version 1.0 Page 16 / 40
- 64-bit number (int64): The MSB always comes first, or register n contains bit 63..48,
register n+1 contains bit 47..32, register n+2 contains bit 31..16 and register n+3
contains bit 15..0
- Date = 32-bit number that contains the offset from 1/1/2000 in seconds.
o Ex1: 10 => 1/1/2000 0h0m10s
o Ex2: 3600 => 1/1/2000 1h00s
o Ex3: 662774400 => 01/01/2021 0h0m0s
- Floating point numbers (32-bit) follows the IEEE754 standard (float32):
o bit-31=sign
o bit-30..23=binary exponent with offset 0hF
o 1,bit22..0=mantissa (1 represents the hidden bit)
o Ex1: 0h3F800000 => 1.0E0
o Ex2: 0h40000000 => 2.0E0
- Half precision Floating point numbers (16-bit) follows the IEEE754 standard
(float16):
o bit-15=sign
o bit-14..10=binary exponent with offset 0h7F
o 1,bit9..0=mantissa (1 represents the hidden bit)
o Ex1: 0h3C00 => 1
o Ex2: 0h4000 => 2
o Ex3: 0h7BFF => 65504 (maximum value)
o Ex4: 0h1418 => 0.001
The resolution remains relatively high, for a value of 230V we get 0.125V as resolution
o 0h5B30 => 230.000
o 0h5B31 => 230.125
All measurements (VAC,AAC,W,%,Hz) are floating point numbers
6.3.2. Register overview
Name Register Address Range
Master table 0x0000-0x47FF
Individual table – Measurements 0x5000-0x50FF
Individual table – Info 0x5100-0x51FF
Settings table 0x5200-0x52FF
Commands table 0x5300-0x53FF
Energy table – Integers 0x6000-0x6FFF
Energy table – Floating point 0x7000-0x7FFF
Table 6-1 Modbus registers overview
6.3.3. Master table
The master table groups all measurements per type:
- voltage measurements (includes distortion and frequency) (U, Uthd, F)
- current measurements (I)
- real power measurements (P)