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. Not Able To Write From Director

Not able to write from Director

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 Bhaumik , 31 August, 2020
Forums
DLMSDirector

Hi Mikko,

I am trying to write Passive Relay Time (1.0.96.128.30.255) into IS15959-2 meter.

In that, If I change any value of structure and try to write, I got an error message as shown in the attached image. Please check.

Following is the response from meter:

<Structure>
<UInt32 Value="500" />
<UInt32 Value="900" />
<UInt8 Value="4" />
<OctetString Value="FF FF FF FF FF FF FF FF FF FF FF FF" />
</Structure>

Image
Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Please, don't use images with this size. They are compressed and I can't see the error message.

I tested this and it worked. What version from GXDLMSDirector you are using?

BR,
Mikko

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

I am using 8.2.2008.2701 GXDLMSDirector.

And the error message in the screenshot was "String was not recognized as a valid DateTime."

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

I believe that you have changed UIType to DateTime. Select "Passive Relay Time" object. Then select "Access rights" tab and check Type and UIType for attribute #2.

Check that Type is structure and UIType is None. If Type is something else, read the association view again. If UIType is something else, you can just change it.

BR,
Mikko

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

Yup, The data type for attribute #2 was DateTime. After updating UIType to None it is working properly.

Thanks for the quick update.

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

In the same obis code Passive Relay Time (1.0.96.128.30.255) into IS15959-2 meter, the last object
is DateTime and in that, we got byte array. So is that possible to get it in a proper date-time format?

<Structure>
<UInt32 Value="500" />
<UInt32 Value="900" />
<UInt8 Value="4" />
<OctetString Value="FF FF FF FF FF FF FF FF FF FF FF FF" />
</Structure>

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Meter sends it in a byte array. It might be possible. I don't have an Indian Standard specification with me at the moment. What are the descriptions of those fields?

BR,
Mikko

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

This obis code actually manufacture specific and description added in IS16444 only.
From the description, Fields are as below :
There is no data type provided in description.

-Time interval between autoreconnection attempt
-Lockout time Period
-Number of auto-reconnection attempts
-Activation date-time

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

This is possible. We need to create a new device template for this manufacturer.
I need to know the meter manufacturer name so we can create the template.

BR,

Mikko

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

I am testing the meter of Zen Manufacturer supporting the IS16444 standard.

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

I checked and Zen has a Flag ID. That is good and we can add device settings for ZEN.
The next version is released next week and support for this feature is there.

BR,
Mikko

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

There is a new version released. This functionality is added to the new version.
Update to the latest version.

You need to select ZenMeteras Solutions as a manufacturer and then read the association view again.
You should see UI like in the picture.

BR,
Mikko

Image

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

I have checked with the latest Director.

For Passive Relay Time, It has ReadWrite access and from Director not able to write.

For Active Relay Time, it has Read-only access and from Director, it gives a writeable textbox.

Please check the attached images for both obis codes respectively.

Image

Bhaumik

5 years 9 months ago

Please find Active Relay Time

Please find Active Relay Time image

Image
Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

You need to change the value if you want to write it. You didn't talk from Active Relay Time and it's not added. We'll add it later.

BR,

Mikko

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Select "Access rights" tab and check access level for Active Relay Time image. I believe it's ReadWrite and not Read.

BR,
Mikko

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

Yes, I haven't informed regarding Active Relay Time as it is read only access.

And In Passive Relay Time, We are trying to change the value in grid but it is not updating.

Please check for Passive Relay Time write operation once

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

After you have set new values you need to press "Write" -button to write value to the meter.
Write button is gray until you have change the value.

In your previous post you wrote: For Active Relay Time, it has Read-only access and from Director, it gives a writeable textbox.

Textbox is writable because the meter returns the ReadWrite access level or you have changed it from the "Access rights" tab. Check that.

BR,
Mikko

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

In the latest Director, When I am read Passive Realy Time, the DateTime value not shown.

Please check this in the attached image.

Image
Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

The reason is the date-time value (FF FF FF FF FF FF FF FF FF FF FF FF). This means that the date-time value is not used. Try to write a new date-time to the meter and read it again.

BR,
Mikko

KhushbuBadheka

5 years 9 months ago

Hi,

Hi,

As per the screen shot, you can see that I received proper data for date time. However, can not write it properly.

Thanks.

Image
Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Please, don't use images. They are compressed and I can't read them. As far as I can see from the pic, year, month, day, hour, and minute are not used.

BR,

Mikko

KhushbuBadheka

5 years 9 months ago

Hi,

Hi,

As per your previous reply ;
"The reason is the date-time value (FF FF FF FF FF FF FF FF FF FF FF FF). This means that the date-time value is not used. Try to write a new date-time to the meter and read it again."

However, we are unable to write in the meter, due to non responsive UI of the Director.

Please find reading data PDU for your reference.

<HDLC len="3E" >
<TargetAddress Value="30" />
<SourceAddress Value="1" />
<FrameType Value="1E" />
<PDU>
<!-- Invocation Counter: 6 -->
<!-- Decrypt data: C4 01 81 00 02 04 06 00 00 01 2C 06 00 00 03 84 11 04 09 0C FF FF FF FF FF FF FF FF FF 80 00 FF
<GetResponse>
<GetResponseNormal>
# Priority: High, ServiceClass: UnConfirmed, ID: 1
<InvokeIdAndPriority Value="81" />
<Result>
<Data>
<Structure Qty="04" >
<UInt32 Value="0000012C" />
<UInt32 Value="00000384" />
<UInt8 Value="04" />
#
<OctetString Value="FFFFFFFFFFFFFFFFFF8000FF" />
</Structure>
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
-->
<ded_GetResponse Value="3000000006AA4FB183DD6D514BE0D8CED4E55D352E26F140C64E27A3702D6FEFE9E0AF18D8AC55B2E5A1423F0EDF8686F4" />
</PDU>
</HDLC>

Thanks.

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

You need to give a new date-time value in your localization format. Like in the picture below. When you double click the cell you can change the value.

BR,
Mikko

Image

KhushbuBadheka

5 years 9 months ago

Thanks Mikko,

Thanks Mikko,

We can write properly from the latest director. However, we are getting error code 11 (Unavailable Object's error) on each writing from tour source. We are using latest DLMS package to write.

FYI : We checked that in both sources (director and ours) writing value structure list has same values to be written.

Can you please add Passive Relay Time object to Indian Stranded?

Khushbu Badheka

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Are you using Gurux DLMS stack on the server-side or something else?

At some point, you told me that this Passive Relay Time is manufacturer specific and it's not defined in the Indian standard. For that reason, it's added only to ZenMeter Solutions device template.

BR,
Mikko

KhushbuBadheka

5 years 9 months ago

Thanks Mikko for the quick

Thanks Mikko for the quick reply.

However, Zen Meters is the Indian manufacture which is belongs to IS 16444 so please update this in IS.

Thanks

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

We can't make custom modifications. I'll first ask this from a few Indian meter manufacturers how they have implemented this.

BR,
Mikko

KhushbuBadheka

5 years 9 months ago

Thanks Mikko,

Thanks Mikko,

You can find this in IS16444 standard and Zen meter is following it too.
FYI : Indian Standard is made of IS15959 and IS16444 both.

BR,
Khushbu

KhushbuBadheka

5 years 9 months ago

Please find IS 16444:2015

Please find IS 16444:2015 documentation.

Image

Bhaumik

5 years 9 months ago

Hi Mikko,

Hi Mikko,

Have you confirmed with other Indian manufacturers?

Can you please provide an update

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

We have spoken from it. IS 16444:2015 doesn't define the structure of Passive or active Relay Time. They have implemented it differently. For this reason, it can't be added to the Indian Standard template.

BR,
Mikko

chauvaux

5 years 1 month ago

Hello,

Hello,
I cannot write a meter Genus from director with hls security level.
The error message is : Service error read exception.Access scope of access violated.
The object is : 1.0.0.8.4.255
I have modified the access rights as followed :
Access : ReadWrite (Write doesn't work too)
UIType none (UInt16 doesn't work too)

Can you help please.
Best regards
Marc Chauvaux

Profile picture for user Kurumi

Kurumi

5 years 1 month ago

In reply to Hello, by chauvaux

Hi Marc,

Hi Marc,

Please, create a new topic if you have a new question.
https://www.gurux.fi/ForumRules

If you modify the access level in GXDLMSDirector it doesn't affect the meter. Try to refresh the meter.
If the access level is Read, you can't write this value for the meter.

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