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. Iec

iec

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 hojat , 16 April, 2022
Forums
General discussion

hi
i made a optical probe .
[Web address removed.]

i can read most of meter via it with iec62056 protocol mode C and E.
now i want to add dlms its. i use mode E and send command and get respond from meter ACK 2 Z 2 CR LF
but i dont know how i can continue ??

Image
Profile picture for user Kurumi

Kurumi

4 years 3 months ago

Hi,

Hi,

I propose that you use Gurux open source libraries to read your meter. DLMS is not a very easy protocol. You need to start with baud rate 300 7E1 and change it after you have established the connection with IEC. The meter returns the baud rate that it wants to use.

BR,
Mikko

hojat

4 years 3 months ago

In reply to Hi, by Kurumi

i know i know

i know i know
but i dont know how i can use dlms library in mode E.
Iv sent command /?! then meter respond xxxz\2 so W is 2
next i send ack for meter and meter respond ack and now it is ready for dlms
i dont know what request send for it to read dlms protocol

Profile picture for user Kurumi

Kurumi

4 years 3 months ago

Hi,

Hi,

Your meter is not in Mode E and you can start to use DLMS. DLMS is a binary protocol where IEC 62056-21 is ASCII.
http://www.gurux.fi/DLMSCOSEMFAQ

BR,
Mikko

hojat

4 years 3 months ago

how can i read meter via dlms

how can i read meter via dlms protocol by optical probe???????

Profile picture for user Kurumi

Kurumi

4 years 3 months ago

Hi,

Hi,

First, check that your meter is supporting DLMS. If it is, then you can use for example GXDLMSDirector to read your meter. It might be that your meter is supporting only IEC 62056-21 and then you can't read the meter with DLMS.

BR,
Mikko

ARDHY

4 years 3 months ago

Hello

Hello
I uploaded the sample Arduino code for dlms to the ARDUINO MEGA2560 hardware tracking and connected the optical probe to the Arduino board via serial connection according to the instructions.
I ran it on the ACE5000 meter, but no response was received in the monitor series, and only the submitted codes are displayed.
Please advise.
Thank you

Image
Profile picture for user Kurumi

Kurumi

4 years 3 months ago

Hi,

Hi,

Try to read your meter with GXDLMSDirector first. It will save a lot of time.
Select "Itron" as a manufacturer and try to connect. I don't know what baud rate you should use so you must try to find the correct baud rate.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
  • gurux_dlms.GXDateTime.GXDateTime object Error in Python
  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
More

Who's new

  • RBCLQVpfdDeeYPPbKksI
  • eZDLCKpzJAzARY…
  • RicardoNoula
  • ScottKit
  • liha_2019
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin