unable to read 32 association(meter reader)

6 posts / 0 new
Last post
Sachin Kumar
unable to read 32 association(meter reader)

hi everyone,
i am having problem to download the object list of 32 association(meter reader) from smart meter, these are the requests and responses as:

15:51:14 Release request
7E A0 11 03 41 54 D2 5E E6 E6 00 62 03 80 01 00 BD 9B 7E
15:51:14 Release request
7E A0 11 03 41 54 D2 5E E6 E6 00 62 03 80 01 00 BD 9B 7E
15:51:14
7E A0 07 41 03 97 66 E4 7E
15:51:14 Disconnect request
15:51:14 Disconnect request
7E A0 07 03 41 53 56 A2 7E
15:51:14
7E A0 07 41 03 1F 26 EC 7E
15:51:18 Initializing serial connection.
15:51:19 Send SNRM request.
7E A0 07 03 41 93 5A 64 7E
15:51:19
7E A0 20 41 03 73 3E 9D 81 80 14 05 02 01 15 06 02 03 40 07 04 00 00 00 03 08 04 00 00 00 01 85 9C 7E
15:51:19 Parsing UA reply succeeded.
15:51:19 Send AARQ request.
7E A0 57 03 41 10 DF 07 E6 E6 00 60 49 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 53 55 4D 30 30 30 30 30 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 17 04 15 21 13 20 00 00 00 00 A6 EA 8A E4 22 14 9B AA 17 4D 23 BC 34 4A 09 FB 7E
15:51:19
7E A0 4A 41 03 30 EB A8 E6 E7 00 61 3C A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 00 A4 0A 04 08 41 47 54 30 30 30 34 37 BE 17 04 15 28 13 20 00 00 00 00 3F 69 C8 63 63 2B 64 7C 22 A3 52 FA FA 27 3C 8A 7E
15:51:19 Parsing AARE reply succeeded.
15:51:21 --- Collecting objects. ---
15:51:21 Collecting objects
7E A0 20 03 41 32 AB 08 E6 E6 00 C8 12 20 00 00 00 01 19 4B BB F5 BF 3E 53 D4 11 CC 68 56 F1 4C C8 7E
Data send failed. Try to resend 1/3
15:51:29 Data send failed. Try to resend 1/3
7E A0 20 03 41 32 AB 08 E6 E6 00 C8 12 20 00 00 00 01 19 4B BB F5 BF 3E 53 D4 11 CC 68 56 F1 4C C8 7E
15:51:29
7E A9 1E 41 03 42 E0 0E E6 E7 00 CC 82 02 F7 20 00 00 00 00 F3 6B 0F 3C 7C 2F 64 7D 32 35 53 5C FB 44 35 7B C6 B6 C9 74 A9 EB 1E 6C 71 C2 A7 80 87 40 50 B4 85 B8 9E A9 AD B2 7F 78 79 36 E7 A1 AA D2 BD B4 D6 2C 4D 81 13 B9 12 35 EC E3 1A 04 8A 92 DC 4A 87 A8 18 1D 5F 00 06 DF FB 0B 70 80 07 EB 25 76 75 F4 6C 84 4C 5E F2 29 72 86 54 F5 9E B0 1B 79 BF B5 EC 18 CF BF BA 3A 7C F9 02 AD FF 29 3A FA 28 51 21 C6 5F 89 E1 68 75 30 7E 82 45 72 55 20 A6 A6 21 0A CA D9 64 0D 2F 31 1C D6 BF 62 62 6C BD 38 3E FB 8D 29 17 2E A7 B9 BE A3 34 02 88 1E E5 A6 6A 6C F1 0C A1 90 05 6F B0 8C 85 87 C1 80 D3 93 81 C4 EB 61 BB C3 EB D0 7E 2A 6C 93 06 96 C8 5B F5 AD 59 54 53 08 38 DB D1 B6 81 28 41 43 7B 71 64 80 72 DE 92 DC 33 67 A1 30 C6 E6 73 24 A9 7D 0F 72 44 0A CE F4 99 27 FA 12 1F 87 DB 3E 4C 6F 61 AF D8 20 BC 27 7F DA 01 08 E8 CE FD D0 5C B2 70 05 8B 22 6B 76 16 EE 0A 7E 7E A9 1E 41 03 44 D6 6B F8 A3 54 C7 8B 86 99 7E 14 D7 39 FC 44 9B 20 60 30 61 82 74 66 E2 A4 47 07 BF D1 A4 DF F4 8C 07 20 49 E9 C8 81 59 CE 30 88 87 7B 11 9B B7 33 A2 E4 74 CA EB 8D 6C B1 7D 9A 52 B3 B5 7A DB 2C DB 7E 14 5B 7B B2 73 B9 DB F9 B9 21 D3 50 00 7F 44 38 7A 37 9D AA 56 07 CA E5 3F CC E8 8F 1B 19 20 B4 A2 B4 DD 66 1D 38 70 A6 17 A9 82 3F CA AF ED 83 16 C7 9E 5B 1C 35 DF 15 1B 1D 8F 89 8D 16 C1 F4 98 3E 22 BA 99 B3 15 1E E5 86 ED 70 27 70 F3 8B 6D 17 91 3B 90 29 2E 0C E4 A2 D2 12 BA 79 49 02 B2 CE 09 B9 C5 E4 4C CE 53 3B AA 3F 8A 7D 55 61 C0 DD 55 F7 69 FA A9 A0 2A 57 13 C9 C6 28 A1 03 E8 75 1B E1 EE BD B5 5F E8 61 A2 95 2D 22 50 51 A3 EB 81 B7 58 71 0B F8 86 73 52 FD 64 B9 EE F6 AF 0D 68 D0 A3 A9 B0 DC 58 0A E5 E2 42 75 12 A9 6F E5 F7 22 74 CC 1C 46 D8 6A B3 F4 44 70 B3 9E 13 E1 92 25 D6 71 3A 75 70 A8 2E 06 0F 81 E1 17 B7 8C 06 D1 3B 03 7E 7E A0 DD 41 03 56 35 17 01 D5 3F C0 54 5A 30 49 87 37 B1 ED A0 29 82 C6 95 58 7D 93 8C 6B BC C6 54 F4 50 B5 F3 25 2D 87 9F 51 27 3D 34 C1 37 CB 82 B4 2A BF 60 95 85 26 29 E6 99 B2 17 82 55 CC D6 77 A9 BB 77 38 69 6C 86 F9 1D F9 4D 10 BD 93 5B AF 02 93 11 F6 C2 4B D8 84 A1 C2 3B 9D 82 9E 17 67 D6 C6 51 7F 91 13 C5 BA 5E B1 84 AF FE 70 55 94 4B 54 3B 62 C0 7E E1 69 0C C0 77 85 19 F1 35 69 13 BD 0A 5E 24 EB A8 1F CA B1 7B 9F 05 D7 60 97 EE 84 26 B6 13 66 F6 81 00 FA 57 4A DA 62 13 C6 DF E2 78 19 03 25 1F 7F 40 91 EC 9C A9 6C 90 4E 02 35 D8 7E D8 41 FF 49 D4 1D 93 FF 97 2D 57 82 BC 4C FA C9 69 B2 18 A1 4B 68 19 EB 25 E2 D2 BF 4C 1C 07 9D CD 6E 0D C5 66 09 CC F6 7E 7E A0 07 41 03 97 66 E4 7E
System.Exception: GetObjects failed. Unacceptable frame.
at GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh)
at GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters)

kindly look into it , i will be grateful for this act of kindness.

Thanks and regards
Sachin Kumar

Kurumi
Kurumi's picture

Hi,

There is an error in HDLC frame sequence number. Ask your meter manufacturer to fix it.
It's 0x42 and it should be 0x52.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Sachin Kumar

@Mikko, thank you very much for replying, but sir, this frame was working with old versions of gurux, i updated gurux last month since then i have been having issues. all the objects list was used to downloaded perfectly in old versions.
currently i am using gurux version "8.2.2010.0901".

thanks and regards
Sachin Kumar

Kurumi
Kurumi's picture

Hi Sachin,

Do you remember the old version number? It's hard to say without this info because this check has been there for several years.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Sachin Kumar

Hi sir,
sorry, I don't remember old version of running gurux, and sir, i am having problems for Wrapper Interface also, requests and responses are for your reference as:
11:02:18 Initializing serial connection.
11:02:19 Send SNRM request.
7E A0 07 03 41 93 5A 64 7E
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<FrameType Value="93" />
<Snrm>
</Snrm>
</HDLC>

11:02:19
7E A0 20 41 03 73 3E 9D 81 80 14 05 02 01 15 06 02 03 40 07 04 00 00 00 03 08 04 00 00 00 01 85 9C 7E
<HDLC len="1F" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="277" />
<MaxInfoRX Value="832" />
<WindowSizeTX Value="3" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>

11:02:19 Parsing UA reply succeeded.
11:02:19 Send AARQ request.
7E A0 57 03 41 10 DF 07 E6 E6 00 60 49 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 53 55 4D 30 30 30 30 30 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 17 04 15 21 13 20 00 00 00 00 A6 EA 8A E4 22 14 9B AA 17 4D 23 BC 34 4A 09 FB 7E
<HDLC len="56" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="53554D3030303030" />
<SenderACSERequirements Value="1" />
<MechanismName Value="Low" />
<CallingAuthentication Value="4142434445464748" />
<glo_InitiateRequest Value="2000000000A6EA8AE422149BAA174D23BC344A" />
</AssociationRequest>
</PDU>
</HDLC>

11:02:19
7E A0 4A 41 03 30 EB A8 E6 E7 00 61 3C A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 00 A4 0A 04 08 41 47 54 30 30 30 34 37 BE 17 04 15 28 13 20 00 00 00 00 3F 69 C8 63 63 2B 64 7C 22 A3 52 FA FA 27 3C 8A 7E
<HDLC len="49" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="00" />
</ResultSourceDiagnostic>
<RespondingAPTitle Value="4147543030303437" />
<glo_InitiateResponse Value="20000000003F69C863632B647C22A352FAFA27" />
</AssociationResponse>
</PDU>
</HDLC>

11:02:19 Parsing AARE reply succeeded.
11:02:22 --- Collecting objects. ---
11:02:22 Collecting objects
7E A0 20 03 41 32 AB 08 E6 E6 00 C8 12 20 00 00 00 01 19 4B FB F5 BF 3E 53 D4 11 CC 68 56 F1 49 05 7E
<HDLC len="1F" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<FrameType Value="32" />
<PDU>
<glo_GetRequest Value="2000000001194BFBF5BF3E53D411CC6856F1" />
</PDU>
</HDLC>

Data send failed. Try to resend 1/3
11:02:30 Data send failed. Try to resend 1/3
7E A0 20 03 41 32 AB 08 E6 E6 00 C8 12 20 00 00 00 01 19 4B FB F5 BF 3E 53 D4 11 CC 68 56 F1 49 05 7E
<HDLC len="1F" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<FrameType Value="32" />
<PDU>
<glo_GetRequest Value="2000000001194BFBF5BF3E53D411CC6856F1" />
</PDU>
</HDLC>

11:02:30
7E A9 1E 41 03 42 E0 0E E6 E7 00 CC 82 02 F7 20 00 00 00 00 F3 6B 0F 3C 7C 2F 64 7D 32 35 53 5C FB 44 35 7B C6 B6 C9 74 A9 EB 1E 6C 71 C2 A7 80 87 40 50 B4 85 B8 9E A9 AD B2 7F 78 79 36 E7 A1 AA D2 BD B4 D6 2C 4D 81 13 B9 12 35 EC E3 1A 04 8A 92 DC 4A 87 A8 18 1D 5F 00 06 DF FB 0B 70 80 07 EB 25 76 75 F4 6C 84 4C 5E F2 29 72 86 54 F5 9E B0 1B 79 BF B5 EC 18 CF BF BA 3A 7C F9 02 AD FF 29 3A FA 28 51 21 C6 5F 89 E1 68 75 30 7E 82 45 72 55 20 A6 A6 21 0A CA D9 64 0D 2F 31 1C D6 BF 62 62 6C BD 38 3E FB 8D 29 17 2E A7 B9 BE A3 34 02 88 1E E5 A6 6A 6C F1 0C A1 90 05 6F B0 8C 85 87 C1 80 D3 93 81 C4 EB 61 BB C3 EB D0 7E 2A 6C 93 06 96 C8 5B F5 AD 59 54 53 08 38 DB D1 B6 81 28 41 43 7B 71 64 80 72 DE 92 DC 33 67 A1 30 C6 E6 73 24 A9 7D 0F 72 44 0A CE F4 99 27 FA 12 1F 87 DB 3E 4C 6F 61 AF D8 20 BC 27 7F DA 01 08 E8 CE FD D0 5C B2 70 05 8B 22 6B 76 16 EE 0A 7E 7E A9 1E 41 03 44 D6 6B F8 A3 54 C7 8B 86 99 7E 14 D7 39 FC 44 9B 20 60 30 61 82 74 66 E2 A4 47 07 BF D1 A4 DF F4 8C 07 20 49 E9 C8 81 59 CE 30 88 87 7B 11 9B B7 33 A2 E4 74 CA EB 8D 6C B1 7D 9A 52 B3 B5 7A DB 2C DB 7E 14 5B 7B B2 73 B9 DB F9 B9 21 D3 50 00 7F 44 38 7A 37 9D AA 56 07 CA E5 3F CC E8 8F 1B 19 20 B4 A2 B4 DD 66 1D 38 70 A6 17 A9 82 3F CA AF ED 83 16 C7 9E 5B 1C 35 DF 15 1B 1D 8F 89 8D 16 C1 F4 98 3E 22 BA 99 B3 15 1E E5 86 ED 70 27 70 F3 8B 6D 17 91 3B 90 29 2E 0C E4 A2 D2 12 BA 79 49 02 B2 CE 09 B9 C5 E4 4C CE 53 3B AA 3F 8A 7D 55 61 C0 DD 55 F7 69 FA A9 A0 2A 57 13 C9 C6 28 A1 03 E8 75 1B E1 EE BD B5 5F E8 61 A2 95 2D 22 50 51 A3 EB 81 B7 58 71 0B F8 86 73 52 FD 64 B9 EE F6 AF 0D 68 D0 A3 A9 B0 DC 58 0A E5 E2 42 75 12 A9 6F E5 F7 22 74 CC 1C 46 D8 6A B3 F4 44 70 B3 9E 13 E1 92 25 D6 71 3A 75 70 A8 2E 06 0F 81 E1 17 B7 8C 06 D1 3B 03 7E 7E A0 DD 41 03 56 35 17 01 D5 3F C0 54 5A 30 49 87 37 B1 ED A0 29 82 C6 95 58 7D 93 8C 6B BC C6 54 F4 50 B5 F3 25 2D 87 9F 51 27 3D 34 C1 37 CB 82 B4 2A BF 60 95 85 26 29 E6 99 B2 17 82 55 CC D6 77 A9 BB 77 38 69 6C 86 F9 1D F9 4D 10 BD 93 5B AF 02 93 11 F6 C2 4B D8 84 A1 C2 3B 9D 82 9E 17 67 D6 C6 51 7F 91 13 C5 BA 5E B1 84 AF FE 70 55 94 4B 54 3B 62 C0 7E E1 69 0C C0 77 85 19 F1 35 69 13 BD 0A 5E 24 EB A8 1F CA B1 7B 9F 05 D7 60 97 EE 84 26 B6 13 66 F6 81 00 FA 57 4A DA 62 13 C6 DF E2 78 19 03 25 1F 7F 40 91 EC 9C A9 6C 90 4E 02 35 D8 7E D8 41 FF 49 D4 1D 93 FF 97 2D 57 82 BC 4C FA C9 69 B2 18 A1 4B 68 19 EB 25 E2 D2 BF 4C 1C 07 9D CD 6E 0D C5 66 09 CC F6 7E 7E A0 07 41 03 97 66 E4 7E
<HDLC len="11D" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<FrameType Value="42" />
<NextFrame Value="CC8202F72000000000F36B0F3C7C2F647D3235535CFB44357BC6B6C974A9EB1E6C71C2A780874050B485B89EA9ADB27F787936E7A1AAD2BDB4D62C4D8113B91235ECE31A048A92DC4A87A8181D5F0006DFFB0B708007EB257675F46C844C5EF229728654F59EB01B79BFB5EC18CFBFBA3A7CF902ADFF293AFA285121C65F89E16875307E8245725520A6A6210ACAD9640D2F311CD6BF62626CBD383EFB8D29172EA7B9BEA33402881EE5A66A6CF10CA190056FB08C8587C180D39381C4EB61BBC3EBD07E2A6C930696C85BF5AD5954530838DBD1B6812841437B71648072DE92DC3367A130C6E67324A97D0F72440ACEF49927FA121F87DB3E4C6F61AFD820BC277FDA0108E8CEFDD05CB270058B226B7616" />
</HDLC>

<HDLC len="11D" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<FrameType Value="44" />
<NextFrame Value="F8A354C78B86997E14D739FC449B20603061827466E2A44707BFD1A4DFF48C072049E9C88159CE3088877B119BB733A2E474CAEB8D6CB17D9A52B3B57ADB2CDB7E145B7BB273B9DBF9B921D350007F44387A379DAA5607CAE53FCCE88F1B1920B4A2B4DD661D3870A617A9823FCAAFED8316C79E5B1C35DF151B1D8F898D16C1F4983E22BA99B3151EE586ED702770F38B6D17913B90292E0CE4A2D212BA794902B2CE09B9C5E44CCE533BAA3F8A7D5561C0DD55F769FAA9A02A5713C9C628A103E8751BE1EEBDB55FE861A2952D225051A3EB81B758710BF8867352FD64B9EEF6AF0D68D0A3A9B0DC580AE5E2427512A96FE5F72274CC1C46D86AB3F44470B39E13E19225D6713A7570A82E060F81E117B78C06D1" />
</HDLC>

<HDLC len="DC" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<FrameType Value="56" />
<PDU>
Invalid tag.

<HDLC len="9" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<FrameType Value="97" />
<UnacceptableFrame>
</UnacceptableFrame>
</HDLC>

System.Exception: GetObjects failed. Unacceptable frame.

Kindly look into it, perhaps, you may get some hints from these frame sequences to resolve the issues.

Thanks and Regards
Sachin Kumar

Kurumi
Kurumi's picture

Hi,

Problem is that your meter returns the wrong HDLC frame sequence number. It's sending 0x42 when it should send 0x52. You need to ask the meter manufacturer to fix it.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi