Skip to main content

Carlo Gavazzi EM340 energy meter

This guide describes how to connect a Carlo Gavazzi EM340 three-phase energy meter for DIN rail mounting (3TE) to the Currentt Navigator via Modbus RTU over RS485.

The Carlo Gavazzi EM340 is a three-phase energy meter with RS485 Modbus RTU interface.

Carlo Gavazzi EM340 wiring diagram

A/B wiring is swapped!

Carlo Gavazzi follows the TIA-485 standard where A- = inverting (negative) and B+ = non-inverting (positive). This is opposite to most other devices such as the Currentt Navigator, Eastron, Huawei, and SolarEdge, where A = positive and B = negative.

Therefore, connect the Carlo Gavazzi meter as follows:

Carlo Gavazzi EM340Currentt Navigator
A- (terminal 9)B-
B+ (terminal 8)A+
GND (terminal 10)G

If you do not swap the wires, communication will not be possible.

Note

Make sure each device on the RS485 bus has a unique Modbus address.


🔀 Variants

The meter is available in two variants:

VariantTypeApplication
EM340 ...PFABidirectionalGrid meter (import + export)
EM340 ...PFBUnidirectionalProduction meter (import only)
tip

Use the PFA variant as a grid meter and the PFB variant as a production meter.

🔌 Connecting the meter

The meter is connected to the Currentt Navigator using a twisted pair data cable (for example CAT5 or CAT6 UTP). The cable contains two signal lines (A+ and B-) and optionally a ground connection. Always use a twisted pair for the signal lines — the twisting suppresses electromagnetic interference (EMI) and is essential for a reliable RS485 connection.

The RS485 connection is located on the bottom terminal block of the EM340. The relevant terminals are:

TerminalFunctionDescription
7TTermination (termination resistor)
8B+Data line B (positive)
9A-Data line A (negative)
10GNDReference (earth)

Carlo Gavazzi EM340 RS485 terminals

Carlo Gavazzi EM340: RS485 terminals (7=T, 8=B+, 9=A-, 10=GND)

Important

Always use a twisted pair for the A and B signal lines. The twisting of the pair suppresses electromagnetic interference (EMI) and is essential for a reliable RS485 connection, especially over longer distances.

Ground connection

Connect the ground on one side only: either to the Currentt Navigator or to the meter — but never on both sides. Connecting ground on both sides can cause a ground loop, leading to communication errors or equipment damage.

Termination (termination resistor)

If the EM340 is the last device in the RS485 chain, connect terminal 7 (T) to terminal 9 (A-). This activates the built-in termination resistor (120 Ohm).

Note: A/B are swapped!

warning

Carlo Gavazzi uses the TIA-485 convention: A- = negative, B+ = positive. This is opposite to the naming on the Currentt Navigator. Connect the wires as follows:

Carlo Gavazzi EM340Currentt Navigator
A- (terminal 9)B-
B+ (terminal 8)A+

Remember: EM340 A- goes to Navigator B-, and EM340 B+ goes to Navigator A+. The names are opposite, but the polarity must match.

Bus topology

Preferably use a daisy-chain (series) topology. At short distances (< 25 meters), a star topology often works as well. Connect a maximum of 32 devices to a single RS485 bus. Place a 120 Ohm termination resistor at both ends of the bus.

The Currentt Navigator has a built-in termination resistor that can be enabled or disabled via software. By default, it is enabled.


⚙️ Configuration in the Currentt Navigator

After physically connecting the meter, the device must be added in the Currentt Navigator. This can be done in two ways:

  1. Click the settings icon (top right of the screen)
  2. Choose Setup wizard
  3. Follow the on-screen steps

Manual configuration

  1. Click the settings icon (top right of the screen)
  2. Go to Components
  3. Click the + button in the Meters section
  4. Select Carlo Gavazzi
  5. Choose the model EM340
  6. Specify what the meter will measure:
    • Consumption and generation — the meter measures both consumption and feed-in (bidirectional)
    • Consumption only — the meter measures consumption only
    • Generation only — the meter measures generation only (for example, behind an inverter)
  7. Specify which phases the meter is connected to (L1, L2, and/or L3)
  8. Under Communication, select RS-485
  9. Set the communication parameters. The meter's default settings are pre-filled in the Navigator (see settings summary)

Additional options

  • Measurement range: If possible, specify the measurement range in amperes that will be measured.
  • Reverse meter direction: If the meter is physically installed in the wrong direction, the measurement direction can be reversed in software. This prevents the meter from registering consumption as generation (or vice versa) without physically reversing the meter.
  • Use as PAP: This meter can also be used to measure the main connection (PAP, primary allocation point). In that case, select the "Use as PAP" option during configuration.

📋 Settings summary

ParameterValue
BrandCarlo Gavazzi
ModelEM340
TypeThree-phase energy meter
Baud rate9600
Data bits8
ParityNone
Modbus address1 (default)
Terminal 7T (termination)
Terminal 8B+ (→ Navigator A+)
Terminal 9A- (→ Navigator B-)
Terminal 10GND

🔢 Setting the Modbus address

The EM340 is shipped with Modbus address 1 by default. The address can be changed via:

Via the display

  1. Press and hold the Enter key (SET) for 2 seconds to enter programming mode
  2. Use the arrow key to navigate through the menu items. Scroll past the PASS (password) menu
  3. Navigate until the "Addr" (Address) menu appears
  4. Press and hold the Enter key for 2 seconds to edit the address
  5. Use the arrow keys to set the desired address (001-247)
  6. Confirm the setting with the Enter key

🛟 Troubleshooting

ProblemPossible causeSolution
No communicationA/B wires not swappedSwap A and B: EM340 A- → Navigator B-, EM340 B+ → Navigator A+
No communicationWrong Modbus addressVerify that the address matches in both the meter and the Navigator
No communicationParity is enabled on the meterSet parity to None (disabled)
Incorrect readingsWrong word order (MSW-LSW instead of LSW-MSW)Check if the meter is a production unit (ID 341) and set LSW-MSW
Energy values are a factor of 10 too highValues not divided by 10Energy values are kWh x 10; divide by 10
Intermittent communicationNo twisted pair usedUse a twisted pair for the signal lines
Intermittent communicationTermination missingConnect terminal 7 (T) to terminal 9 (A-) on the last device
Timeout errorsWrong baud rateMake sure the baud rate is 9600 on both sides

📖 Manual