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
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
Hi, Without writing control…
Hi,
Without writing control mode also tried but not working
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