Hello, i'm trying to connect with a Wasion meter in GXDLMSDirector, i finally got access to the official software with Wasion, i tried putting the same keys/authentication, etc, but when i try to read the same register i read in the official software, GXDLMS returns "Exception response. "Service not allowed"-exception. Operation not possible".
Here is the Ciphering information:
System title: 57 53 45 30 32 32 33 30
Server System title: 57 53 45 30 30 30 30 31
Block Cipher Key: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Authentication Key: D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF
Broadcast Key: 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF
Dedicated Key: 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF
Here is the complete Log that i got from the official software:
<2024-11-29 17:45:41:290 >SEND:/?16!CRLF[000-REQUESTING THE 1107 E COMMUNICATION]
<2024-11-29 17:45:42:772 >RECEIVE:/WSE5\2WASION--METER---[000-REQUESTING THE 1107 E COMMUNICATION(0MS)]
<2024-11-29 17:45:43:060 >SEND:ACK252CRLF[001-REQUESTING THE 1107 E FOLLOW UP COMMUNICATION]
<2024-11-29 17:45:43:774 >RECEIVE:06 32 35 32 0D 0A[001-REQUESTING THE 1107 E FOLLOW UP COMMUNICATION(0MS)]
<2024-11-29 17:45:44:662 >SEND:7E A0 23 00 02 00 21 21 93 1A E6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(THE1TIME)]
<2024-11-29 17:45:45:438 >RECEIVE:7E A0 23 21 00 02 00 21 73 46 F6 81 80 14 05 02 03 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00 00 01 17 10 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(646MS)]
<2024-11-29 17:45:45:523 >SEND:7E A0 2E 00 02 00 21 21 10 C6 7E E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 FF FF FF 04 FD 05 BE 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(THE1TIME)]
<2024-11-29 17:45:46:474 >RECEIVE:7E A0 3A 21 00 02 00 21 30 29 72 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 14 03 0F 00 07 96 DB 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(819MS)]
<2024-11-29 17:45:46:541 >SEND:7E A0 1C 00 02 00 21 21 32 27 9D E6 E6 00 C0 01 41 00 01 00 00 2B 01 00 FF 02 00 66 1D 7E[GET->FRAME COUNTER(THE1TIME)]
<2024-11-29 17:45:47:191 >RECEIVE:7E A0 18 21 00 02 00 21 52 05 66 E6 E7 00 C4 01 41 00 06 00 00 01 11 B0 86 7E[GET->FRAME COUNTER(523MS)]
<2024-11-29 17:45:47:257 >SEND:7E A0 0A 00 02 00 21 21 53 AC 02 7E[REALEASE DLL ASSOCIATION(THE1TIME)]
<2024-11-29 17:45:47:489 >RECEIVE:7E A0 0A 21 00 02 00 21 73 FC D4 7E[REALEASE DLL ASSOCIATION(221MS)]
<2024-11-29 17:45:48:273 >SEND:/?16!CRLF[000-REQUESTING THE 1107 E COMMUNICATION]
<2024-11-29 17:45:49:506 >RECEIVE:/WSE5\2WASION--METER---[000-REQUESTING THE 1107 E COMMUNICATION(0MS)]
<2024-11-29 17:45:49:824 >SEND:ACK252CRLF[001-REQUESTING THE 1107 E FOLLOW UP COMMUNICATION]
<2024-11-29 17:45:50:539 >RECEIVE:06 32 35 32 0D 0A[001-REQUESTING THE 1107 E FOLLOW UP COMMUNICATION(0MS)]
<2024-11-29 17:45:51:091 >SEND:7E A0 23 00 02 00 21 03 93 99 F6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(THE1TIME)]
<2024-11-29 17:45:51:938 >RECEIVE:7E A0 23 03 00 02 00 21 73 70 7B 81 80 14 05 02 03 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00 00 01 17 10 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(702MS)]
<2024-11-29 17:45:52:008 >SEND:7E A0 7E 00 02 00 21 03 10 8A 1C E6 E6 00 60 6D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 57 53 45 30 32 32 33 30 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 22 80 20 35 30 62 62 39 33 66 66 2D 33 66 36 36 2D 34 38 30 65 2D 62 31 64 33 2D 65 65 62 33 34 37 35 63 BE 23 04 21 21 1F 30 00 00 01 12 9C B0 8E D7 95 83 02 82 3D 21 CA 22 67 C7 3E 72 8C 8C 85 7A A0 E0 A0 C3 9F C9 1A 19 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(THE1TIME)]
PRE-ENCRYPTED DATA:01 00 00 00 06 5F 1F 04 00 FF FF FF 04 FD
<2024-11-29 17:45:54:439 >RECEIVE:7E A0 8A 03 00 02 00 21 30 48 AF E6 E7 00 61 79 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 57 53 45 30 30 30 30 31 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 22 80 20 38 15 E4 AC D3 28 46 03 DA CD 5E 07 D5 62 1C AB 4D B7 28 84 68 BC CA 27 07 86 1C 66 7C 00 4F 6A BE 23 04 21 28 1F 30 00 00 01 52 F6 CB 2A D9 39 73 3C AC 96 E5 9C D3 2F B7 07 9B 47 AC 98 EB C6 C7 36 D3 09 4E 48 C1 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(2166MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:08 00 06 5F 1F 04 00 40 1E 9F 03 0F 00 07
<2024-11-29 17:45:54:558 >SEND:7E A0 42 00 02 00 21 03 32 4A 79 E6 E6 00 CB 31 30 00 00 01 13 D4 05 80 56 B9 4F 8A C2 90 FE 05 C7 ED FA C0 B8 DC C2 0A EA 80 DA 25 FE 47 89 1E AE 28 85 13 B2 98 D7 08 1B 22 AE B0 C2 09 13 63 94 F7 14 7E[OPERATION->HLS AUTHENTICATION(THE1TIME)]
PRE-ENCRYPTED DATA:C3 01 41 00 0F 00 00 28 00 03 FF 01 01 09 11 10 00 00 01 12 48 E1 7C C1 9D 91 AF 39 CD 1B 10 5B
<2024-11-29 17:45:55:974 >RECEIVE:7E A0 3B 03 00 02 00 21 52 DE 20 E6 E7 00 CF 2A 30 00 00 01 54 EF 08 D1 BD EF 58 55 C0 41 4E 25 CE 6E E3 5D 91 F1 E0 38 FD AA 6B D2 13 A3 26 7B 45 31 4E 34 BB A2 FC 3A 70 86 F1 0C 7E[OPERATION->HLS AUTHENTICATION(1276MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C7 01 41 00 01 00 09 11 10 00 00 01 53 E8 9F 0F 35 22 0E EB 94 FF 8A 20 34
<2024-11-29 17:45:56:073 >SEND:REMOTE_RECONNECT READING OPERATION IS NOT SUPPORTED
<2024-11-29 17:45:56:108 >SEND:7E A0 2F 00 02 00 21 03 54 B0 F5 E6 E6 00 C8 1E 30 00 00 01 14 48 CF 5D 4F 54 CB 4B E3 05 59 D8 1A 8E 59 3D 85 86 36 B9 83 E9 FF 42 9C DC A5 BF 7E[GET->INSTANTANEOUS VOLTAGE L2->LOGICAL_NAME(THE1TIME)]
PRE-ENCRYPTED DATA:C0 01 41 00 03 01 00 34 07 00 FF 01 00
<2024-11-29 17:45:57:139 >RECEIVE:7E A0 2E 03 00 02 00 21 74 80 21 E6 E7 00 CC 1D 30 00 00 01 55 51 AF 5D 77 FA FB 95 70 E6 C6 32 62 B4 A8 05 9D 0C 1C 9C 6A 15 E1 64 F2 29 B2 7E[GET->INSTANTANEOUS VOLTAGE L2->LOGICAL_NAME(868MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C4 01 41 00 09 06 01 00 34 07 00 FF
<2024-11-29 17:45:57:273 >SEND:7E A0 2F 00 02 00 21 03 76 A0 F7 E6 E6 00 C8 1E 30 00 00 01 15 DA EB 1D BE 2F 16 38 08 BF CA D1 0F 33 F5 FE 41 43 65 5E 68 E2 8F 5D 3D 05 61 B0 7E[GET->INSTANTANEOUS VOLTAGE L2->VALUE(THE1TIME)]
PRE-ENCRYPTED DATA:C0 01 41 00 03 01 00 34 07 00 FF 02 00
<2024-11-29 17:45:58:289 >RECEIVE:7E A0 29 03 00 02 00 21 96 84 22 E6 E7 00 CC 18 30 00 00 01 56 48 9E 66 B5 3F AC 9A 80 33 8F 20 22 E5 E2 66 5E 3C 1C 3F 93 93 7E[GET->INSTANTANEOUS VOLTAGE L2->VALUE(857MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C4 01 41 00 12 56 3B
<2024-11-29 17:45:58:422 >SEND:7E A0 2F 00 02 00 21 03 98 D0 F9 E6 E6 00 C8 1E 30 00 00 01 16 40 9B E7 42 E9 16 C5 72 AB AE 93 CB CC 9C CF 42 F7 D9 8C 40 83 EC 72 3B 2A CC E8 7E[GET->INSTANTANEOUS VOLTAGE L2->SCALER_UNIT(THE1TIME)]
PRE-ENCRYPTED DATA:C0 01 41 00 03 01 00 34 07 00 FF 03 00
<2024-11-29 17:45:59:439 >RECEIVE:7E A0 2C 03 00 02 00 21 B8 5B 1A E6 E7 00 CC 1B 30 00 00 01 57 E4 BD 4C DC 85 34 8C 44 92 E2 5E B7 BA 07 6C B8 C3 81 FC 72 1F 6C EF 6C 7E[GET->INSTANTANEOUS VOLTAGE L2->SCALER_UNIT(861MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C4 01 41 00 02 02 0F FE 16 23
<2024-11-29 17:45:59:574 >SEND:7E A0 0A 00 02 00 21 03 53 2F 12 7E[REALEASE DLL ASSOCIATION(THE1TIME)]
<2024-11-29 17:45:59:973 >RECEIVE:7E A0 0A 03 00 02 00 21 73 CA 59 7E[REALEASE DLL ASSOCIATION(241MS)]
Here is the log when i try to perform the same operation in GXDLMS (Connect and then read register for OBIS 1.0.52.7.0.255 (Instantaneous voltage L2):
GXDLMSDirector 9.0.2409.2501
Log created 17:48:55
17:48:59 Initializing serial connection.
17:48:59 05:48:59.894 Info Opening
17:48:59 05:48:59.894 Info Configurações da porta serial: Nome da porta: COM3 Taxa de transmissão: 300 Bits de dados: 7 Paridade: Even Stop Bits: One Controle de fluxo: None Eop: None
17:48:59 05:48:59.910 Info Open
17:49:00 IEC Sending:/?!<CR><LF>
17:49:00 05:49:00.915 Sent 2F 3F 21 0D 0A
17:49:01 05:49:01.135 Received 2F
17:49:01 05:49:01.167 Received 2F
17:49:01 05:49:01.198 Received 57
17:49:01 05:49:01.245 Received 53
17:49:01 05:49:01.276 Received 45
17:49:01 05:49:01.308 Received 35
17:49:01 05:49:01.339 Received 5C
17:49:01 05:49:01.386 Received 32
17:49:01 05:49:01.417 Received 57
17:49:01 05:49:01.449 Received 61
17:49:01 05:49:01.496 Received 73
17:49:01 05:49:01.536 Received 69
17:49:01 05:49:01.559 Received 6F
17:49:01 05:49:01.606 Received 6E
17:49:01 05:49:01.637 Received 2D
17:49:01 05:49:01.668 Received 2D
17:49:01 05:49:01.699 Received 4D
17:49:01 05:49:01.762 Received 65
17:49:01 05:49:01.793 Received 74
17:49:01 05:49:01.824 Received 65
17:49:01 05:49:01.871 Received 72
17:49:01 05:49:01.903 Received 2D
17:49:01 05:49:01.938 Received 2D
17:49:01 05:49:01.965 Received 2D
17:49:02 05:49:02.012 Received 0D
17:49:02 HDLC received: /WSE5\2Wasion--Meter---<CR><LF>
17:49:02 BaudRate is : 9600
17:49:02 Moving to mode E.
06 32 35 32 0D 0A
17:49:02 05:49:02.012 Sent 06 32 35 32 0D 0A
17:49:04 05:49:04.024 Info Closing
17:49:04 05:49:04.134 Info Closed
17:49:04 05:49:04.134 Info Opening
17:49:04 05:49:04.134 Info Configurações da porta serial: Nome da porta: COM3 Taxa de transmissão: 9600 Bits de dados: 8 Paridade: None Stop Bits: One Controle de fluxo: None Eop: None
17:49:04 05:49:04.143 Info Open
17:49:05 Send SNRM request.
7E A0 23 00 02 00 21 21 93 1A E6 81 80 14 05 02 04 00 06 02 04 00 07 04 00 00 00 01 08 04 00 00 00 07 44 86 7E
17:49:05 05:49:05.154 Sent 7E A0 23 00 02 00 21 21 93 1A E6 81 80 14 05 02 04 00 06 02 04 00 07 04 00 00 00 01 08 04 00 00 00 07 44 86 7E
17:49:05 05:49:05.217 Received 7E A0 23 21 00 02 00
17:49:05 05:49:05.233 Received 00 21 73 46 F6 81 80 14
17:49:05 05:49:05.249 Received 03 12 07 04 00 00 00 01 08 04 00 00 00
17:49:05 05:49:05.267 Received 01 17 10
17:49:05
7E A0 23 21 00 02 00 21 73 46 F6 81 80 14 05 02 03 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00 00 01 17 10 7E
17:49:05 Parsing UA reply succeeded.
17:49:09 Read object type Register index: 3
7E A0 38 00 02 00 21 21 10 C2 93 E6 E6 00 DC 08 57 53 45 30 32 32 33 30 1E 30 00 00 00 00 05 A6 47 7D 24 24 38 54 49 F2 79 83 08 11 40 D2 8F 93 9B 44 ED 86 9A F6 E3 16 CE 7E
17:49:09 05:49:09.000 Sent 7E A0 38 00 02 00 21 21 10 C2 93 E6 E6 00 DC 08 57 53 45 30 32 32 33 30 1E 30 00 00 00 00 05 A6 47 7D 24 24 38 54 49 F2 79 83 08 11 40 D2 8F 93 9B 44 ED 86 9A F6 E3 16 CE 7E
17:49:09 05:49:09.094 Received 7E A0 12 21 00 02
17:49:09 05:49:09.110 Received 02 00 21 30 46 CF E6 E7 00
17:49:09
7E A0 12 21 00 02 00 21 30 46 CF E6 E7 00 D8 01 01 3C 43 7E
Gurux.DLMS.GXDLMSExceptionResponse: Exception response. "Service not allowed"-exception. Operation not possible
em Gurux.DLMS.GXDLMS.HandleExceptionResponse(GXReplyData data)
em Gurux.DLMS.GXDLMS.GetPdu(GXDLMSSettings settings, GXReplyData data)
em Gurux.DLMS.GXDLMS.GetData(GXDLMSSettings settings, GXByteBuffer reply, GXReplyData data, GXReplyData notify)
em Gurux.DLMS.GXDLMSClient.GetData(GXByteBuffer reply, GXReplyData data, GXReplyData notify)
em GXDLMSDirector.GXDLMSCommunicator.ReadDLMSPacket(Byte[] data, Int32 tryCount, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, Int32 tryCount, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[][] data, String text, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.Read(Object sender, GXDLMSObject obj, Boolean forceRead)
em GXDLMSDirector.MainForm.Read(Object sender, GXAsyncWork work, Object[] parameters)
Thanks!
Hi, Change clieht address to…
Hi,
Change clieht address to 1, server address to 0x4010 and change authentication level to HighGMAC . Then select "Secured connections" tab and and set block cipher and authentication keys and set frame counter to 0.0.43.1.0.2550.
Now you should be able to read the meter. The command line arguments are something like:
-P COMX -i HdlCWithModeE -S 16400 -c 1 -a HighGMAC -B 000102030405060708090A0B0C0D0E0F -A D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF -v 0.0.43.1.0.255 -t Verbose
BR,
Mikko
Hey, I changed and now the…
Hey, I changed and now the beggining of the communication looks almost identical to the log of the official software, however, when i compare both of them, GXDLMSDirector doesn't perform this operation and beyond:
11: 7E A0 7E 00 02 00 21 03 10 8A 1C E6 E6 00 60 6D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 57 53 45 30 32 32 33 30 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 22 80 20 35 30 62 62 39 33 66 66 2D 33 66 36 36 2D 34 38 30 65 2D 62 31 64 33 2D 65 65 62 33 34 37 35 63 BE 23 04 21 21 1F 30 00 00 01 12 9C B0 8E D7 95 83 02 82 3D 21 CA 22 67 C7 3E 72 8C 8C 85 7A A0 E0 A0 C3 9F C9 1A 19 7E
I was looging at one of the (confusing) documentation they sent me, and there is this comment i found that it may help:
OBIS of building connection: 0.0.40.0.3.255 for Client Addr 1 (Management) and 0.0.43.1.1.255 for Client Addr 16 (Public)
Obs: This version adopts the ICS definition. ICS is different from the original idis version obis, and will be unified into the ICS version in the future.
Hi, Please, add only a…
Hi,
Please, add only a complete hex trace. Without that I'm not able to help.
Are you getting any reply to this message that you added above?
BR,
Mikko
Sorry, for now, here is the…
Sorry, for now, here is the official software log: when i try to read OBIS 1.0.52.7.0.255 (L2 Voltage):
(Now i'm using Serial directly (in the first traces i was using mode E with an optical probe)
<2024-12-04 15:34:18:475 >SEND:7E A0 23 00 02 00 21 21 93 1A E6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(THE1TIME)]
<2024-12-04 15:34:19:264 >RECEIVE:7E A0 23 21 00 02 00 21 73 46 F6 81 80 14 05 02 03 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00 00 01 17 10 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(630MS)]
<2024-12-04 15:34:19:358 >SEND:7E A0 2E 00 02 00 21 21 10 C6 7E E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 FF FF FF 04 FD 05 BE 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(THE1TIME)]
<2024-12-04 15:34:20:428 >RECEIVE:7E A0 3A 21 00 02 00 21 30 29 72 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 14 03 0F 00 07 96 DB 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(818MS)]
<2024-12-04 15:34:20:491 >SEND:7E A0 1C 00 02 00 21 21 32 27 9D E6 E6 00 C0 01 41 00 01 00 00 2B 01 00 FF 02 00 66 1D 7E[GET->FRAME COUNTER(THE1TIME)]
<2024-12-04 15:34:21:152 >RECEIVE:7E A0 18 21 00 02 00 21 52 05 66 E6 E7 00 C4 01 41 00 06 00 00 01 21 33 B7 7E[GET->FRAME COUNTER(519MS)]
<2024-12-04 15:34:21:231 >SEND:7E A0 0A 00 02 00 21 21 53 AC 02 7E[REALEASE DLL ASSOCIATION(THE1TIME)]
<2024-12-04 15:34:21:499 >RECEIVE:7E A0 0A 21 00 02 00 21 73 FC D4 7E[REALEASE DLL ASSOCIATION(238MS)]
<2024-12-04 15:34:21:627 >SEND:7E A0 23 00 02 00 21 03 93 99 F6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(THE1TIME)]
<2024-12-04 15:34:22:632 >RECEIVE:7E A0 23 03 00 02 00 21 73 70 7B 81 80 14 05 02 03 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00 00 01 17 10 7E[ESTABLISHING DATA LINK LAYER CONNECTION->ESTABLISHING DATA LINK LAYER CONNECTION(851MS)]
<2024-12-04 15:34:22:727 >SEND:7E A0 7E 00 02 00 21 03 10 8A 1C E6 E6 00 60 6D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 57 53 45 30 32 32 33 30 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 22 80 20 63 34 61 62 31 66 39 32 2D 63 62 61 37 2D 34 63 37 62 2D 38 30 37 66 2D 37 62 31 38 65 39 39 61 BE 23 04 21 21 1F 30 00 00 01 22 EE 7B 7E BE 11 69 1B 2E 0B D2 CC E0 88 73 D0 C8 73 32 41 FE 75 8E 38 36 66 C6 8C 54 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(THE1TIME)]
PRE-ENCRYPTED DATA:01 00 00 00 06 5F 1F 04 00 FF FF FF 04 FD
<2024-12-04 15:34:25:071 >RECEIVE:7E A0 8A 03 00 02 00 21 30 48 AF E6 E7 00 61 79 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 57 53 45 30 30 30 30 31 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 22 80 20 11 D4 15 8F E2 B9 80 94 74 14 02 A5 A5 83 4A 8F 86 5D 18 85 4B 38 48 0F 99 8A 6E 0E EC DC 4A 5A BE 23 04 21 28 1F 30 00 00 01 66 42 2B 65 14 5B 79 96 A7 66 94 3E C7 FD 0E EE 0D 0A 73 F1 88 1E 61 80 F4 6A 05 C6 0C 7E[ESTABLISHING APPLICATION ASSOCIATION->ESTABLISHING APPLICATION ASSOCIATION(2076MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:08 00 06 5F 1F 04 00 40 1E 9F 03 0F 00 07
<2024-12-04 15:34:25:180 >SEND:7E A0 42 00 02 00 21 03 32 4A 79 E6 E6 00 CB 31 30 00 00 01 23 32 F9 BB 61 79 F9 42 95 7B C2 B4 15 83 97 AC 14 F8 04 92 02 42 0F F9 7C 29 5A F8 96 E5 DA 4E 03 DB 55 20 06 37 58 2F C7 8F 6F BE 57 82 23 7E[OPERATION->HLS AUTHENTICATION(THE1TIME)]
PRE-ENCRYPTED DATA:C3 01 41 00 0F 00 00 28 00 03 FF 01 01 09 11 10 00 00 01 22 C5 D4 9E AB F8 F1 CF A7 DD 4D 5B 33
<2024-12-04 15:34:26:689 >RECEIVE:7E A0 3B 03 00 02 00 21 52 DE 20 E6 E7 00 CF 2A 30 00 00 01 68 D3 2A 52 E5 C7 56 3D C4 F3 E8 4B 13 1D 87 65 A9 F9 85 B6 66 16 97 20 15 40 89 93 F2 D9 F6 29 8D 8B 74 B0 DA 3F 40 E7 7E[OPERATION->HLS AUTHENTICATION(1336MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C7 01 41 00 01 00 09 11 10 00 00 01 67 E6 13 46 80 9D A1 FB 81 2E 71 18 DD
<2024-12-04 15:34:26:830 >SEND:7E A0 2F 00 02 00 21 03 54 B0 F5 E6 E6 00 C8 1E 30 00 00 01 24 C9 42 1F 74 AC A4 B6 A7 90 E8 F8 CF 29 07 96 73 6E 07 53 0D 17 D1 1C 16 BF E2 F5 7E[GET->INSTANTANEOUS VOLTAGE L2->LOGICAL_NAME(THE1TIME)]
PRE-ENCRYPTED DATA:C0 01 41 00 03 01 00 34 07 00 FF 01 00
<2024-12-04 15:34:27:837 >RECEIVE:7E A0 2E 03 00 02 00 21 74 80 21 E6 E7 00 CC 1D 30 00 00 01 69 FB E6 47 E4 A5 D6 E5 64 6C B2 E9 CA 2A 08 E6 89 F2 83 83 DE 8F 87 D8 CE 78 2A 7E[GET->INSTANTANEOUS VOLTAGE L2->LOGICAL_NAME(849MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C4 01 41 00 09 06 01 00 34 07 00 FF
<2024-12-04 15:34:27:932 >SEND:7E A0 2F 00 02 00 21 03 76 A0 F7 E6 E6 00 C8 1E 30 00 00 01 25 D8 28 20 AB 2D 03 63 3A 3A A6 F0 C4 0F 3B A0 5D DA 61 9B F1 C1 90 9F 2D 66 7C 1D 7E[GET->INSTANTANEOUS VOLTAGE L2->VALUE(THE1TIME)]
PRE-ENCRYPTED DATA:C0 01 41 00 03 01 00 34 07 00 FF 02 00
<2024-12-04 15:34:28:941 >RECEIVE:7E A0 29 03 00 02 00 21 96 84 22 E6 E7 00 CC 18 30 00 00 01 6A 2C FF E1 2B 6F 85 2E 8C 0B 1C 48 FF 17 43 58 52 EB 56 8A 67 A5 7E[GET->INSTANTANEOUS VOLTAGE L2->VALUE(852MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C4 01 41 00 12 57 47
<2024-12-04 15:34:29:051 >SEND:7E A0 2F 00 02 00 21 03 98 D0 F9 E6 E6 00 C8 1E 30 00 00 01 26 51 85 4C 91 91 C9 8F 7B D9 6D E3 C6 88 A4 6B 97 1E 47 7E F4 FB F5 B9 36 B5 05 25 7E[GET->INSTANTANEOUS VOLTAGE L2->SCALER_UNIT(THE1TIME)]
PRE-ENCRYPTED DATA:C0 01 41 00 03 01 00 34 07 00 FF 03 00
<2024-12-04 15:34:30:043 >RECEIVE:7E A0 2C 03 00 02 00 21 B8 5B 1A E6 E7 00 CC 1B 30 00 00 01 6B D6 4F 51 87 46 AC DC B4 6E BC CA 2A 23 E4 79 AA 6D 1E EC AC 4D 32 B7 0C 7E[GET->INSTANTANEOUS VOLTAGE L2->SCALER_UNIT(834MS)]
PURE DATA AFTER DECRYPTION OR FRAME AGGREGATION:C4 01 41 00 02 02 0F FE 16 23
<2024-12-04 15:34:30:153 >SEND:7E A0 0A 00 02 00 21 03 53 2F 12 7E[REALEASE DLL ASSOCIATION(THE1TIME)]
<2024-12-04 15:34:30:624 >RECEIVE:7E A0 0A 03 00 02 00 21 73 CA 59 7E[REALEASE DLL ASSOCIATION(329MS)]
Here is the same operation in GXDLMSDirector:
First, i Click in "Connect":
GXDLMSDirector 9.0.2409.2501
Log created 15:41:43
15:41:45 Initializing serial connection.
15:41:45 03:41:45.226 Info Opening
15:41:45 03:41:45.226 Info Configurações da porta serial: Nome da porta: COM9 Taxa de transmissão: 9600 Bits de dados: 8 Paridade: None Stop Bits: One Controle de fluxo: None Eop: None
15:41:45 03:41:45.226 Info Open
15:41:46 Send SNRM request.
7E A0 23 00 02 00 21 21 93 1A E6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E
15:41:46 03:41:46.248 Sent 7E A0 23 00 02 00 21 21 93 1A E6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E
15:41:46 03:41:46.485 Received 7E A0 23
15:41:46 03:41:46.501 Received 23 21 00 02 00 21 73 46 F6 81 80 14 05
15:41:46 03:41:46.517 Received 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00
15:41:46 03:41:46.533 Received 00 01 17 10
15:41:46
7E A0 23 21 00 02 00 21 73 46 F6 81 80 14 05 02 03 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00 00 01 17 10 7E
15:41:46 Parsing UA reply succeeded.
15:41:46 Send AARQ request.
7E A0 2E 00 02 00 21 21 10 C6 7E E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF 88 55 7E
15:41:46 03:41:46.533 Sent 7E A0 2E 00 02 00 21 21 10 C6 7E E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF 88 55 7E
15:41:46 03:41:46.643 Received 7E A0 3A 21 00
15:41:46 03:41:46.658 Received 00 02 00 21 30 29 72 E6 E7 00 61 29
15:41:46 03:41:46.674 Received 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1
15:41:46 03:41:46.689 Received 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00
15:41:46 03:41:46.715 Received 00 12 14 03 0F 00 07 96 DB
15:41:46
7E A0 3A 21 00 02 00 21 30 29 72 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 14 03 0F 00 07 96 DB 7E
15:41:46 Parsing AARE reply succeeded.
15:41:46 Reading object 0.0.43.1.1.255, interface Data
7E A0 1C 00 02 00 21 21 32 27 9D E6 E6 00 C0 01 41 00 01 00 00 2B 01 01 FF 02 00 DD 01 7E
15:41:46 03:41:46.715 Sent 7E A0 1C 00 02 00 21 21 32 27 9D E6 E6 00 C0 01 41 00 01 00 00 2B 01 01 FF 02 00 DD 01 7E
15:41:46 03:41:46.814 Received 7E A0 18 21 00
15:41:46 03:41:46.815 Received 00 02 00 21 52 05 66 E6 E7 00 C4
15:41:46 03:41:46.846 Received 00 00 00 00 60 9E
15:41:46
7E A0 18 21 00 02 00 21 52 05 66 E6 E7 00 C4 01 41 00 06 00 00 00 00 60 9E 7E
15:41:46 Disconnect request
15:41:46 Disconnect request
7E A0 0A 00 02 00 21 21 53 AC 02 7E
15:41:46 03:41:46.846 Sent 7E A0 0A 00 02 00 21 21 53 AC 02 7E
15:41:46 03:41:46.926 Received 7E A0 0A 21 00 02 00
15:41:46 03:41:46.940 Received 00 21 73 FC D4
15:41:46
7E A0 0A 21 00 02 00 21 73 FC D4 7E
15:41:46 Send SNRM request.
7E A0 23 00 02 00 21 03 93 99 F6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E
15:41:46 03:41:46.940 Sent 7E A0 23 00 02 00 21 03 93 99 F6 81 80 14 05 02 05 00 06 02 05 00 07 04 00 00 00 01 08 04 00 00 00 01 7F 65 7E
15:41:47 03:41:47.054 Received 7E A0 23 03 00 02 00 21 73 70 7B 81 80 14
15:41:47 03:41:47.066 Received 14 05
15:41:47 03:41:47.086 Received 08 04 00 00 00 01 17 10
15:41:47
7E A0 23 03 00 02 00 21 73 70 7B 81 80 14 05 02 03 12 06 02 03 12 07 04 00 00 00 01 08 04 00 00 00 01 17 10 7E
15:41:47 Parsing UA reply succeeded.
Then, i click in the Register object 1.0.52.7.0.255 and "Read":
15:42:27 Read object type Register index: 3
7E A0 38 00 02 00 21 03 10 41 83 E6 E6 00 DC 08 57 53 45 30 32 32 33 30 1E 30 00 00 00 01 43 F2 3B 5B E0 AE D5 BA 21 09 01 AE FE 57 33 85 B9 6D 3C 7C 35 FD 1A 9A 7D 68 74 7E
15:42:27 03:42:27.854 Sent 7E A0 38 00 02 00 21 03 10 41 83 E6 E6 00 DC 08 57 53 45 30 32 32 33 30 1E 30 00 00 00 01 43 F2 3B 5B E0 AE D5 BA 21 09 01 AE FE 57 33 85 B9 6D 3C 7C 35 FD 1A 9A 7D 68 74 7E
15:42:27 03:42:27.980 Received 7E A0 12 03 00 02 00 21 30 70 42 E6 E7 00 D8
15:42:27 03:42:27.998 Received D8 01 01 3C 43
15:42:27
7E A0 12 03 00 02 00 21 30 70 42 E6 E7 00 D8 01 01 3C 43 7E
Gurux.DLMS.GXDLMSExceptionResponse: Exception response. "Service not allowed"-exception. Operation not possible
em Gurux.DLMS.GXDLMS.HandleExceptionResponse(GXReplyData data)
em Gurux.DLMS.GXDLMS.GetPdu(GXDLMSSettings settings, GXReplyData data)
em Gurux.DLMS.GXDLMS.GetData(GXDLMSSettings settings, GXByteBuffer reply, GXReplyData data, GXReplyData notify)
em Gurux.DLMS.GXDLMSClient.GetData(GXByteBuffer reply, GXReplyData data, GXReplyData notify)
em GXDLMSDirector.GXDLMSCommunicator.ReadDLMSPacket(Byte[] data, Int32 tryCount, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, Int32 tryCount, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[][] data, String text, GXReplyData reply)
em GXDLMSDirector.GXDLMSCommunicator.Read(Object sender, GXDLMSObject obj, Boolean forceRead)
em GXDLMSDirector.MainForm.Read(Object sender, GXAsyncWork work, Object[] parameters)
Hi, You have removed the…
Hi,
You have removed the AARQ and AARE messages from the GXDLMSDirector reply and I can't check if the connection is established or what you try to read.
It seems like you can establish the connection.
BR,
Mikko