Carlo Gavazzi · Energy meter
EM340 Modbus register map
Default configuration
- Protocol
- RS485
- Port
- 502
- Unit ID
- 1
- Addressing
- 0-based
- Byte order
- Big endian
- Word order
- Low word first
- Baud rate
- 9600
- Parity
- None
- Data bits
- 8
- Stop bits
- 1
This device has an RS-485 interface. Reach it through a Modbus RTU-to-TCP gateway, configured with the factory serial settings above.
Register map
| Address | Count | Name | Type | Unit | Scale | Access |
|---|---|---|---|---|---|---|
| 0 | 2 | Voltage L1-N | Int32 | V | 0.1 | R |
| 2 | 2 | Voltage L2-N | Int32 | V | 0.1 | R |
| 4 | 2 | Voltage L3-N | Int32 | V | 0.1 | R |
| 6 | 2 | Voltage L1-L2 | Int32 | V | 0.1 | R |
| 8 | 2 | Voltage L2-L3 | Int32 | V | 0.1 | R |
| 10 | 2 | Voltage L3-L1 | Int32 | V | 0.1 | R |
| 12 | 2 | Current L1 | Int32 | A | 0.001 | R |
| 14 | 2 | Current L2 | Int32 | A | 0.001 | R |
| 16 | 2 | Current L3 | Int32 | A | 0.001 | R |
| 18 | 2 | Active power L1 | Int32 | W | 0.1 | R |
| 20 | 2 | Active power L2 | Int32 | W | 0.1 | R |
| 22 | 2 | Active power L3 | Int32 | W | 0.1 | R |
| 24 | 2 | Apparent power L1 | Int32 | VA | 0.1 | R |
| 26 | 2 | Apparent power L2 | Int32 | VA | 0.1 | R |
| 28 | 2 | Apparent power L3 | Int32 | VA | 0.1 | R |
| 30 | 2 | Reactive power L1 | Int32 | var | 0.1 | R |
| 32 | 2 | Reactive power L2 | Int32 | var | 0.1 | R |
| 34 | 2 | Reactive power L3 | Int32 | var | 0.1 | R |
| 36 | 2 | Voltage L-N, system | Int32 | V | 0.1 | R |
| 38 | 2 | Voltage L-L, system | Int32 | V | 0.1 | R |
| 40 | 2 | Active power, system | Int32 | W | 0.1 | R |
| 42 | 2 | Apparent power, system | Int32 | VA | 0.1 | R |
| 44 | 2 | Reactive power, system | Int32 | var | 0.1 | R |
| 46 | 1 | Power factor L1 | Int16 | - | 0.001 | R |
| 47 | 1 | Power factor L2 | Int16 | - | 0.001 | R |
| 48 | 1 | Power factor L3 | Int16 | - | 0.001 | R |
| 49 | 1 | Power factor, system | Int16 | - | 0.001 | R |
| 50 | 1 | Phase sequence 1 = L1-L3-L2, 0 = L1-L2-L3. | UInt16 | - | 1 | R |
| 51 | 1 | Frequency | Int16 | Hz | 0.1 | R |
| 52 | 2 | Active energy imported, total | Int32 | kWh | 0.1 | R |
| 54 | 2 | Reactive energy imported, total | Int32 | kVArh | 0.1 | R |
| 56 | 2 | Active power demand | Int32 | W | 0.1 | R |
| 58 | 2 | Active power demand peak | Int32 | W | 0.1 | R |
| 60 | 2 | Active energy imported, partial | Int32 | kWh | 0.1 | R |
| 62 | 2 | Reactive energy imported, partial | Int32 | kVArh | 0.1 | R |
| 64 | 2 | Active energy imported, L1 | Int32 | kWh | 0.1 | R |
| 66 | 2 | Active energy imported, L2 | Int32 | kWh | 0.1 | R |
| 68 | 2 | Active energy imported, L3 | Int32 | kWh | 0.1 | R |
| 70 | 2 | Active energy imported, tariff 1 | Int32 | kWh | 0.1 | R |
| 72 | 2 | Active energy imported, tariff 2 | Int32 | kWh | 0.1 | R |
| 74 | 2 | Active energy imported, tariff 3 | Int32 | kWh | 0.1 | R |
| 76 | 2 | Active energy imported, tariff 4 | Int32 | kWh | 0.1 | R |
| 78 | 2 | Active energy exported, total | Int32 | kWh | 0.1 | R |
| 80 | 2 | Reactive energy exported, total | Int32 | kVArh | 0.1 | R |
| 82 | 2 | Active energy exported, partial | Int32 | kWh | 0.1 | R |
| 84 | 2 | Reactive energy exported, partial | Int32 | kVArh | 0.1 | R |
| 86 | 2 | Apparent energy, total | Int32 | kVAh | 0.1 | R |
| 88 | 2 | Apparent energy, partial | Int32 | kVAh | 0.1 | R |
| 90 | 2 | Run hour meter | Int32 | h | 0.01 | R |
| 92 | 2 | Active energy exported, L1 | Int32 | kWh | 0.1 | R |
| 94 | 2 | Active energy exported, L2 | Int32 | kWh | 0.1 | R |
| 96 | 2 | Active energy exported, L3 | Int32 | kWh | 0.1 | R |
| 98 | 2 | Active energy imported, tariff 5 | Int32 | kWh | 0.1 | R |
| 100 | 2 | Active energy imported, tariff 6 | Int32 | kWh | 0.1 | R |
| 102 | 2 | Active energy imported, tariff 7 | Int32 | kWh | 0.1 | R |
| 104 | 2 | Active energy imported, tariff 8 | Int32 | kWh | 0.1 | R |
| 770 | 1 | Firmware version code | UInt16 | - | 1 | R |
| 771 | 1 | Firmware revision code | UInt16 | - | 1 | R |
Notes
RS-485 device: reach it through a Modbus RTU-to-TCP gateway using the factory serial settings above. Carlo Gavazzi stores 32-bit values with the least significant word at the lower address, hence the LowFirst word order. Function codes 03 and 04 return the same measurements. Energy counters are 32-bit here; the separate 64-bit totalizers at 0x0500 are not exposed because this format has no 64-bit type.