Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. I Get <Command Value = "NextFrame" />

I get <Command Value = "NextFrame" />

Forum Rules

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.

By thegamingrip , 4 September, 2021
Forums
Gurux.DLMS

Hello good afternoon.

I am with a problem. when I send next command

7E A0 4D 02 21 03 76 53 96 E6 E6 00 C0 01 C1 00 07 00 00 62 01 01 FF 02 01 01 02 04 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 09 0C 07 E5 08 04 02 0C 05 34 00 80 00 00 09 0C 07 E5 09 04 05 0C 05 34 00 80 00 00 01 00 2D D6 7E

<HDLC len="4C" >
<!-- Logical address:1, Physical address:16 -->
<TargetAddress Value="90" />
<SourceAddress Value="1" />
<FrameType Value="76" />
<PDU>
<GetRequest>
<GetRequestNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<!-- ProfileGeneric -->
<ClassId Value="0007" />
<!-- 0.0.98.1.1.255 -->
<InstanceId Value="0000620101FF" />
<AttributeId Value="02" />
</AttributeDescriptor>
<AccessSelection>
<AccessSelector Value="01" />
<AccessParameters>
<Structure Qty="04" >
<Structure Qty="04" >
<UInt16 Value="0008" />
<!-- 0.0.1.0.0.255 -->
<OctetString Value="0000010000FF" />
<Int8 Value="02" />
<UInt16 Value="0000" />
</Structure>
<OctetString Value="07E50804020C053400800000" />
<OctetString Value="07E50904050C053400800000" />
<Array Qty="00" >
</Array>
</Structure>
</AccessParameters>
</AccessSelection>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

I get this as an answer:
7E A0 08 03 02 21 91 F3 02 7E

<HDLC len="A" >
<TargetAddress Value="1" />
<!-- Logical address:1, Physical address:16 -->
<SourceAddress Value="90" />
<!-- S frame. -->
<FrameType Value="91" />
<Command Value="NextFrame" />
</HDLC>

this problem causes it when I order an OBIS 0.0.21.0.6.255 Instantaneous Energy Values

I leave the examples, as in one case it works correctly and with the other it produces that error and does not bring me the requested information

Example with error:

04/09/2021 14:48:23 | TX: >> 7E A0 08 02 21 03 93 86 C1 7E
04/09/2021 14:48:23 | RX: << 7E A0 1F 03 02 21 73 73 42 81 80 12 05 01 F8 06 01 F0 07 04 00 00 00 01 08 04 00 00 00 01 3D 9B 7E

04/09/2021 14:48:23 | TX: >> 7E A0 45 02 21 03 10 43 CA E6 E6 00 60 36 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 0A 80 08 30 30 30 30 30 30 30 32 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 18 1F 02 00 F5 EE 7E
04/09/2021 14:48:23 | RX: << 7E A0 38 03 02 21 30 A1 62 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 1F 00 F0 00 07 4A 56 7E

04/09/2021 14:48:23 | TX: >> 7E A0 1A 02 21 03 32 CD D7 E6 E6 00 C0 01 C1 00 01 00 00 60 01 00 FF 02 00 89 A0 7E
04/09/2021 14:48:23 | RX: << 7E A0 1D 03 02 21 52 70 64 E6 E7 00 C4 01 C1 00 09 0A 30 31 34 31 39 31 31 36 38 37 4F C6 7E

04/09/2021 14:48:23 | TX: >> 7E A0 1A 02 21 03 54 FD D1 E6 E6 00 C0 01 C1 00 03 01 00 01 08 00 FF 03 00 EA 71 7E
04/09/2021 14:48:24 | RX: << 7E A0 17 03 02 21 74 EC 6C E6 E7 00 C4 01 C1 00 02 02 0F 00 16 1E 61 D4 7E

04/09/2021 14:48:24 | TX: >> 7E A0 1A 02 21 03 76 ED D3 E6 E6 00 C0 01 C1 00 07 00 00 15 00 06 FF 02 00 CE 95 7E
04/09/2021 14:48:26 | RX: << 7E A0 41 03 02 21 96 0A E6 E6 E7 00 C4 01 C1 00 01 01 02 07 09 0C 07 E5 09 04 06 0E 2E 09 FF 80 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 AD FF 7E

04/09/2021 14:48:30 | TX: >> 7E A0 4D 02 21 03 76 53 96 E6 E6 00 C0 01 C1 00 07 00 00 62 01 01 FF 02 01 01 02 04 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 09 0C 07 E5 08 04 02 0C 05 34 00 80 00 00 09 0C 07 E5 09 04 05 0C 05 34 00 80 00 00 01 00 2D D6 7E
04/09/2021 14:48:31 | RX: << 7E A0 08 03 02 21 91 F3 02 7E

Example without error:
TX: 7E A0 08 02 21 03 93 86 C1 7E >> 12:06:19.736
RX: 7E A0 1F 03 02 21 73 73 42 81 80 12 05 01 F8 06 01 F0 07 04 00 00 00 01 08 04 00 00 00 01 3D 9B 7E >> 12:06:19.799

TX: 7E A0 45 02 21 03 10 43 CA E6 E6 00 60 36 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 0A 80 08 30 30 30 30 30 30 30 32 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 18 1F 02 00 F5 EE 7E >> 12:06:19.831
RX: 7E A0 38 03 02 21 30 A1 62 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 1F 00 F0 00 07 4A 56 7E >> 12:06:20.050

TX: 7E A0 1A 02 21 03 32 CD D7 E6 E6 00 C0 01 C1 00 01 00 00 60 01 00 FF 02 00 89 A0 7E >> 12:06:20.351
RX: 7E A0 1D 03 02 21 52 70 64 E6 E7 00 C4 01 C1 00 09 0A 30 31 34 31 39 31 31 36 38 37 4F C6 7E >> 12:06:20.445

TX: 7E A0 1A 02 21 03 54 FD D1 E6 E6 00 C0 01 C1 00 03 01 00 01 08 00 FF 03 00 EA 71 7E >> 12:06:20.914
RX: 7E A0 17 03 02 21 74 EC 6C E6 E7 00 C4 01 C1 00 02 02 0F 00 16 1E 61 D4 7E >> 12:06:21.010

TX: 7E A0 4D 02 21 03 76 53 96 E6 E6 00 C0 01 C1 00 07 00 00 62 01 01 FF 02 01 01 02 04 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 09 0C 07 E5 06 01 02 0C 05 34 00 80 00 00 09 0C 07 E5 07 10 05 0C 05 34 00 80 00 00 01 00 AF 04 7E >> 12:06:21.475
RX: 7E A0 E7 03 02 21 96 56 37 E6 E7 00 C4 02 C1 00 00 00 00 01 00 81 CF 01 01 02 64 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 09 0C 07 E5 07 01 04 00 00 00 FF 80 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 48 BF 7E >> 12:06:21.913

TX: 7E A0 14 02 21 03 98 25 BC E6 E6 00 C0 02 C1 00 00 00 01 51 BE 7E >> 12:06:22.055
RX: 7E A0 C7 03 02 21 B8 BB 9F E6 E7 00 C4 02 C1 00 00 00 00 02 00 81 AF 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 30 75 7E >> 12:06:22.340

TX: 7E A0 14 02 21 03 BA 35 BE E6 E6 00 C0 02 C1 00 00 00 02 CA 8C 7E >> 12:06:22.356
RX: 7E A0 D0 03 02 21 DA 33 5B E6 E7 00 C4 02 C1 00 00 00 00 03 00 81 B8 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 06 00 00 00 00 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 06 00 00 00 00 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 06 00 00 00 00 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 06 00 00 00 00 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 06 00 00 00 00 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 E6 4C 7E >> 12:06:22.644

TX: 7E A0 14 02 21 03 DC 05 B8 E6 E6 00 C0 02 C1 00 00 00 03 43 9D 7E >> 12:06:22.911
RX: 7E A0 2A 03 02 21 FC 09 CC E6 E7 00 C4 02 C1 01 00 00 00 04 00 13 06 00 00 00 00 09 0C 07 E4 0A 01 04 00 00 00 FF 80 00 00 F4 48 7E >> 12:06:23.038

TX: 7E A0 08 02 21 03 53 8A 07 7E >> 12:06:23.451
RX: 7E A0 1F 03 02 21 73 73 42 81 80 12 05 01 F8 06 01 F0 07 04 00 00 00 01 08 04 00 00 00 01 3D 9B 7E >> 12:06:23.531

thank you very much best regards.
Ariel

Profile picture for user Kurumi

Kurumi

4 years 9 months ago

Hi Ariel,

Hi Ariel,

Because this is Instantaneous Energy Values there is only one row. I believe that this is an issue with the meter. Try to read it with a normal read. I hope it will help.

BR,
Mikko

thegamingrip

4 years 9 months ago

Hi Mikko! Thank you very much

Hi Mikko! Thank you very much for answering.

I think I'm doing what you recommend.

// ORDER: 0.0.21.0.6.255 7 Instantaneous Energy Values
// <GetRequest>
// <GetRequestNormal>
// <! - Priority: High, ServiceClass: Confirmed, Invoke ID: 1 ->
// <InvokeIdAndPriority Value = "C1" />
// <AttributeDescriptor>
// <! - ProfileGeneric ->
// <ClassId Value = "0007" />
// <! - 0.0.21.0.6.255 -> Instantaneous Energy Values
// <InstanceId Value = "0000150006FF" />
// <AttributeId Value = "02" />
// </AttributeDescriptor>
// </GetRequestNormal>
// </GetRequest>

string Request = "7E A0 1A 02 21 03 76 ED D3 E6 E6 00 C0 01 C1 00 07 00 00 15 00 06 FF 02 00 CE 95 7E";

and I receive:

<GetResponse>
<GetResponseNormal>
<InvokeIdAndPriority Value = \ "C1 \" />
<Result>
<Data>
<Array Qty = \ "01 \">
<Structure Qty = \ "07 \">
<OctetString Value = \ "07E50906010F0713FF800000 \ "/>
<UInt32 Value = \" 00000000 \ "/>
<UInt32 Value = \" 00000000 \ "/>
<UInt32 Value = \" 00000000 \ "/>
<UInt32 Value = \" 00000000 \ "/>
<UInt32 Value = \ "00000000 \" />
<UInt32 Value = \ "00000000 \" />
</Structure> </Array> </Data> </Result> </GetResponseNormal> </GetResponse>

Am I placing the order correctly?

thegamingrip

4 years 9 months ago

I realized that when

I realized that when translating everything in the DLMS Translator, the part that does not bring me information, the meter says the following: <!-- Invalid I Frame: 76. Expected: 98 -->

<HDLC len="4C" >
<!-- Logical address:1, Physical address:16 -->
<TargetAddress Value="90" />
<SourceAddress Value="1" />
<!-- Invalid I Frame: 76. Expected: 98 -->
<FrameType Value="76" />
<PDU>
<GetRequest>
<GetRequestNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<!-- ProfileGeneric -->
<ClassId Value="0007" />
<!-- 0.0.98.1.1.255 -->
<InstanceId Value="0000620101FF" />
<AttributeId Value="02" />
</AttributeDescriptor>
<AccessSelection>
<AccessSelector Value="01" />
<AccessParameters>
<Structure Qty="04" >
<Structure Qty="04" >
<UInt16 Value="0008" />
<!-- 0.0.1.0.0.255 -->
<OctetString Value="0000010000FF" />
<Int8 Value="02" />
<UInt16 Value="0000" />
</Structure>
<OctetString Value="07E50807020C053400800000" />
<OctetString Value="07E50907050C053400800000" />
<Array Qty="00" >
</Array>
</Structure>
</AccessParameters>
</AccessSelection>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
12: 7E A0 08 03 02 21 91 F3 02 7E
<HDLC len="A" >
<TargetAddress Value="1" />
<!-- Logical address:1, Physical address:16 -->
<SourceAddress Value="90" />
<!-- S frame. -->
<FrameType Value="91" />
<Command Value="NextFrame" />
</HDLC>

What can be the cause of this error?

Image
Profile picture for user Kurumi

Kurumi

4 years 9 months ago

Hi,

Hi,

Select "Supported Services" tab from the meter settings and un-check "Access" service. Your meter tells that the Access service is supported when the connection is made, but it seems that meter really doesn't support it.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin