Skip to main content
Home
for DLMS smart meters

Main navigation

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

Breadcrumb

  1. Home
  2. 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 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 ago

Hi, Without writing control…

Hi,
Without writing control mode also tried but not working

Profile picture for user Kurumi

Kurumi

1 year 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

  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194
  • Thu, 12/11/2025 - 11:01
    gurux.dlms.java 4.0.86
  • Wed, 12/10/2025 - 08:45
    gurux.dlms.java 4.0.85
  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201

New forum topics

  • Inhemeter i210 dlms director
  • Gurux.Net
  • GXTIME Conversion Issue
  • DLMS Meter Gurux DLMS Director Properties
  • Using MAX3232 + FT232RL to Energy meter with GXDLMS Director
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin