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.
Hi, Colleguaes
I used old version GXDLMSDirector and successeful connected to my DLMS device. After upgrade to V8.2.2.106 1501 I am not able to connect to my device and read data. I receive error
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: access
at GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh)
at GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters)
Help me, please, what does it mean this error?
My settings is on the screen. Log of connection is below
GXDLMSDirector 8.2.2106.1501
Log created 10:51:21
10:52:41 Initializing Network connection.
10:52:42 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="93" />
<Snrm>
</Snrm>
</HDLC>
10:52:42
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
<HDLC len="1D" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="128" />
<MaxInfoRX Value="128" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>
Duration: 16
10:52:42 Parsing UA reply succeeded.
10:52:42 Send AARQ request.
7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 00 10 FF FF 59 76 7E
<HDLC len="2A" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="Get" />
</ProposedConformance>
<ProposedMaxPduSize Value="FFFF" />
</InitiateRequest>
</AssociationRequest>
</PDU>
</HDLC>
10:52:42
7E A0 37 21 03 30 6C 7C 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 1A 1D 02 00 00 07 D6 FD 7E
<HDLC len="36" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="00" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="06" />
<NegotiatedConformance>
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Action" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="0200" />
<VaaName Value="0007" />
</InitiateResponse>
</AssociationResponse>
</PDU>
</HDLC>
Duration: 23
10:52:42 Parsing AARE reply succeeded.
10:52:43 --- Collecting objects. ---
10:52:43 Collecting objects
7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
<HDLC len="18" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="32" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<ClassId Value="000F" />
<InstanceId Value="0000280000FF" />
<AttributeId Value="02" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
10:52:43
7E A8 89 21 03 52 86 A9 E6 E7 00 C4 01 C1 00 01 04 02 04 12 00 0F 11 01 09 06 00 00 28 00 00 FF 02 02 01 0B 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 01 00 02 03 0F 0B 16 01 00 01 01 02 02 0F 01 16 03 02 04 12 00 0F 11 01 09 06 00 00 28 00 01 FF 55 55 7E
<HDLC len="88" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="52" />
<NextFrame Value="C401C1000104020412000F110109060000280000FF0202010B02030F0116010002030F0216010002030F0316010002030F0416010002030F0516010002030F0616010002030F0716010002030F0816010002030F0916010002030F0A16010002030F0B160100010102020F011603020412000F110109060000280001FF" />
</HDLC>
Duration: 26
10:52:43 Get next frame.
10:52:43 Collecting objects
7E A0 07 03 21 51 11 E4 7E
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="51" />
<Command Value="NextFrame" />
</HDLC>
10:52:44
7E A8 89 21 03 54 B0 CC 02 02 01 0B 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 01 00 02 03 0F 0B 16 01 00 01 01 02 02 0F 01 16 03 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 A1 8D 7E
<HDLC len="88" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="54" />
<NextFrame Value="0202010B02030F0116010002030F0216010002030F0316010002030F0416010002030F0516010002030F0616010002030F0716010002030F0816010002030F0916010002030F0A16010002030F0B160100010102020F0116030204120008110009060000010000FF0202010902030F0116010002030F0216010002030F031601" />
</HDLC>
Duration: 23
10:52:44 Get next frame.
10:52:44 Collecting objects
7E A0 07 03 21 71 13 C5 7E
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="71" />
<Command Value="NextFrame" />
</HDLC>
10:52:44
7E A0 59 21 03 56 FA 4D 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 A4 DD 7E
<HDLC len="58" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="56" />
<NextFrame Value="0002030F0416010002030F0516010002030F0616010002030F0716010002030F0816010002030F09160100010002041200011100090600002A0000FF0202010202030F0116010002030F021601000100" />
</HDLC>
Duration: 22
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: access
at GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh)
at GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters)
Hi,
Hi,
Your meter is not returning an association view and it's mandatory. You should ask the meter manufacturer to add it. We'll add a check for the next version, so you can read the meter.
BR,
Mikko
Unfortunately, I am not agree
Unfortunately, I am not agree with thesis, that this meter don't return association view. You can see from exchange log, that meter answered on the request attribute 2 of association object (object-list). And all old version GXDLMSDirector could receive and understood list of object from this meter. We saw list objects from this meter in all old version GXDLMSDirector. Our question started after update GXDLMSDirector up to 8.2.2106.1501. Decoded answer of meter is below (from Gurux DLMS translator). Maybe version 8.2.2106.1501 has new rules to check this answer and we need correction meter or GXDLMSDirector setup?
<GetResponse>
<GetResponseNormal>
<!-- Priority: High, ServiceClass: Confirmed, ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<Array Qty="04" >
<Structure Qty="04" >
<UInt16 Value="000F" />
<UInt8 Value="01" />
<!-- 0.0.40.0.0.255 -->
<OctetString Value="0000280000FF" />
<Structure Qty="02" >
<Array Qty="0B" >
<Structure Qty="03" >
<Int8 Value="01" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="02" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="03" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="04" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="05" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="06" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="07" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="08" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="09" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="0A" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="0B" />
<Enum Value="01" />
<None />
</Structure>
</Array>
<Array Qty="01" >
<Structure Qty="02" >
<Int8 Value="01" />
<Enum Value="03" />
</Structure>
</Array>
</Structure>
</Structure>
<Structure Qty="04" >
<UInt16 Value="000F" />
<UInt8 Value="01" />
<!-- 0.0.40.0.1.255 -->
<OctetString Value="0000280001FF" />
<Structure Qty="02" >
<Array Qty="0B" >
<Structure Qty="03" >
<Int8 Value="01" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="02" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="03" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="04" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="05" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="06" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="07" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="08" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="09" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="0A" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="0B" />
<Enum Value="01" />
<None />
</Structure>
</Array>
<Array Qty="01" >
<Structure Qty="02" >
<Int8 Value="01" />
<Enum Value="03" />
</Structure>
</Array>
</Structure>
</Structure>
<Structure Qty="04" >
<UInt16 Value="0008" />
<UInt8 Value="00" />
<!-- 0.0.1.0.0.255 -->
<OctetString Value="0000010000FF" />
<Structure Qty="02" >
<Array Qty="09" >
<Structure Qty="03" >
<Int8 Value="01" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="02" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="03" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="04" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="05" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="06" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="07" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="08" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="09" />
<Enum Value="01" />
<None />
</Structure>
</Array>
<Array Qty="00" >
</Array>
</Structure>
</Structure>
<Structure Qty="04" >
<UInt16 Value="0001" />
<UInt8 Value="00" />
<!-- 0.0.42.0.0.255 -->
<OctetString Value="00002A0000FF" />
<Structure Qty="02" >
<Array Qty="02" >
<Structure Qty="03" >
<Int8 Value="01" />
<Enum Value="01" />
<None />
</Structure>
<Structure Qty="03" >
<Int8 Value="02" />
<Enum Value="01" />
<None />
</Structure>
</Array>
<Array Qty="00" >
</Array>
</Structure>
</Structure>
</Array>
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
Hi,
Hi,
You are right. I was using the new version and it's released in the next week. This is fixed for that version.
BR,
Mikko
Please clarify for me - will
Please clarify for me - will there be a version that can read our device next week?
Hi Fedotov,
Hi Fedotov,
The new version where this is fixed is released today.
BR,
Mikko
Hi, Mikko
Hi, Mikko
I updated GXDLMSDirector to up version 8.2.2107 1801. But I have the same error message. I see in Gurux translator (tools \ DLMS translator) answer of device, but I have error message in main window, when I try to get association view. Answer of device is below
8:47:11 Collecting objects
7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
<HDLC len="18" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="32" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<ClassId Value="000F" />
<InstanceId Value="0000280000FF" />
<AttributeId Value="02" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
8:47:11
7E A8 89 21 03 52 86 A9 E6 E7 00 C4 01 C1 00 01 04 02 04 12 00 0F 11 01 09 06 00 00 28 00 00 FF 02 02 01 0B 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 01 00 02 03 0F 0B 16 01 00 01 01 02 02 0F 01 16 03 02 04 12 00 0F 11 01 09 06 00 00 28 00 01 FF 55 55 7E
<HDLC len="88" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="52" />
<NextFrame Value="C401C1000104020412000F110109060000280000FF0202010B02030F0116010002030F0216010002030F0316010002030F0416010002030F0516010002030F0616010002030F0716010002030F0816010002030F0916010002030F0A16010002030F0B160100010102020F011603020412000F110109060000280001FF" />
</HDLC>
Duration: 23
08:47:11 Get next frame.
8:47:11 Collecting objects
7E A0 07 03 21 51 11 E4 7E
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="51" />
<Command Value="NextFrame" />
</HDLC>
8:47:11
7E A8 89 21 03 54 B0 CC 02 02 01 0B 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 01 00 02 03 0F 0B 16 01 00 01 01 02 02 0F 01 16 03 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 A1 8D 7E
<HDLC len="88" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="54" />
<NextFrame Value="0202010B02030F0116010002030F0216010002030F0316010002030F0416010002030F0516010002030F0616010002030F0716010002030F0816010002030F0916010002030F0A16010002030F0B160100010102020F0116030204120008110009060000010000FF0202010902030F0116010002030F0216010002030F031601" />
</HDLC>
Duration: 24
08:47:11 Get next frame.
8:47:11 Collecting objects
7E A0 07 03 21 71 13 C5 7E
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="71" />
<Command Value="NextFrame" />
</HDLC>
8:47:11
7E A0 59 21 03 56 FA 4D 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 A4 DD 7E
<HDLC len="58" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="56" />
<NextFrame Value="0002030F0416010002030F0516010002030F0616010002030F0716010002030F0816010002030F09160100010002041200011100090600002A0000FF0202010202030F0116010002030F021601000100" />
</HDLC>
Duration: 24
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: access
в GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh)
в GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters)
Hi Mikko
Hi Mikko
Could you told me, do you have any ideas about reasons, why new version GXDLMSDirector can't work with our device? Old versions worked fine with these devices
Hi Mikko
Hi Mikko
I updated GXDLMSDirector to up version 8.2.2107 2101. But I have the same error message. GXDLMSDirector for .NET 3.6 works fine. But new version GXDLMSDirector can't work with our device. Old versions worked fine with these devices. I need your help with GXDLMSDirector.
Hi,
Hi,
We try to solve why this is happening. I'll let you know as soon as I have more information.
BR,
Mikko
Hi,
Hi,
The reason why this fails is that your association view version is 1 and method access mode is 3. access_mode range is from 0 to 2 in Version 1. You need to fix this.
<Array Qty="01" >
<Structure Qty="02" >
<Int8 Value="01" />
<Enum Value="03" />
</Structure>
BR,
Mikko
Hi, Mikko
Hi, Mikko
You're right. A lot of thanks you. Could you told me, did old version director didn't check it?
Hi,
Hi,
This check was added in the spring. Version 3 is using bit-string instead of enum values. Some meters are using Association LN version 3 and old enum values and this was causing problems. This check was added because of that.
BR,
Mikko