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. 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 1 month 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 1 month 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 1 month 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 1 month 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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin