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. Offset Error

offset error

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 atulsawant , 22 April, 2017
Forums
General discussion

Dear sir,

I am trying to write object 1.65.94.65.24.255 . but while writing following error occurred .
why it came now? when i was writing that object in recent past it wasn't occurred.
i also posted log of that.
please help .

Thanks and regards,

12:06:50 Write object
7E A0 31 00 02 0E D3 41 54 40 24 E6 E6 00 C1 01 C1 00 01 01 41 5E 41 18 FF 02 00 09 13 32 32 2D 30 34 2D 32 30 31 37 20 31 32 3A 30 36 3A 35 30 98 24 7E
12:06:50 Received data
7E A0 13 41 00 02 0E D3 54 A3 AD E6 E7 00 C5 01 C1 00 50 89 7E
12:06:50 Read object Data
7E A0 1C 00 02 0E D3 41 76 9C 6B E6 E6 00 C0 01 C1 00 01 01 41 5E 41 18 FF 02 00 CC 60 7E
12:06:50 Received data
7E A0 21 41 00 02 0E D3 76 42 4E E6 E7 00 C4 01 C1 00 09 0C 07 E1 04 16 00 0C 06 32 56 16 91 91 F1 22 7E
System.ArgumentOutOfRangeException: Offset must be within plus or minus 14 hours.
Parameter name: offset
at Gurux.DLMS.Internal.GXCommon.GetDateTime(GXDLMSSettings settings, GXByteBuffer buff, GXDataInfo info)
at Gurux.DLMS.Internal.GXCommon.GetData(GXDLMSSettings settings, GXByteBuffer data, GXDataInfo info)
at Gurux.DLMS.GXDLMSClient.ChangeType(GXByteBuffer value, DataType type)
at GXDLMSDirector.GXDLMSCommunicator.Write(GXDLMSObject obj, Int32 index, Object value)
at GXDLMSDirector.MainForm.WriteMnu_Click(Object sender, EventArgs e)

Profile picture for user Kurumi

Kurumi

9 years 1 month ago

offset error

Hello,

You meter is using OBIS code : Ch. 65 Utility specific objects.
Usually meters are using Clock object for time.
You are writing string "22-04-2017 12:06:50". Meter accepts this.
When you are reading data, meter reply:
2017-04-22 12:06:50 Etc/GMT-96:17 Your UTC time is wrong in reply.

You can fix this in GXDLMSDirector selecting "OBIS codes" under Tools menu.
Then Select your meter type and create new OBIS code.
Give Logical name 1.65.94.65.24.255.
Add new attribute.
Set Attribute Index: 2
Type: OctetString
UIType: DateTime

BR,

Mikko

atulsawant

9 years 1 month ago

offset error

Dear sir,

I am using the same setting as you suggest. i.e.
Attribute Index: 2
Type: OctetString
UIType: DateTime

Then why it comes?
can suggest any further changes?

Thanks in advance

Profile picture for user Kurumi

Kurumi

9 years ago

offset error

Hi,

We have fixed this. There is a new version available.

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