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. Forums
  3. Interpretation of Bit-String Values I.e From Where Bit 0 Shall Start

Interpretation of Bit-String Values i.e from where Bit 0 Shall Start

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 deepaks , 22 May, 2020
Forums
General discussion

Hi,

Please tell me Is it the correct interpretation of Value field(for Bit-String Data Type) in following example:

04 10 26 4A

Bit 0 - 0
Bit 1 - 1
Bit 2 - 0
Bit 3 - 1
Bit 4 - 0
Bit 5 - 0
Bit 6 - 1
Bit 7 - 0
Bit 8 - 0
Bit 9 - 1
Bit 10 - 1
Bit 11 - 0
Bit 12 - 0
Bit 13 - 1
Bit 14 - 0
Bit 15 - 0

Thanks in Advance

Profile picture for user Kurumi

Kurumi

6 years 5 months ago

Hi,

Hi,

04 10 26 4A = 0010011001001010

In bit-string first bit is on the left side, not at the end. In this way new bits are happened to the end of bit string.

If you download GXDLMSDirector and select "Tools", and "DLMS Translator" and then select "Data to XML tab" you can validate bit string by your self adding your bytes and pressing "PDU To XML" button.

BR,
Mikko

deepaks

6 years 5 months ago

In reply to Hi, by Kurumi

Hi Mikko,

Hi Mikko,

Thanks for your Prompt Reply !!!
where is the Bit 0 located extreme left or extreme right

<BitString Value="00000000000000000000000000000000000000001001000000000000000000000000000000000000000000000000000000000000000000000000000000010000" />

Thanks in Advance

Profile picture for user Kurumi

Kurumi

6 years 5 months ago

Hi Deepak ,

Hi Deepak ,

The first bit is located on the left. This is because there might be new bits in the future and if they are added to the left, it will break backward compatibility. This is common example in Image Transfer. Image size might grow and new blocks are needed to send the image.

BR,

Mikko

deepaks

6 years 5 months ago

In reply to Hi Deepak , by Kurumi

Hi Mikko,

Hi Mikko,

Thanks a lot, now i got the concept behind the Bit-Strings.

  • 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