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. Scaler and Unit Problem On Load Profile

Scaler and Unit problem on Load profile

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.

Profile picture for user hivesoft
By hivesoft , 7 May, 2019
Forums
DLMSDirector

Using the latest version of the Director I found some problems in the structure of the GXDLMSProfileGeneric for the logical name 1.0.99.1.0.255 of the load profiles (but not only).

A + (1.0.99.1.0.255) does not have the Scaler and Unit values
Q1 (1.1.5.4.0.255) has them
Q4 (1.1.8.4.0.255) does not have them
A- (1.1.2.4.0.255) has them
Q2 (1.1.6.4.0.255) does not have them
Q3 (1.1.7.4.0.255) has them

I also tried to use the Gurux.DLMS.Net libraries. The same problem occurs when calling the functions in GXDLMSReader.cs GetAssociationView, GetScalersAndUnits and GetProfileGenericColumns.

I also noticed that the values of Description and Attributes are not valued in the same way!

In the zip at http://www.assantech.com/GXDLMSProfileGeneric.zip are stored the xml produced by Director, GXDLMSReader and the trace file

BR
Christian

Profile picture for user Kurumi

Kurumi

7 years 1 month ago

Hi,

Hi,

Reason for this is that scaler and unit do not come in the data. You need to read register first. After it's read scaler is used.

BR,
Mikko

Profile picture for user hivesoft

hivesoft

7 years ago

Hi Mikko

Hi Mikko
The behavior is the same both in the GXDLMSDirector (which asks to read the scalars automatically at the first connection) and by code by calling the GetScalersAndUnits contained in the Gurux.DLMS.Reader.GXDLMSReader class

In a .gxc file made in the previous months instead I have all the GXDLMSDemandRegister correctly filled with scalars and units
<Key xsi:type="GXDLMSDemandRegister">
<Version>0</Version>
<ShortName>52200</ShortName>
<LogicalName>1.1.1.4.0.255</LogicalName>
<Description>Ch. 1 Sum Li Active power+ (QI+QIV) Current avg. 1 Rate 0 (0 is total)</Description>
<Attributes />
<Methods />
<Scaler>0.1</Scaler>
<Unit>27</Unit>
</Key>
...
<Key xsi:type="GXDLMSDemandRegister">
<Version>0</Version>
<ShortName>52400</ShortName>
<LogicalName>1.1.5.4.0.255</LogicalName>
<Description>Ch. 1 Sum Li Reactive power QI Current avg. 1 Rate 0 (0 is total)</Description>
<Attributes />
<Methods />
<Scaler>0.1</Scaler>
<Unit>29</Unit>
</Key>

Using the latest versions (I would say from March) for example 1.0.99.1.0.255 I found:

<Key xsi:type="GXDLMSDemandRegister">
<Version>0</Version>
<ShortName>52200</ShortName>
<LogicalName>1.1.1.4.0.255</LogicalName>
<Description>Ch. 1 Sum Li Active power+ (QI+QIV) Current avg. 1 Rate 0 (0 is total)</Description>
<Attributes />
<Methods />
</Key>
whitout scalar and unit

the second GXDLMSDemandRegister
<Key xsi:type="GXDLMSDemandRegister">
<Version>0</Version>
<ShortName>52400</ShortName>
<LogicalName>1.1.5.4.0.255</LogicalName>
<Description>Ch. 1 Sum Li Reactive power QI Current avg. 1 Rate 0 (0 is total)</Description>
<Attributes />
<Methods />
<Scaler>0.1</Scaler>
<Unit>32</Unit>
</Key>
with scalar and unit... and so on

BR
Christian

Profile picture for user Kurumi

Kurumi

7 years ago

Hi,

Hi,
I have checked and it works like should be. There is one change that might affect.
Select "Demand Register" object. Select "Access rights" tab. Check what is your access rights for attribute #4.

BR,
Mikko

Profile picture for user hivesoft

hivesoft

7 years ago

For all the attributes of the

For all the attributes of the Demand Registries I see the access set to ReadWrite

Profile picture for user Kurumi

Kurumi

7 years ago

Hi,

Hi,
What is your version from GXDLMSDirector? Can you try to read Demand Register and save it. Are scaler and unit saved now?

BR,
Mikko

Profile picture for user hivesoft

hivesoft

7 years ago

The last version: 8.1.1905

The last version: 8.1.1905.1401
I confirm that I read directly the specific demand register the scalar & unit is correctly updated.

One thing that may perhaps help you to identify the anomaly is that the Access attribute is ReadWrite but the type, for those correctly read in the scalar and unit phase is set to Structure, while for those not read is None

Profile picture for user Kurumi

Kurumi

7 years ago

Hi,

Hi,
We try to solve this. For some reason, your scaler and unit of Demand Registers are not read on refresh.
We'll try to find out why. I added this to the work list.

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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin