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. Ansi C With IEC 62056-21

Ansi C with IEC 62056-21

By labasvakaras , 3 May, 2023
Forums
Gurux.DLMS

If my device does not use any password, is it possible to read cosem objects using IEC 62056-21?

labasvakaras

3 years 4 months ago

Actually, I don't understand…

Actually, I don't understand the scheme: you need to establish connection with IEC 62056-21 mode E (IEC62056-21 Handshake, like specified here: https://www.gurux.fi/DLMSIntro

and then you just continue to communicate with DLMS messages? (requests etc)

Profile picture for user Kurumi

Kurumi

3 years 4 months ago

Hi, If your meter is…

Hi,

If your meter is supporting the IEC 62056-21 you can read the meter if you know the OBIS codes that you want to read. Or you can try to get a readout.

You should know that there are lots of differences between IEC 62056-21 meters.

Some meters are using IEC 62056-21 only for moving to Mode E and only that is supported from IEC 62056-21. You can't ask for any objects with IEC 62056-21.

If the meter is supporting DLMS, use it. because meters are more standardized and you can get more data from the meter.

BR,
Mikko

labasvakaras

3 years 4 months ago

I have CL730S22 meter: i…

I have CL730S22 meter: i successfully used ANSI C to read values through RS485.

Now i want to test optical meter. Documentation says:

The optical port is designed according to IEC62056-21 mode-E and IEC62056-46 in the data link layer.

So, if I understand correctly, everything should work as it is? I just need to add IEC 62056-21 handshake before trying to initialise connection with gurux?

Profile picture for user Kurumi

Kurumi

3 years 4 months ago

Hi, You need add IEC 62056…

Hi,

You need add IEC 62056-21 handshake to move Mode E and afer that you can use DLMS in the same way as with RS-485.

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin