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. How To Convert Obis Code To Pdu Hex String

How to convert obis code to pdu Hex string

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 karlpy , 22 June, 2018
Forums
Gurux.DLMS

When I copy and paste a request from GXDLMSDirector, I get an XML. The only thing that seems to change is this string <InstanceId Value="01000F0800FF" />
I'm building an application where I can select, or build reading profiles from any obis code in a database and make custom dlms requests. My question is, how can I convert an obis code, for example: 1.0.15.8.0.255 --> 01000F0800FF
or
1.0.5.8.0.255 --> 0100050800FF
in c# or in GXDLMSTranlator and vice versa?
If I can do that then I can generate an xml and don't need to create and save hundreds of xml files in my database. I'd appreciate suggestions about alternative solutions to this problem. As I said, I need my users to be able to dynamically create dlms-request-profiles which my program then is able to read.

Image
Profile picture for user Kurumi

Kurumi

8 years 4 months ago

How to convert obis code to pdu Hex string

Hi,

Convert values to hex and skip dot's. Lie this:
1.0.5.8.0.255 --> 0100050800FF

1:0x01
0:0x00
5:0x05
8:0x08
0:0x00
255:0xFF

BR,

Mikko

Adil Hameed

6 years ago

Hi sir!

Hi sir!
sir I have a device iskrameco mt880 I am not able to read it with general OBIS codes using serial port R232
my question is that can we read OBIS codes in the meter firmware.?
please help me

Image
Profile picture for user Kurumi

Kurumi

6 years ago

Hi,

Hi,

If you use GXDLMSDirector it will read association view and association wive will describe all the OBIS codes that meter can offer.

BR,
Mikko

Adil Hameed

5 years 11 months ago

Dear sir ! I have its own

Dear sir ! I have its own software provided by the company iskrameco now I can read and write parameters.
Dear sir i want to know the obis code of (calibration measuring constant) There i have a obis code of (pulse constant 0.3.0, 0.3.1 etc) I want to change measuring constant with respect to my project!
Plz help

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Dear Sir,

Dear Sir,

You need to ask this from the meter manufacturer. You can see all the OBIS codes and their descriptions in the application.

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

  • 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
  • HDLC Frames sequencing
More

Who's new

  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
  • williamorussell
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin