You are offline. The tools work from the copy saved in this browser; pages you have not opened yet need a connection.
Carlo Gavazzi EM24-DIN Modbus register map
The registers of the Carlo Gavazzi EM24-DIN as listed by the manufacturer, with the 0-based address to enter in your software.
plcbytes.com/devices/carlo-gavazzi-em24-din/
How to connect
The EM24-DIN is read over RS485 with Modbus RTU. The address and baud rate are set on the meter itself, so check them there before connecting.
- In the meter's programming menu set the address (1–247, AddrESS) and the baud rate (4800 or 9600, bAudrAtE). The data format is fixed: 8 data bits, no parity, 1 stop bit.
- Read with function 04. Function 03 returns the same values: replace the leading 3 with 4, e.g. 300001 → 400001.
- 32-bit values come low word first (word order CDAB). In most software this is called word swap.
- Read at most 11 registers in one request. The meter answers within 500 ms.
This map is for the EM24-DIN PFA, PFB and X models. The Ethernet version (EM24 E1) and the EM24-IS SFA/SFB have their own protocol documents.
Connection
| Protocol | Modbus RTU |
|---|---|
| Default device address | depends on the installation, see “How to connect” |
| Serial settings | 4800 / 9600 baud, 8N1 |
| Byte order of 32-bit values | CDAB (word swap) |
| Function codes | 03, 04 |
| Max. registers per request | 11 |
| Addresses in the manual | register numbers (30001, 40001 …) |
| Valid for firmware | EM24-DIN PFA, PFB and X models, communication protocol version 4 revision 0 |
| Also known as | EM24, EM24 DIN, EM24-DIN PFA, EM24-DIN PFB, EM24DINAV93XISPFA, EM24DINAV93XISX |
Registers
Address: as written in the manufacturer's document. Offset: the 0-based address sent in the request, which Home Assistant, pymodbus and Node-RED expect. Scale: multiply the raw value by it.
No warranty. We prepare register maps carefully, but mistakes and differences between firmware versions happen. We do not guarantee that the data is correct or complete and, to the extent permitted by law, we are not liable for damage caused by using it. Check the manufacturer's document before you write values or use them for control. Terms of use
Read values from the device? The decoder adds names and units from this map. Each group below has its own link that sets the first address.
Voltage
Open in decoder from 300001| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300001 | 0 | 04 | Voltage L1–N | int32 | V | 0.1 | R | |
| 300003 | 2 | 04 | Voltage L2–N | int32 | V | 0.1 | R | |
| 300005 | 4 | 04 | Voltage L3–N | int32 | V | 0.1 | R | |
| 300007 | 6 | 04 | Voltage L1–L2 | int32 | V | 0.1 | R | |
| 300009 | 8 | 04 | Voltage L2–L3 | int32 | V | 0.1 | R | |
| 300011 | 10 | 04 | Voltage L3–L1 | int32 | V | 0.1 | R | |
| 300037 | 36 | 04 | Voltage L–N Σ (system) | int32 | V | 0.1 | R | |
| 300039 | 38 | 04 | Voltage L–L Σ (system) | int32 | V | 0.1 | R |
Current
Open in decoder from 300013| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300013 | 12 | 04 | Current L1 | int32 | A | 0.001 | R | |
| 300015 | 14 | 04 | Current L2 | int32 | A | 0.001 | R | |
| 300017 | 16 | 04 | Current L3 | int32 | A | 0.001 | R |
| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300019 | 18 | 04 | Active power L1 | int32 | W | 0.1 | R | |
| 300021 | 20 | 04 | Active power L2 | int32 | W | 0.1 | R | |
| 300023 | 22 | 04 | Active power L3 | int32 | W | 0.1 | R | |
| 300041 | 40 | 04 | Total active power | int32 | W | 0.1 | R | |
| 300025 | 24 | 04 | Apparent power L1 | int32 | VA | 0.1 | R | |
| 300027 | 26 | 04 | Apparent power L2 | int32 | VA | 0.1 | R | |
| 300029 | 28 | 04 | Apparent power L3 | int32 | VA | 0.1 | R | |
| 300043 | 42 | 04 | Total apparent power | int32 | VA | 0.1 | R | |
| 300031 | 30 | 04 | Reactive power L1 | int32 | var | 0.1 | R | |
| 300033 | 32 | 04 | Reactive power L2 | int32 | var | 0.1 | R | |
| 300035 | 34 | 04 | Reactive power L3 | int32 | var | 0.1 | R | |
| 300045 | 44 | 04 | Total reactive power | int32 | var | 0.1 | R | |
| 300051 | 50 | 04 | Power factor L1 | int16 | 0.001 | R | Negative = leading (capacitive), positive = lagging (inductive) | |
| 300052 | 51 | 04 | Power factor L2 | int16 | 0.001 | R | Negative = leading (capacitive), positive = lagging (inductive) | |
| 300053 | 52 | 04 | Power factor L3 | int16 | 0.001 | R | Negative = leading (capacitive), positive = lagging (inductive) | |
| 300054 | 53 | 04 | Total power factor | int16 | 0.001 | R | Negative = leading (capacitive), positive = lagging (inductive) |
| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300063 | 62 | 04 | Imported active energy | int32 | kWh | 0.1 | R | Power and energy (+) = imported from the grid, (−) = exported |
| 300093 | 92 | 04 | Exported active energy | int32 | kWh | 0.1 | R | |
| 300065 | 64 | 04 | Imported reactive energy | int32 | kvarh | 0.1 | R | |
| 300095 | 94 | 04 | Exported reactive energy | int32 | kvarh | 0.1 | R | |
| 300071 | 70 | 04 | Imported active energy L1 | int32 | kWh | 0.1 | R | |
| 300073 | 72 | 04 | Imported active energy L2 | int32 | kWh | 0.1 | R | |
| 300075 | 74 | 04 | Imported active energy L3 | int32 | kWh | 0.1 | R | |
| 300067 | 66 | 04 | Imported active energy, partial | int32 | kWh | 0.1 | R | Partial counter that can be reset |
| 300069 | 68 | 04 | Imported reactive energy, partial | int32 | kvarh | 0.1 | R | Partial counter that can be reset |
Frequency
Open in decoder from 300056| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300056 | 55 | 04 | Frequency | int16 | Hz | 0.1 | R |
Status and alarms
Open in decoder from 300055| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300055 | 54 | 04 | Phase sequence | int16 | R | −1 = L1-L3-L2, 0 = L1-L2-L3; only meaningful in 3-phase systems | ||
| 300097 | 96 | 04 | Operating hours | int32 | h | 0.01 | R | |
| 300769 | 768 | 04 | Digital inputs | bits | R | Bits 0–2 = inputs 1–3 (0 = closed, 1 = open). Read this register on its own (one register per request) |
Device information
Open in decoder from 300771| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300771 | 770 | 04 | Model (version code) | uint16 | R | Model code from table 2.6-1 of the document. Read this register on its own (one register per request) | ||
| 300772 | 771 | 04 | Firmware revision | uint16 | R | Read this register on its own (one register per request) |
Tariffs
Open in decoder from 300077| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300077 | 76 | 04 | Imported active energy T1 | int32 | kWh | 0.1 | R | |
| 300079 | 78 | 04 | Imported active energy T2 | int32 | kWh | 0.1 | R | |
| 300081 | 80 | 04 | Imported active energy T3 | int32 | kWh | 0.1 | R | |
| 300083 | 82 | 04 | Imported active energy T4 | int32 | kWh | 0.1 | R | |
| 300085 | 84 | 04 | Imported reactive energy T1 | int32 | kvarh | 0.1 | R | |
| 300087 | 86 | 04 | Imported reactive energy T2 | int32 | kvarh | 0.1 | R | |
| 300089 | 88 | 04 | Imported reactive energy T3 | int32 | kvarh | 0.1 | R | |
| 300091 | 90 | 04 | Imported reactive energy T4 | int32 | kvarh | 0.1 | R | |
| 300770 | 769 | 04 | Current tariff | uint16 | R | 0 = T1, 1 = T2, 2 = T3, 3 = T4. Read this register on its own (one register per request) |
| Address | Offset | FC | Name | Type | Unit | Scale | Access | Notes |
|---|---|---|---|---|---|---|---|---|
| 300047 | 46 | 04 | Demand active power Σ (DMD W) | int32 | W | 0.1 | R | |
| 300049 | 48 | 04 | Demand apparent power Σ (DMD VA) | int32 | VA | 0.1 | R | |
| 300057 | 56 | 04 | Max demand active power Σ | int32 | W | 0.1 | R | |
| 300059 | 58 | 04 | Max demand apparent power Σ | int32 | VA | 0.1 | R | |
| 300061 | 60 | 04 | Max demand current | int32 | A | 0.001 | R |
Home Assistant export for Carlo Gavazzi EM24-DIN
YAML for the Home Assistant modbus integration with every selected register as a sensor: address, data type, byte order, scaling and unit are filled in. Check the result against your device before you rely on it.
Paste the block into configuration.yaml and restart Home Assistant. If you already have a modbus: section, use “Sensors only” and paste under its sensors:.
Source and verification
Datasheet Based on the manufacturer’s documentation · verified 2026-10-25
Typed in from tables 2.3-1 to 2.6-1 of the official protocol. "Value weight" (e.g. Volt*10) is applied as scale 0.1; notes shared by several rows were checked on the rendered page. Sign convention from figure 2 of the document. Counters 1–3 are left out because their scale depends on the meter settings.
- Carlo Gavazzi – EM24-DIN PFA, PFB & X models, Communication Protocol (official · version 4.0 · 2012-12-03)
- Carlo Gavazzi – EM24-DIN instruction manual (official)
Only facts are taken over; the original document belongs to the manufacturer. Check it for your firmware version before writing values.
Related devices
- Carlo Gavazzi EM340-DINEnergy meter
- Chint DTSU666 / DSSU666Energy meter
- Eastron SDM120-ModbusEnergy meter
- Eastron SDM630-Modbus V2Energy meter
- Eastron SDM72D-MEnergy meter
- Shelly Pro 3EMEnergy meter
Related tools
- Register DecoderFloat32, Int32, UInt16 and bits in every byte order, plus Find my value.
- Address Converter40001 ↔ offset 0, 4x/3x/0x/1x notation, 5- and 6-digit addresses.
- Value EncoderTurn a value like 230.5 into registers for every byte order.
- Frame DecoderRead RTU and TCP frames from Wireshark or a serial log.