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. Limiter - Normal Threshold

Limiter - Normal Threshold

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 Remith , 2 September, 2020
Forums
Gurux DLMS for Java

Hi,
I am trying to write the Limiter Normal Threshold parameter through Gurux Java library. Getting below exception.

gurux.dlms.GXDLMSException: Access Error : Device reports a unmatched type.

Below is my code,
GXDLMSLimiter lm = new GXDLMSLimiter("0.0.17.0.0.255");
lm.setThresholdNormal(18720);
com.writeObject(lm, 4);

Other parameter I am able to write. Only facing problem with Threshold Normal.
Gurux DLMSdirecter also its working.

Kindly help me to resolve this issue.

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

I believe that your datatype is wrong. You need to read it first to update the data type or give it like this:
lm.setThresholdNormal(GXUInt32(18720));

Change GXUInt32 to the correct data type.

BR,

Mikko

Remith

5 years 8 months ago

It worked .... Thank you.

It worked .... Thank you.

kevin jose minj

3 years 5 months ago

In reply to It worked .... Thank you. by Remith

Can you tell me which

Can you tell me which datatype you used for writing the value?

Remith

3 years 5 months ago

In reply to Can you tell me which by kevin jose minj

Read the object first. Gurux

Read the object first. Gurux automatically identify the data type.
After you can set the value and write back

kevin jose minj

3 years 5 months ago

In reply to Read the object first. Gurux by Remith

Can you show the example code

Can you show the example code?

kevin jose minj

3 years 5 months ago

In reply to Can you show the example code by kevin jose minj

data = GXDLMSLimiter('0.0.17

data = GXDLMSLimiter('0.0.17.0.0.255')
val = self.read(data,4)
data.value = 200
self.write(data, 2)

this is my code

Remith

3 years 5 months ago

In reply to data = GXDLMSLimiter('0.0.17 by kevin jose minj

Look like you are reading 4th

Look like you are reading 4th index and writing to 2nd index

  • 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