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.
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.
Hello,
I'm using a DLMS Siemens meter and I'm trying to read the Association View but I'm getting an Invalid OBIS Code error after a few minutes runnig the Client example in c#.
This error also happens when I use the GXDLMSDirector. What could be causing this error?
Command line: -S COM1:9600:8NoneOne -c 102 -s 144 -a Low -P xxxxxxxx -w 1 -f 128 -t Verbose
Thanks,
Douglas S.
---
CMD:
Standard: DLMS
Send SNRM request.7E A0 08 02 21 CD 93 3C 91 7E
TX: 13:16:51 7E A0 08 02 21 CD 93 3C 91 7E
RX: 13:16:51 7E A0 21 CD 02 21 73 81 62 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01 CE 6A 7E
Parsing UA reply.81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01
Parsing UA reply succeeded.
Send AARQ request
TX: 13:16:51 7E A0 47 02 21 CD 10 71 8C E6 E6 00 60 38 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0C 80 0A 32 32 32 32 32 32 32 32 32 32 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 20 1E 5D FF FF 40 AC 7E
RX: 13:16:51 7E A0 38 CD 02 21 30 3A F7 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 1D 00 AC 00 07 82 66 7E
Parsing AARE reply61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 1D 00 AC 00 07
Conformance: BlockTransferWithGetOrRead, BlockTransferWithSetOrWrite, Get, Set, SelectiveAccess, Action
Parsing AARE reply succeeded.
TX: 13:16:51 7E A0 1A 02 21 CD 32 77 87 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
RX: 13:16:52 7E A8 8A CD 02 21 52 7A DE E6 E7 00 C4 02 C1 00 00 00 00 01 00 81 A0 01 82 05 23 02 04 12 00 01 11 00 09 06 00 00 60 02 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 07 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 07 01 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 34 34 7E
[...]
+TX: 13:20:28 7E A0 14 02 21 CD F8 99 8F E6 E6 00 C0 02 C1 00 00 01 73 1C F7 7E
RX: 13:20:29 7E A0 29 CD 02 21 BE 48 25 E6 E7 00 C4 02 C1 01 00 00 01 74 00 12 02 02 0F 0E 03 00 02 02 0F 0F 03 00 02 02 0F 10 03 00 9A 35 7E
+Disconnecting from the meter.
TX: 13:20:30 7E A0 08 02 21 CD 53 30 57 7E
RX: 13:20:30 7E A0 08 CD 02 21 73 74 53 7E
Invalid OBIS Code.
System.ArgumentException: Invalid OBIS Code.
em Gurux.DLMS.GXStandardObisCodeCollection.GetBytes(String ln)
em Gurux.DLMS.GXStandardObisCodeCollection.Find(String obisCode, ObjectType objectType, Standard standard)
em Gurux.DLMS.GXDLMSConverter.UpdateOBISCodeInfo(GXStandardObisCodeCollection codes, GXDLMSObject it, Standard standard)
em Gurux.DLMS.GXDLMSConverter.UpdateOBISCodeInformation(GXDLMSObjectCollection targets)
em Gurux.DLMS.GXDLMSClient.ParseObjects(GXByteBuffer data, Boolean onlyKnownObjects, Boolean ignoreInactiveObjects)
em Gurux.DLMS.GXDLMSClient.ParseObjects(GXByteBuffer data, Boolean onlyKnownObjects)
em Gurux.DLMS.Reader.GXDLMSReader.GetAssociationView(String outputFile) na C:\Users\Source\Repos\Gurux.DLMS.Net\Gurux.DLMS.Client.Example.Net\GXDLMSReader.cs:linha 918
em Gurux.DLMS.Reader.GXDLMSReader.ReadAll(String outputFile) na C:\Users\Source\Repos\Gurux.DLMS.Net\Gurux.DLMS.Client.Example.Net\GXDLMSReader.cs:linha 403
em Gurux.DLMS.Client.Example.Program.Main(String[] args) na C:\Users\Source\Repos\Gurux.DLMS.Net\Gurux.DLMS.Client.Example.Net\Program.cs:linha 138
Hi,
Hi,
There seems to have an issue with the meter. The meter returns an invalid logical name for the Tcp Udp Setup object. Ask if there is a firmware update available from your meter vendor.
BR,
Mikko