Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Connecting To An EMH LZQJ-XC

Connecting to an EMH LZQJ-XC

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Aweis , 28 July, 2020
Forums
DLMSDirector

Hi,

I am trying to Connect to an EMH LZQJ-XC.
The meter is via an USB Optical-Probe connected to the PC.

When I want to connect, it fails with an TimeOut:
13:59:06 Initializing serial connection.
13:59:07 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
13:59:12 Data send failed. Try to resend 1/3
13:59:17 Data send failed. Try to resend 2/3
13:59:22 Failed to receive reply from the device in given time.
13:59:22 Disconnect request
13:59:22 Send Disconnect request.
7E A0 07 03 21 53 03 C7 7E
13:59:27 Data send failed. Try to resend 1/3
13:59:32 Data send failed. Try to resend 2/3
13:59:38 Failed to receive reply from the device in given time.
System.TimeoutException: Failed to receive reply from the device in given time.
bei GXDLMSDirector.GXDLMSDevice.InitializeConnection()
bei GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)

Also, if I try to Connect with an Different Manufacturer. The Meter sent this Respone:

10:48:44 Initializing serial connection.
10:48:45 IEC Sending:/?!<CR><LF>
10:48:47 HDLC received: /EMH4\@01LZQJL0014E<CR><LF>
System.Exception: Manufacturer type does not match. Manufacturer is EMH and it should be ELE.
bei GXDLMSDirector.GXDLMSDevice.InitializeConnection()
bei GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)

That menas it couldnt be an issue wth the Cable or the Meter.

Many thanks in advance

Image
Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Change start protocol from DLMS to IEC if you are using an optical probe.

BR,
Mikko

Aweis

6 years 1 month ago

Hi,

Hi,

I tried that setting too of course with but with no success.
Logic Name Reference: false
Interface: HDLC
Client Address: 10
Physical Server: 1
Logical Server: 0

I also tried it with the SerialNumber adressing, but no success.
Logic Name Reference: false
Interface: HDLC
Client Address: 10
Serial Number: 4626090
Logical Server: 0
I always get an faliled SNRM request and an Timeout.

I read that DLMS is optional and the meter doesn't have the DLMS-Logo on it.
I already wrote the guys from EMH if they can assure me if the meter does have the option,
or that our electrician bought an wrong meter :/.

Anyways if you got any other Idea thanks in advance

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

We have read EMH LZQJ-XC, but we are using the serial port connection. Meter is replying for IEC message, so your serial port settings and cable should be OK.

Try with default settings, but change Start Protocol to IEC.

BR,
Mikko

Aweis

6 years 1 month ago

Hi,

Hi,

Now i got the info that we bought the meter without the DLMS option :(

Sorry for the inconvenience.

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Thanks for this info. I hope that you can read the meter.

BR,
Mikko

Aweis

6 years 1 month ago

Yeah,

Yeah,

do you know an nice library or way to read out the IEC 62056-21 ?

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

There are a lot of differences in how meters have implemented IEC 62056-21.
Getting readout is quite simple if mode A is supported. Just send /?!\r\n and meter replies the readout in ASCII format. I believe that easiest way is if you ask from the meter manufacturer.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • Anaglyfos Trading CC
  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin