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. Node
  3. Meter Is Not Disconnecting or Reconnecting Using Gurux Dlms .net Code

Meter is not disconnecting or reconnecting using gurux dlms .net code

By jayaram , 26 November, 2024
Forums
Gurux.Net

Hi,
we are using gurux code to disconnect the meter but unfortunately that is not working but if we try with gurux director its working so our assumption is there is something wrong with invocation counter so can you please suggest how set invocation counter for disconnection/reconnection

GXDLMSDisconnectControl dc = new GXDLMSDisconnectControl(obj.LogicalName); // Replace LN with actual one
dc.ControlMode = Gurux.DLMS.Objects.Enums.ControlMode.Mode4;
dc.OutputState = true;
//if (Client.CanWrite(dc, 4))
//{
// reply.Clear();
// conn.ReadDataBlock(Client.Write(dc, 4), reply);
//}
Client.Write(dc, 4);
var command = dc.RemoteReconnect(Client);

conn.ReadDataBlock(command, reply);

TX:7E A0 2E 03 61 32 DA 85 E6 E6 00 CB 20 30 00 00 00 18 5C 6D E2 60 72 2F 13 F7 10 A8 AE A7 CD B1 4B 66 3F 45 92 7F A5 BD CB 4F 97 84 7B 91 2B 7E

Gurux.DLMS.GXDLMSException: Access Error : Device reports a hardware fault

but its working fine with guruxdirector

Profile picture for user Kurumi

Kurumi

1 year 11 months ago

Hi, Because the data is…

Hi,

Because the data is encrypted I can't check the bytes.

Don't write Control mode. Just call the RemoteReconnect.

BR,
Mikko

jayaram

1 year 11 months ago

Hi, Without writing control…

Hi,
Without writing control mode also tried but not working

Profile picture for user Kurumi

Kurumi

1 year 11 months ago

Hi, Is the connection…

Hi,

Is the connection established and you don't just try to send the data?
Make also sure that you are using the same authentication level as GXDLMSDirector.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin