Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Hi,
I am trying to relay off the meter.
Writing byte 1 value into obis 0.0.96.3.10.255. Should I write 1 or something else?
var relay = new GXDLMSData("0.0.96.3.10.255");
relay.Value = (byte)1;
_reader.Write(relay, 1);
It returns this error below:
TX: 12:43:25 7E A0 21 03 03 32 C6 61 E6 E6 00 C1 01 C1 00 01 00 00 60 03 0A FF 01 00 09 06 00 00 60 03 0A FF 42 31 7E
! Received byte count:123
Final! Received byte count:123
RX: 12:43:26 7E A0 11 03 03 52 32 4E E6 E7 00 C5 01 C1 01 04 88 FD 7E
Gurux.DLMS.GXDLMSException: Access Error : Device reports a hardware fault.
at DLMSClient.DLMSReader.ReadDLMSPacket(Byte[] data, GXReplyData reply) in C:\Repos\DLMSClient\DLMSReader.cs:line 257
at DLMSClient.DLMSReader.ReadDataBlock(Byte[] data, GXReplyData reply) in C:\Repos\DLMSClient\DLMSReader.cs:line 104
at DLMSClient.DLMSReader.ReadDataBlock(Byte[][] data, GXReplyData reply) in C:\Repos\DLMSClient\DLMSReader.cs:line 149
at DLMSClient.DLMSReader.Write(GXDLMSObject it, Int32 attributeIndex) in C:\Repos\DLMSClient\DLMSReader.cs:line 92
at DLMSClient.Program.Main(String[] args) in C:\Repos\DLMSClient\Program.cs:line 338
Also below showing from its own software for relay off:
12:42:51 COM14 Send: 7E A0 07 03 03 93 8C 11 7E
12:42:52 COM14 Rcv:7E A0 20 03 03 73 F0 2E 81 80 14 05 02 02 00 06 02 00 00 07 04 00 00 00 01 08 04 00 00 00 01 BB 12 7E
12:42:52 COM14 Send: 7E A0 47 03 03 10 A8 B1 E6 E6 00 60 39 80 02 07 80 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 30 30 30 30 30 30 BE 0F 04 0D 01 00 00 00 06 5F 04 00 00 00 19 FF FF C2 2A 7E
12:42:54 COM14 Rcv:7E A0 44 03 03 30 67 B5 E6 E7 00 61 36 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 88 02 07 80 89 07 60 85 74 05 08 02 01 BE 10 04 0E 08 00 06 5F 1F 04 00 00 00 18 01 C2 00 07 D2 2B 7E
12:42:54 SERVICE = ACTION REQUEST, OBIS =0-0-96-3-10-255, IC=70, ATTR: INDEX=1
12:42:54 COM14 Send: 7E A0 19 03 03 32 EC C8 E6 E6 00 C3 01 81 00 46 00 00 60 03 0A FF 01 00 B4 8C 7E
12:42:54 COM14 Rcv:7E A0 11 03 03 52 32 4E E6 E7 00 C7 01 C1 00 00 FC B4 7E
12:42:54 Execute Relay Off success!
12:42:54 COM14 Send: 7E A0 07 03 03 53 80 D7 7E
12:42:55 COM14 Rcv:7E A0 20 03 03 73 F0 2E 81 80 14 05 02 02 00 06 02 00 00 07 04 00 00 00 01 08 04 00 00 00 01 BB 12 7E
Relay On:
12:44:51 COM14 Send: 7E A0 07 03 03 93 8C 11 7E
12:44:51 COM14 Rcv:7E A0 20 03 03 73 F0 2E 81 80 14 05 02 02 00 06 02 00 00 07 04 00 00 00 01 08 04 00 00 00 01 BB 12 7E
12:44:52 COM14 Send: 7E A0 47 03 03 10 A8 B1 E6 E6 00 60 39 80 02 07 80 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 30 30 30 30 30 30 BE 0F 04 0D 01 00 00 00 06 5F 04 00 00 00 19 FF FF C2 2A 7E
12:44:53 COM14 Rcv:7E A0 44 03 03 30 67 B5 E6 E7 00 61 36 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 88 02 07 80 89 07 60 85 74 05 08 02 01 BE 10 04 0E 08 00 06 5F 1F 04 00 00 00 18 01 C2 00 07 D2 2B 7E
12:44:53 SERVICE = ACTION REQUEST, OBIS =0-0-96-3-10-255, IC=70, ATTR: INDEX=2
12:44:53 COM14 Send: 7E A0 19 03 03 32 EC C8 E6 E6 00 C3 01 81 00 46 00 00 60 03 0A FF 02 00 DC A6 7E
12:44:53 COM14 Rcv:7E A0 11 03 03 52 32 4E E6 E7 00 C7 01 C1 00 00 FC B4 7E
12:44:53 Execute Relay On success!
12:44:53 COM14 Send: 7E A0 07 03 03 53 80 D7 7E
12:44:54 COM14 Rcv:7E A0 20 03 03 73 F0 2E 81 80 14 05 02 02 00 06 02 00 00 07 04 00 00 00 01 08 04 00 00 00 01 BB 12 7E
Please ignore this topic.
Please ignore this topic. GXDLMSDisconnectControl helped me a lot.
Hi Aaron,
Hi Aaron,
try using below code for .net sample
GXReplyData reply = new GXReplyData();
// // Relay operation start //
GXDLMSDisconnectControl dc = new GXDLMSDisconnectControl("0.0.96.3.10.255");
Read(dc, 4);
Read(dc, 3);
//Remote relay disconnect
ReadDataBlock(dc.RemoteDisconnect(Client), reply);
///Remote relay connect
ReadDataBlock(dc.RemoteReconnect(Client), reply);