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. Node
  3. IEC62056-21 Handshake With Serial Port

IEC62056-21 Handshake with serial port

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 lara.wakim , 6 August, 2020
Forums
General discussion

Hi Mikko,

We read this information from your site "https://www.gurux.fi/Gurux.DLMS.Iec#ModeECPlusPlus" to support what we are writing below.

We know that if we are using IEC handshake with serial port we must first send identify command and move to mode E.

We will enumerate the steps below (correct me if we are wrong):

1- The client sends to the server "/?!\r\n" without the quotations. This requests the identity information from the device.

2- The server responds to the client with this format "/XXXZIdent\r\n" where XXX is the manufacturer name,Z is the maximum baud rate and Ident is the Identification info of the device

3- The client responds to the server with this format "0x06 "2" Z "2" \r\n" where Z is the requested connection speed. This is supposed to let us move to the mode E.

4- Our question concerns this step. In fact, at this stage the client and the server change the baud rate to the requested one. Then the client is waiting to a response from the server. What is this expected response? The server is supposed to send what from the client at that stage?
After this response the client and server are supposed to switch from 7E1 to 8N1 and the client should send the SNRM request and everything should work fine like a DLMS connection. Are we right?

Best Regards,

Lara Wakim

Profile picture for user Kurumi

Kurumi

6 years 3 months ago

Hi Lara,

Hi Lara,

Note! IEC handshake is used only when the optical probe is used. It's not used when you are communicating with a serial port.

If meter accepts the client settings t replies the approved settings, in your example "0x06 "2" Z "2" \r\n".

There is also a small delay after the baud-rate is changed before SNRM is sent.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Association refresh related issue
  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
More

Who's new

  • Anand Raj
  • amir.jradi
  • JOEBID€N123
  • yogibear
  • Eric@li
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin