EM340-DIN AV2 3 X S1 PF B, three-phase energy meter · RS-485 Modbus RTU
gavazzi-em340-workspace.json — open in ModbusManager Pro (File › Open workspace): 74 tags and 15 poll blocks, ready to connect, with a dashboard (Meter, Energy and setup). Set the COM port and slave ID 1. The workspace shows W as kW, VA as kVA, var as kvar.gavazzi-em340-register-map.csv — the same map for a PLC, SCADA or a spreadsheet.Values that change all the time are read every second; settings and identification only change when someone reconfigures the device, so they are read rarely. This keeps the RS-485 line free for the live values and for other devices on the same line.
| Block | FC | Address | Words | Interval |
|---|---|---|---|---|
| Live measurements | FC4 | 0000h–0031h | 50 | 1 s |
| Live measurements | FC4 | 0032h–0033h | 2 | 1 s |
| Energy and demand | FC4 | 0034h–0049h | 22 | 1 s |
| Energy and demand | FC4 | 004Eh–0051h | 4 | 1 s |
| Energy and demand | FC4 | 011Ah–011Bh | 2 | 1 s |
| Energy with 3 decimals | FC4 | 0400h–040Fh | 16 | 5 s |
| Tariff | FC3 | 1200h–1201h | 2 | 10 s |
| Identification (read alone) | FC3 | 000Bh | 1 | 60 s |
| Identification | FC4 | 0302h–0303h | 2 | 60 s |
| Setup | FC3 | 1002h–1006h | 5 | 60 s |
| Setup | FC3 | 1010h–1011h | 2 | 60 s |
| Setup | FC3 | 1105h | 1 | 60 s |
| RS-485 settings | FC3 | 2000h–2004h | 5 | 60 s |
| Identification | FC4 | 5000h–5006h | 7 | 60 s |
| Identification | FC4 | 5010h | 1 | 60 s |
At 9600 baud these intervals use about 30 % of the line per meter; reading every block every second would use about 61 %. To read a value faster, change the interval of its block in ModbusManager Pro.
The workspace's dashboard in ModbusManager Pro, against a simulator of this meter.

Address = wire address (0-based, in the Modbus frame). Doc = the number printed in the document. Value = raw × scale + offset. Page = page of the source document.
| Register | FC | Doc | Address | Type | Scale | Unit | Page | Status | Note |
|---|---|---|---|---|---|---|---|---|---|
| Live measurements | |||||||||
| V L1-N Phase 1 to neutral voltage V_L1_N | FC4 | 300001 | 0 0000h | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| V L2-N Phase 2 to neutral voltage V_L2_N | FC4 | 300003 | 2 0002h | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| V L3-N Phase 3 to neutral voltage V_L3_N | FC4 | 300005 | 4 0004h | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| V L1-L2 Line voltage L1-L2 V_L1_L2 | FC4 | 300007 | 6 0006h | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| V L2-L3 Line voltage L2-L3 V_L2_L3 | FC4 | 300009 | 8 0008h | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| V L3-L1 Line voltage L3-L1 V_L3_L1 | FC4 | 300011 | 10 000Ah | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| A L1 Phase 1 current A_L1 | FC4 | 300013 | 12 000Ch | int32 2w LSW first | 0.001 | A | 9 | checked | Same value also in Table 2.6-1. |
| A L2 Phase 2 current A_L2 | FC4 | 300015 | 14 000Eh | int32 2w LSW first | 0.001 | A | 9 | checked | Same value also in Table 2.6-1. |
| A L3 Phase 3 current A_L3 | FC4 | 300017 | 16 0010h | int32 2w LSW first | 0.001 | A | 9 | checked | Same value also in Table 2.6-1. |
| W L1 Phase 1 active power (negative = exported) kW_L1 | FC4 | 300019 | 18 0012h | int32 2w LSW first | 0.1 | W | 9 | checked | Same value also in Table 2.6-1. |
| W L2 Phase 2 active power kW_L2 | FC4 | 300021 | 20 0014h | int32 2w LSW first | 0.1 | W | 9 | checked | Same value also in Table 2.6-1. |
| W L3 Phase 3 active power kW_L3 | FC4 | 300023 | 22 0016h | int32 2w LSW first | 0.1 | W | 9 | checked | Same value also in Table 2.6-1. |
| VA L1 Phase 1 apparent power kVA_L1 | FC4 | 300025 | 24 0018h | int32 2w LSW first | 0.1 | VA | 9 | checked | Same value also in Table 2.6-1. |
| VA L2 Phase 2 apparent power kVA_L2 | FC4 | 300027 | 26 001Ah | int32 2w LSW first | 0.1 | VA | 9 | checked | Same value also in Table 2.6-1. |
| VA L3 Phase 3 apparent power kVA_L3 | FC4 | 300029 | 28 001Ch | int32 2w LSW first | 0.1 | VA | 9 | checked | Same value also in Table 2.6-1. |
| var L1 Phase 1 reactive power kvar_L1 | FC4 | 300031 | 30 001Eh | int32 2w LSW first | 0.1 | var | 9 | checked | Same value also in Table 2.6-1. |
| var L2 Phase 2 reactive power kvar_L2 | FC4 | 300033 | 32 0020h | int32 2w LSW first | 0.1 | var | 9 | checked | Same value also in Table 2.6-1. |
| var L3 Phase 3 reactive power kvar_L3 | FC4 | 300035 | 34 0022h | int32 2w LSW first | 0.1 | var | 9 | checked | Same value also in Table 2.6-1. |
| V L-N sys System phase-neutral voltage V_LN_sys | FC4 | 300037 | 36 0024h | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| V L-L sys System line-line voltage V_LL_sys | FC4 | 300039 | 38 0026h | int32 2w LSW first | 0.1 | V | 9 | checked | Same value also in Table 2.6-1. |
| W sys System active power (negative = exported) kW_sys | FC4 | 300041 | 40 0028h | int32 2w LSW first | 0.1 | W | 9 | checked | Same value also in Table 2.6-1. |
| VA sys System apparent power kVA_sys | FC4 | 300043 | 42 002Ah | int32 2w LSW first | 0.1 | VA | 9 | checked | Same value also in Table 2.6-1. |
| var sys System reactive power kvar_sys | FC4 | 300045 | 44 002Ch | int32 2w LSW first | 0.1 | var | 9 | checked | Same value also in Table 2.6-1. |
| PF L1 Power factor L1 PF_L1 | FC4 | 300047 | 46 002Eh | int16 | 0.001 | 9 | checked | INT16 in Table 2.4-1 (INT32 in Table 2.6-1). Sign convention for C/L depends on measurement mode. | |
| PF L2 Power factor L2 PF_L2 | FC4 | 300048 | 47 002Fh | int16 | 0.001 | 9 | checked | INT16 in Table 2.4-1 (INT32 in Table 2.6-1). Sign convention for C/L depends on measurement mode. | |
| PF L3 Power factor L3 PF_L3 | FC4 | 300049 | 48 0030h | int16 | 0.001 | 9 | checked | INT16 in Table 2.4-1 (INT32 in Table 2.6-1). Sign convention for C/L depends on measurement mode. | |
| PF sys Power factor sys PF_sys | FC4 | 300050 | 49 0031h | int16 | 0.001 | 9 | checked | INT16 in Table 2.4-1 (INT32 in Table 2.6-1). Sign convention for C/L depends on measurement mode. | |
| Phase sequence Phase sequence: 0 = L1-L2-L3, 1 = L1-L3-L2 Phase_seq | FC4 | 300051 | 50 0032h | int16 | 1 | 9 | checked | Meaningful only in a 3-phase system. | |
| Hz Frequency Hz | FC4 | 300052 | 51 0033h | int16 | 0.1 | Hz | 9 | checked | |
| Energy and demand | |||||||||
| kWh (+) TOT Total imported active energy kWh_imp | FC4 | 300053 | 52 0034h | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. |
| kvarh (+) TOT Total imported (positive) reactive energy kvarh_imp | FC4 | 300055 | 54 0036h | int32 2w LSW first | 0.1 | kvarh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kW dmd Active power demand kW_dmd | FC4 | 300057 | 56 0038h | int32 2w LSW first | 0.1 | W | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kW dmd peak Active power demand peak kW_dmd_peak | FC4 | 300059 | 58 003Ah | int32 2w LSW first | 0.1 | W | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kWh (+) PARTIAL Partial imported active energy kWh_imp_partial | FC4 | 300061 | 60 003Ch | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kvarh (+) PARTIAL Partial imported reactive energy kvarh_imp_partial | FC4 | 300063 | 62 003Eh | int32 2w LSW first | 0.1 | kvarh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kWh (+) L1 Imported active energy phase 1 kWh_imp_L1 | FC4 | 300065 | 64 0040h | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kWh (+) L2 Imported active energy phase 2 kWh_imp_L2 | FC4 | 300067 | 66 0042h | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kWh (+) L3 Imported active energy phase 3 kWh_imp_L3 | FC4 | 300069 | 68 0044h | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kWh (+) t1 Imported active energy tariff 1 kWh_imp_t1 | FC4 | 300071 | 70 0046h | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kWh (+) t2 Imported active energy tariff 2 kWh_imp_t2 | FC4 | 300073 | 72 0048h | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kWh (-) TOT Total exported active energy kWh_exp | FC4 | 300079 | 78 004Eh | int32 2w LSW first | 0.1 | kWh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| kvarh (-) TOT Total exported (negative) reactive energy kvarh_exp | FC4 | 300081 | 80 0050h | int32 2w LSW first | 0.1 | kvarh | 9 | checked | 0.1 kWh resolution; see Table 2.5-1 for 3-decimal values. Tariff/partial rows depend on option. |
| Energy and demand (second table) | |||||||||
| W dmd Active power demand (grouped-by-phase table) kW_dmd_2 | FC4 | 300283 | 282 011Ah | int32 2w LSW first | 0.1 | W | 12 | checked | Same value as kW dmd at 0038h, in the second measurement table (Table 2.6-1, p.12). |
| Energy with 3 decimals (integer + decimal part) | |||||||||
| kWh (+) TOT - INTeger part Imported active energy, integer kWh kWh_imp_int | FC4 | 301025 | 1024 0400h | int32 2w LSW first | 1 | kWh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| kWh (+) TOT - DECimal part Imported active energy, fraction in 1/1000 kWh kWh_imp_dec | FC4 | 301027 | 1026 0402h | int32 2w LSW first | 0.001 | kWh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| kvarh (+) TOT - INTeger part Imported reactive energy, integer kvarh kvarh_imp_int | FC4 | 301029 | 1028 0404h | int32 2w LSW first | 1 | kvarh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| kvarh (+) TOT - DECimal part Imported reactive energy, fraction in 1/1000 kvarh kvarh_imp_dec | FC4 | 301031 | 1030 0406h | int32 2w LSW first | 0.001 | kvarh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| kWh (-) TOT - INTeger part Exported active energy, integer kWh kWh_exp_int | FC4 | 301033 | 1032 0408h | int32 2w LSW first | 1 | kWh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| kWh (-) TOT - DECimal part Exported active energy, fraction in 1/1000 kWh kWh_exp_dec | FC4 | 301035 | 1034 040Ah | int32 2w LSW first | 0.001 | kWh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| kvarh (-) TOT - INTeger part Exported reactive energy, integer kvarh kvarh_exp_int | FC4 | 301037 | 1036 040Ch | int32 2w LSW first | 1 | kvarh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| kvarh (-) TOT - DECimal part Exported reactive energy, fraction in 1/1000 kvarh kvarh_exp_dec | FC4 | 301039 | 1038 040Eh | int32 2w LSW first | 0.001 | kvarh | 11 | checked | Table 2.5-1: EM340 made from 1 Oct 2018 only. Total = integer part + decimal part x 0.001 (decimal part holds 0..999). Format printed INT32; LSW first. |
| Identification | |||||||||
| Carlo Gavazzi Controls identification code Model ID; 341 for EM340-DIN AV2 3 X S1 PF B ID_code | FC3 | 300012 | 11 000Bh | uint16 | 1 | 14 | checked | Read alone, one word per request (Table 2.8-1). EM340 returns 341 (Table 2.8-2). | |
| Version code Firmware version code (0=A, 1=B ...) Version_code | FC4 | 300771 | 770 0302h | uint16 | 1 | 13 | checked | ||
| Revision code Firmware revision code Revision_code | FC4 | 300772 | 771 0303h | uint16 | 1 | 13 | checked | ||
| Serial number char 1 Serial number character 1 (ASCII in LSB) SN_1 | FC4 | 320481 | 20480 5000h | uint16 | 1 | 18 | checked | ||
| Serial number char 2 Serial number character 2 (ASCII in LSB) SN_2 | FC4 | 320482 | 20481 5001h | uint16 | 1 | 18 | checked | ||
| Serial number char 3 Serial number character 3 (ASCII in LSB) SN_3 | FC4 | 320483 | 20482 5002h | uint16 | 1 | 18 | checked | ||
| Serial number char 4 Serial number character 4 (ASCII in LSB) SN_4 | FC4 | 320484 | 20483 5003h | uint16 | 1 | 18 | checked | ||
| Serial number char 5 Serial number character 5 (ASCII in LSB) SN_5 | FC4 | 320485 | 20484 5004h | uint16 | 1 | 18 | checked | ||
| Serial number char 6 Serial number character 6 (ASCII in LSB) SN_6 | FC4 | 320486 | 20485 5005h | uint16 | 1 | 18 | checked | ||
| Serial number char 7 Serial number character 7 (ASCII in LSB) SN_7 | FC4 | 320487 | 20486 5006h | uint16 | 1 | 18 | checked | ||
| Production year Production year Production_year | FC4 | 320497 | 20496 5010h | uint16 | 1 | 18 | checked | EM340 made from Oct 2018 only. | |
| Setup | |||||||||
| Measuring system 0=3Pn, 1=3P, 2=2P (1P in revision notes) Measuring_system | FC3 | 304099 | 4098 1002h | uint16 | 1 | 15 | checked | Read/write. | |
| Current transformer ratio CT ratio (value/10) CT_ratio | FC3 | 304100 | 4099 1003h | uint32 2w LSW first | 0.1 | 15 | checked | CT ratio x10: value 10 = CT 1.0 (Table 2.9-3). Read/write. | |
| Voltage transformer ratio VT ratio (value/10) VT_ratio | FC3 | 304102 | 4101 1005h | uint32 2w LSW first | 0.1 | 15 | checked | VT ratio x10: value 10 = VT 1.0 (Table 2.9-3). Read/write. | |
| Integration time for dmd power Demand integration time Dmd_integration_time | FC3 | n/a | 4112 1010h | uint32 2w LSW first | 1 | 15 | medium | Range 1-30. The document gives no unit; minutes is likely, check on the meter. | |
| Wrong connection (installing help) status Bit flags for wiring errors Wiring_status | FC3 | 304358 | 4357 1105h | uint16 | 1 | 16 | checked | Bit0 wrong sequence, bit1-3 phase 1/2/3 inverted, bit4 L1-L2 exchanged, bit5 L1-L3, bit6 L2-L3, bit7 all exchanged. | |
| Tariff | |||||||||
| Tariff mode selection 0 = via digital inputs, 1 = via serial Tariff_mode | FC3 | 304609 | 4608 1200h | uint16 | 1 | 17 | checked | Read/write. | |
| Tariff number selection via serial comm. Active tariff 1 or 2 Tariff_number | FC3 | 304610 | 4609 1201h | uint16 | 1 | 17 | checked | Read-only if 1200h=0. | |
| RS-485 settings | |||||||||
| RS485 instrument address Modbus slave address 1..247 RS485_address | FC3 | 308193 | 8192 2000h | uint16 | 1 | 17 | checked | 1-247, default 1. Read/write. | |
| RS485 baud rate 1=9.6k,2=19.2k,3=38.4k,4=57.6k,5=115.2k RS485_baud | FC3 | 308194 | 8193 2001h | uint16 | 1 | 17 | checked | 1 = 9.6, 2 = 19.2, 3 = 38.4, 4 = 57.6, 5 = 115.2 kbps; default 1. Read/write. | |
| RS485 parity 1=none, 2=even RS485_parity | FC3 | 308195 | 8194 2002h | uint16 | 1 | 17 | checked | 1 = no parity (default), 2 = even. Read/write. | |
| RS485 Stop bit 0/1 = 1 stop bit, 2 = 2 stop bits (only if even parity) RS485_stop_bits | FC3 | 308196 | 8195 2003h | uint16 | 1 | 17 | checked | 0 = 1 stop bit, 1 = 1 (default), 2 = 2 (only with even parity). Read/write. | |
| Max number of words readable with a single Modbus request Read-only, 50 Max_words_per_request | FC3 | 308197 | 8196 2004h | uint16 | 1 | 17 | checked | Always 50: the most words one request may read. | |
| Commands (write only, not polled) | |||||||||
| Reset partial/tariff meters and dmd Write 1 to reset partial, tariff meters, kWdmd and peak | write | 316385 | 16384 4000h | uint16 | 1 | 17 | checked | Write fn 06. | |
| Reset total energy meters Write 1; non-MID versions (X option) only | write | 316386 | 16385 4001h | uint16 | 1 | 17 | checked | Write 1 to reset. Only on non-MID versions (X option). | |
Built from the vendor document listed above and checked by an engineer. The vendor document remains the authority; if the meter's firmware differs from the document version, re-check the rows marked in "Check on site". ModbusManager · modbusmanager.com