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. Device Reports Read-Write Denied.

Device reports Read-Write denied.

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 Tvister , 20 March, 2017
Forums
Gurux DLMS for Java

Hello!!

Help please !!
I'm writing a server for poll counters. The survey was successful, but time synchronization not. Trying to set the time on counter (0.0.1.0.0.255). When executing synchronization there is a gurux.dlms.GXDLMSException: Access Error: Device reports Read-Write denied.

<- 7E A0 1D 00 02 84 1B 41 54 C1 CB E6 E6 00 06 01 02 68 00 01 09 06 00 00 01 00 00 FF B5 99 7E
-> 7E A0 13 41 00 02 84 1B 74 5D F7 E6 E7 00 0D 01 01 03 60 AF 7E

Profile picture for user Kurumi

Kurumi

9 years 7 months ago

Device reports Read-Write denied.

Hi,

Your data is wrong. You try to write logical name of clock object("0.0.1.0.0.255").

BR,

Mikko

Tvister

9 years 7 months ago

I execute this code:

I execute this code:

((GXDLMSClock)it).setTime(new GXDateTime(date));
for (int pos : ((IGXDLMSBase) it).getAttributeIndexToRead()) {
if(pos == 2){ // Set Date and Time
try {
com.writeObject(it, pos);
}catch(Exception e){
e.printStackTrace();
}
}
}

Can you tell what is wrong with my part

Tvister

9 years 7 months ago

Data reciving

<- 7E A0 23 00 02 84 1B 41 76 BA 99 E6 E6 00 06 01 02 68 08 01 09 0C 07 E1 03 15 02 10 2C 0C 2E 00 78 00 10 6B 7E
-> 7E A0 13 41 00 02 84 1B 96 41 33 E6 E7 00 0D 01 01 03 60 AF 7E

Profile picture for user Kurumi

Kurumi

9 years 7 months ago

Device reports Read-Write denied.

Hi,

Now data looks correct. You must also use authentication level Low.
I believe that you are using Authentication level None and you do not have enough permissions.
Get also latest version. We have released new version.
<WriteRequest>
<ListOfVariableAccessSpecification Qty="01" >
<VariableName Value="6808" />
</ListOfVariableAccessSpecification>
<ListOfData Qty="01" >
<!--21.3.2017 20.44.12-->
<OctetString Value="07E1031502102C0C2E007800" />
</ListOfData>
</WriteRequest>

BR,

Mikko

Tvister

9 years 7 months ago

Thank you!!!!

Thank you. It was necessary to establish
GXDLMSClient client = new GXDLMSClient ();
client.setClientAddress (1);

At the beginning I was set ClientAddress to 32

Profile picture for user Kurumi

Kurumi

9 years 7 months ago

Device reports Read-Write denied.

Hi,

It's sad that manufacturers are using different client addresses. This is causing a lot of problems and extra work. I'm glad that you solved this.

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