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. How To Add Custom Object ?

how to add custom object ?

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 953313493@qq.com , 6 March, 2021
Forums
DLMSDirector

How to set custom object with xml edit?

is there any example ?

Image

953313493@qq.com

5 years 3 months ago

if set is like follow

if set is like follow

<SetRequest>
<SetRequestNormal>
<!-- Priority: Normal, ServiceClass: UnConfirmed, ID: 12 -->
<InvokeIdAndPriority Value="0C" />
<AttributeDescriptor>
<!-- Data -->
<ClassId Value="0001" />
<!-- 0.0.96.80.2.255 -->
<InstanceId Value="0000605002FF" />
<AttributeId Value="02" />
</AttributeDescriptor>
<Value>
<Array Qty="01" >
<Structure Qty="03" >
<String Value="task_item" />
<Enum Value="01" />
<Array Qty="03" >
<Structure Qty="02" >
<String Value="id" />
<String Value="19" />
</Structure>
<Structure Qty="02" >
<String Value="task_id" />
<String Value="1" />
</Structure>
<Structure Qty="02" >
<String Value="status" />
<String Value="1" />
</Structure>
<Structure Qty="02" >
<String Value="type" />
<String Value="1" />
</Structure>
<Structure Qty="02" >
<String Value="name" />
<String Value="hello word" />
</Structure>
<Structure Qty="02" >
<String Value="corn" />
<String Value="111111" />
</Structure>
</Array>
</Structure>
</Array>
</Value>
</SetRequestNormal>
</SetRequest>

953313493@qq.com

5 years 3 months ago

and how to set if i have to

and how to set if i have to read with some args?

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

Is the amount of the structures 5 instead of 3?
<Array Qty="03" >

What kind of arguments do you want to use for reading? Data objects are usually read without parameters.

BR,
Mikko

953313493@qq.com

5 years 3 months ago

In reply to Hi, by Kurumi

I am sorry, <Array Qty =“ 06”

I am sorry, <Array Qty =“ 06”>

I want to read like in xml client read , so how should I input in the GXDLMSDirector

953313493@qq.com

5 years 3 months ago

In reply to Hi, by Kurumi

or like follow , how shoud

or like follow , how shoud i input in GXDLMSDirector
<SetRequest>
<SetRequestNormal>
<InvokeIdAndPriority Value="68" />
<AttributeDescriptor>
<ClassId Value="1" />
<InstanceId Value="0000605001FF" />
<AttributeId Value="2" />
</AttributeDescriptor>
<Value>
<Structure Qty="3">
<String Value="task" />
<Enum Value="1" />
<Array Qty="1">
<Structure Qty="2">
<Array Qty="1">
<Structure Qty="2">
<Enum Value="0" />
<String Value="30" />
</Structure>
</Array>
<Array Qty="1">
<Structure Qty="2">
<Enum Value="1" />
<String Value="1phase_task" />
</Structure>
<Structure Qty="2">
<Enum Value="2" />
<String Value="1" />
</Structure>
</Array>
</Structure>
</Array>
</Structure>
</Value>
</SetRequestNormal>
</SetRequest>

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

You don't need to do anything. If you just read the value from the meter you can see it like the picture below. After the read, you can modify it and write back.

BR,
Mikko

Image
  • 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