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 12 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 12 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

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • 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

New forum topics

  • JASA SERVICE/SERVICE MEJA BILLIARD BONGKAR PASANG | WA 083148835648
  • ISAK Billiard Sports PIK2 | WA 083148835648
  • Akusara Billiard Tangerang | WA 083148835648
  • Sumo Balls Pro Billiards | WA 083148835648
  • Dobilliard | WA 083148835648
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin