Collecting objects fail.

15 posts / 0 new
Last post
sandesh
Collecting objects fail.

I am having the issue in collecting the object list from the device. For SNRM i am able get the response, after that GetObjectList failed message popups.

So please help with this issue.

Duration: 143
15:23:23 Parsing AARE reply succeeded.
15:23:26 --- Collecting objects. ---
15:23:26 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>

Kurumi
Kurumi's picture

Hi,

After SNRM you need to send AARQ and parse AARE message. Try to connect with GXDLMSDirector to verify that your settings are correct. DLMS meters don't reply if one of the parameters is wrong.

BR,
Mikko

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

sandesh

Hi,

i am trying with GXDLMSDirector only, but I am not receiving the objects. i attached the snap of that log for your reference.

Regards,
sandesh

Kurumi
Kurumi's picture

Hi Sandesh,

Please, don't add pics. They are hard to read.
You need to ask the meter manufacturer if the association view is implemented for the meter.
It's a mandatory, but there are a few meter manufacturers who haven't implemented it.
BR,
Mikko

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

sandesh

Hi Mikko,

sorry to disturb you again and again. i checked with meter manufacture and they have implemented the association view. one more question is that, whether GXDLMSDirector supports segmented frame also.

Regards,
Sandesh

Kurumi
Kurumi's picture

Hi,

Yes, that is supported. In the lot that you added above, there is no reply from the meter so I don't know if the connection is established or if the meter is returning any data.

BR,
Miko

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

sandesh

Hi Miko,

As per my observation, segmented frames parsing have some issue in GXDLMSDirector.
Initially my objects are coming in the 2 segments. then i reduced it to 1 segmented frame. By doing that director can able to read the objects.

Please help me this.

Regards,
Sandesh

Kurumi
Kurumi's picture

Hi Sandesh,

It's common that data is coming in segments. It's happening all the time when the profile generic or association views are read. I can check the bytes if you add them here.

BR,
Mikko

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

sandesh

Hi Mikko,

As requested, i have added the logs below.

Get object failed log
========================
GXDLMSDirector 8.2.2102.2602
Log created 10:09:59
10:10:36 Initializing serial connection.
10:10:37 Send SNRM request.
7E A0 23 00 02 04 01 21 93 CD 97 81 80 14 05 02 07 E3 06 02 07 E0 07 04 00 00 00 07 08 04 00 00 00 07 83 09 7E
10:10:37
7E A0 23 21 00 02 04 01 73 14 B6 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
10:10:37 Parsing UA reply succeeded.
10:10:37 Send AARQ request.
7E A0 2E 00 02 04 01 21 10 11 0F 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 1E 1D FF FF C5 E4 7E
10:10:37
7E A0 3A 21 00 02 04 01 30 7B 32 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 00 10 03 40 00 07 D1 F0 7E
10:10:37 Parsing AARE reply succeeded.
10:10:44 --- Collecting objects. ---
10:10:45 Collecting objects
7E A0 1C 00 02 04 01 21 32 F0 EC E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
Data send failed. Try to resend 1/3
10:10:51 Data send failed. Try to resend 1/3
7E A0 1C 00 02 04 01 21 32 F0 EC E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
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
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
10:10:51
7E A9 21 21 00 02 04 01 42 A6 0D E6 E7 00 C4 01 C1 00 01 08 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 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 01 00 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 02 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 03 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 04 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 05 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 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 01 00 02 03 0F 02 16 01 01 00 02 03 0F 03 16 01 01 00 02 03 0F 20 CD 7E 7E A0 D4 21 00 02 04 01 54 E0 B3 04 16 01 01 00 02 03 0F 05 16 01 01 00 02 03 0F 06 16 01 01 00 02 03 0F 07 16 01 01 00 02 03 0F 08 16 01 01 00 02 03 0F 09 16 01 01 00 01 06 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 02 02 0F 05 16 00 02 02 0F 06 16 00 02 04 12 00 0F 11 01 09 06 00 00 28 00 01 FF 02 02 01 09 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 02 03 0F 03 16 01 01 00 02 03 0F 04 16 01 01 00 02 03 0F 05 16 01 01 00 02 03 0F 06 16 01 01 00 02 03 0F 07 16 00 01 00 02 03 0F 08 16 01 01 00 02 03 0F 09 16 00 01 00 01 04 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 39 26 7E 7E A0 0A 21 00 02 04 01 97 84 35 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)

Reduced objects log - working
===========================
GXDLMSDirector 8.2.2102.2602
Log created 12:06:37
12:06:56 Initializing serial connection.
12:06:57 Send SNRM request.
7E A0 20 03 21 93 7D D9 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
12:06:57
7E A0 20 21 03 73 73 98 81 80 14 05 02 01 15 06 02 01 15 07 04 00 00 00 01 08 04 00 00 00 01 72 7C 7E
Duration: 87
12:06:57 Parsing UA reply succeeded.
12:06:57 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 1E 5D FF FF B3 E2 7E
12:06:57
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 00 10 03 40 00 07 D1 F0 7E
Duration: 142
12:06:57 Parsing AARE reply succeeded.
12:07:00 --- Collecting objects. ---
12:07:00 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
12:07:01
7E A0 D1 21 03 52 68 C3 E6 E7 00 C4 01 C1 00 01 03 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 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 01 00 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 0F 11 01 09 06 00 00 28 00 01 FF 02 02 01 09 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 02 03 0F 03 16 01 01 00 02 03 0F 04 16 01 01 00 02 03 0F 05 16 01 01 00 02 03 0F 06 16 01 01 00 02 03 0F 07 16 00 01 00 02 03 0F 08 16 01 01 00 02 03 0F 09 16 00 01 00 01 04 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 D5 68 7E
Duration: 429
12:07:01 --- Collecting 3 objects. ---
12:07:01 --- Created 3 objects. ---
12:07:01 --- Reading scalers and units. ---
12:07:01 --- Reading scalers and units end. ---

Regards,
Sandesh

Kurumi
Kurumi's picture

Hi Sandesh,

Meter is sending 3 frames as agreed. Data is coming 2 first frames and it's OK, but the meter is sending UnacceptableFrame in the 3rd frame and this is wrong.
If the data is fit to two frames then only two frames is sent.

You need to ask meter manufacturer to fix this.

This is wrong:
7E A0 0A 21 00 02 04 01 97 84 35 7E

BR,
Mikko

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

sandesh

Hi Mikko,

I checked about the wrong frame. That is coming because of the resending the collecting object frames.
I investigated that with dock light tool. otherwise it wont come.
So the issue might be something different as the frames which are coming from meter is good.

the log for that below
===========
21/03/05 16:22:22.057 [TX] - 7E A0 23 00 02 04 01 21 93 CD 97 81 80 14 05 02 07 E3 06 02 07 E0 07 04 00 00 00 07 08 04 00 00 00 07 83 09 7E
21/03/05 16:22:22.113 [RX] - 7E A0 23 21 00 02 04 01 73 14 B6 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
21/03/05 16:22:25.552 [TX] - 7E A0 2E 00 02 04 01 21 10 11 0F 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 1E 1D FF FF C5 E4 7E
21/03/05 16:22:25.630 [RX] - 7E A0 3A 21 00 02 04 01 30 7B 32 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 00 10 03 40 00 07 D1 F0 7E
21/03/05 16:22:28.376 [TX] - 7E A0 1C 00 02 04 01 21 32 F0 EC E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
21/03/05 16:22:28.603 [RX] - 7E A9 21 21 00 02 04 01 42 A6 0D E6 E7 00 C4 01 C1 00 01 08 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 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 01 00 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 02 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 03 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 04 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 05 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 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 01 00 02 03 0F 02 16 01 01 00 02 03 0F 03 16 01 01 00 02 03 0F 20 CD 7E 7E A0 D4 21 00 02 04 01 54 E0 B3 04 16 01 01 00 02 03 0F 05 16 01 01 00 02 03 0F 06 16 01 01 00 02 03 0F 07 16 01 01 00 02 03 0F 08 16 01 01 00 02 03 0F 09 16 01 01 00 01 06 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 02 02 0F 05 16 00 02 02 0F 06 16 00 02 04 12 00 0F 11 01 09 06 00 00 28 00 01 FF 02 02 01 09 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 02 03 0F 03 16 01 01 00 02 03 0F 04 16 01 01 00 02 03 0F 05 16 01 01 00 02 03 0F 06 16 01 01 00 02 03 0F 07 16 00 01 00 02 03 0F 08 16 01 01 00 02 03 0F 09 16 00 01 00 01 04 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 39 26 7E
21/03/05 16:22:32.839 [TX] - 7E A0 1C 00 02 04 01 21 32 F0 EC E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
21/03/05 16:22:32.887 [RX] - 7E A0 0A 21 00 02 04 01 97 84 35 7E

Good frmes
=========

21/03/05 16:31:00.663 [TX] - 7E A0 23 00 02 04 01 21 93 CD 97 81 80 14 05 02 07 E3 06 02 07 E0 07 04 00 00 00 07 08 04 00 00 00 07 83 09 7E
21/03/05 16:31:00.727 [RX] - 7E A0 23 21 00 02 04 01 73 14 B6 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
21/03/05 16:31:01.577 [TX] - 7E A0 2E 00 02 04 01 21 10 11 0F 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 1E 1D FF FF C5 E4 7E
21/03/05 16:31:01.654 [RX] - 7E A0 3A 21 00 02 04 01 30 7B 32 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 00 10 03 40 00 07 D1 F0 7E
21/03/05 16:31:02.705 [TX] - 7E A0 1C 00 02 04 01 21 32 F0 EC E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
21/03/05 16:31:02.902 [RX] - 7E A9 21 21 00 02 04 01 42 A6 0D E6 E7 00 C4 01 C1 00 01 08 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 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 01 00 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 02 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 03 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 04 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2B 01 05 FF 02 02 01 02 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 01 00 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 01 00 02 03 0F 02 16 01 01 00 02 03 0F 03 16 01 01 00 02 03 0F 20 CD 7E 7E A0 D4 21 00 02 04 01 54 E0 B3 04 16 01 01 00 02 03 0F 05 16 01 01 00 02 03 0F 06 16 01 01 00 02 03 0F 07 16 01 01 00 02 03 0F 08 16 01 01 00 02 03 0F 09 16 01 01 00 01 06 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 02 02 0F 05 16 00 02 02 0F 06 16 00 02 04 12 00 0F 11 01 09 06 00 00 28 00 01 FF 02 02 01 09 02 03 0F 01 16 01 01 00 02 03 0F 02 16 01 01 00 02 03 0F 03 16 01 01 00 02 03 0F 04 16 01 01 00 02 03 0F 05 16 01 01 00 02 03 0F 06 16 01 01 00 02 03 0F 07 16 00 01 00 02 03 0F 08 16 01 01 00 02 03 0F 09 16 00 01 00 01 04 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 39 26 7E

Kurumi
Kurumi's picture

Hi,
Thank you for this. I believe that I can understand the problem now. And yes, it's possible to send frames like this when the window size is not one, but frames are a little bit different than with some other meters. I need to think about how we can handle both cases.

BR,
Mikko

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

sandesh

Hi,

Hoping to have the solution early.

Kurumi
Kurumi's picture

Hi,

We are testing it at the moment and try to release it today.

BR,
Mikko

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

Kurumi
Kurumi's picture

Hi,

This is improved. GXDLMSDirector can now handle if the final flag of HDLC control field is not set.

Update to the latest version.
BR,
Mikko

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