Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Problem Reading Generic Profile From AC6000 Meter

Problem reading generic profile from AC6000 meter

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 Nadav Popplewell, 9 July, 2019
Forums
Gurux DLMS for ME

I'm trying to read information from generic profiles on ACE meter.

(I'm using Java ME 1.3)

I can read information from Load profiles (0.0.99.1.0.255 & 0.0.99.1.2.255)

However, when I try to read the columns from Data of billing period (0.1.98.1.0.255) I get a strange error.

Here is the tracing of the communication whith the meter:

09/07/19 13:43:13.569 - <- 7E,A0,1C,00,02,00,23,03,70,0A,59,E6,E6,00,C0,01,81,00,07,00,01,62,01,00,FF,03,00,C8,47,7E
09/07/19 13:43:14.159 - -> 7E,A0,0A,03,00,02,00,23,35,48,4D,7E
09/07/19 13:43:15.162 - <- 7E,A0,1C,00,02,00,23,03,70,0A,59,E6,E6,00,C0,01,81,00,07,00,01,62,01,00,FF,03,00,C8,47,7E
09/07/19 13:43:15.181 - -> 7E,A8,8C,03,00,02,00,23,36,BF,8C,E6,E7,00,C4,01,81,00,01,42,02,04,12,00,04,09,06,01,00,62,86,01,FF,0F,00,12,00,00,02,04,12,00,07,09,06,00,00,62,85,02,FF,0F,02,12,00,00,02,04,12,00,07,09,06,00,00,62,85,01,FF,0F,02,12,00,00,02,04,12,00,07,09,06,00,00,62,85,3D,FF,0F,01,12,00,00,02,04,12,00,07,09,06,00,00,62,85,3D,FF,0F,02,12,00,00,02,04,12,00,07,09,06,00,00,62,85,3E,FF,0F,01,12,00,00,02,04,12,00,07,09,06,00,00,62,85,71,8C,7E
09/07/19 13:43:15.184 - <- 7E,A0,0A,00,02,00,23,03,91,89,42,7E
09/07/19 13:43:15.225 - -> 7E,A0,0A,03,00,02,00,23,97,50,CB,7E
java.lang.IllegalArgumentException: position
at gurux.dlms.GXByteBuffer.position(GXByteBuffer.java:155)
at gurux.dlms.GXDLMS.getData(GXDLMS.java:2566)
at gurux.dlms.GXDLMSClient.getData(GXDLMSClient.java:1906)
at DLMSProtocol.GXCommunicate.readDLMSPacket(GXCommunicate.java:185)
at DLMSProtocol.GXCommunicate.readDataBlock(GXCommunicate.java:239)
at DLMSProtocol.GXCommunicate.GetColumns(GXCommunicate.java:446)

This seems to me like some problem in the decoding of the last packet from the meter..

Can somebody please help me to solve this problem?

Thanks,
Nadav

Nadav Popplewell

5 years 11 months ago

Looks like the problem is

Looks like the problem is related to timeouts.
before the attached trace I sent the request and got timeout,
Once I increased the timeouts the problem stopped...

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

Thanks from this info. I'm glad that the problem is solved.

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/17/2025 - 13:03
    Gurux.DLMS.Python 1.0.182
  • Wed, 06/04/2025 - 13:35
    gurux.dlms.c 9.0.2506.0401
  • Fri, 05/30/2025 - 08:30
    gurux.dlms.c 9.0.2505.3001
  • Tue, 05/27/2025 - 08:10
    Gurux.Serial.Android 2.0.12
  • Mon, 05/26/2025 - 08:39
    gurux.dlms.c 9.0.2505.2601

New forum topics

  • Day profile action item add error (String is not recognized as valid DateTime value)
  • Create gateway protocol in c
  • Error while reading event log object
  • GXDLMS Simulator – AssociationLogicalName Not Listed
  • Failed to read meter through raspberry pi 5 and probe
More

Who's new

  • wanghao-20
  • jin
  • MK_PY_2025
  • sm12345
  • jack 001
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin