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. Exception Response Received: Instance ID 0.0.42.0.0.255

Exception Response Received: Instance ID 0.0.42.0.0.255

By girija , 4 October, 2024
Forums
Gurux.Serial

Hello Sir,

Recently we got our Smart Gas Meter tested in CTT 4.3 release 103 for certification. In the test "Read logical_name' of an instance Id 0.0.42.0.0.255 returns "Exception Response" in PC mode.
Here is the Request-Response Hex values.

1: 7E A0 19 03 21 76 4F DC E6 E6 00 C0 01 C1 00 01 00 00 2A 00 00 FF 01 00 7A AA 7E
<HDLC len="18" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="76" />
<PDU>
<GetRequest>
<GetRequestNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<!-- Data -->
<ClassId Value="0001" />
<!-- 0.0.42.0.0.255 -->
<InstanceId Value="00002A0000FF" />
<AttributeId Value="01" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
2: 7E A0 0F 21 03 96 7A 15 E6 E7 00 D8 01 02 A7 71 7E
<HDLC len="E" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="96" />
<PDU>
<ExceptionResponse>
<StateError Value="ServiceNotAllowed" />
<ServiceError Value="ServiceNotSupported" />
</ExceptionResponse>
</PDU>
</HDLC>

The same test passes in MR mode testing. Below is the Request-Response Hex values of MR.

3: 7E A0 19 03 41 76 1A B9 E6 E6 00 C0 01 C1 00 01 00 00 2A 00 00 FF 01 00 7A AA 7E
<HDLC len="18" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<!-- Invalid I Frame: 76. Expected: 98 -->
<FrameType Value="76" />
<PDU>
<GetRequest>
<GetRequestNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<!-- Data -->
<ClassId Value="0001" />
<!-- 0.0.42.0.0.255 -->
<InstanceId Value="00002A0000FF" />
<AttributeId Value="01" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
4: 7E A0 18 41 03 96 B7 84 E6 E7 00 C4 01 C1 00 09 06 00 00 2A 00 00 FF C0 57 7E
<HDLC len="17" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<!-- Invalid I Frame: 96. Expected: 98 -->
<FrameType Value="96" />
<PDU>
<GetResponse>
<GetResponseNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<!-- 0.0.42.0.0.255 -->
<OctetString Value="00002A0000FF" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>

Where am I making mistake?
Kindly guide me.

Regards,
Girija

Profile picture for user Kurumi

Kurumi

1 year 8 months ago

Hi, Your meter is returning…

Hi,

Your meter is returning an error and I don't know why because I don't have your source code.

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin