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)
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
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
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
offset error
Hi,
We have fixed this. There is a new version available.
BR,
Mikko