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 6 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 6 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 6 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 6 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

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • 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

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin