read secure apex 100 meter IEC 62053-22, IS 14697

24 posts / 0 new
Last post
dhirajthaokar
read secure apex 100 meter IEC 62053-22, IS 14697

i used secure apex 100
http://securemeters.com/index.php/products/generation/apex-100/

please tell give me sample code for this.
i got data at cient address 10 server add 1.
but meter show DLMS phy.ID : 0256
how i communicate i want load servey & instant. param value date wise.
i can see obis code in meter but program give me unavailable code.

i got fallowing log:
i change o/p display

<- 13:26:01.115 7E A0 07 03 21 93 0F 01 7E
-> 13:26:01.243 7E A0 20 21 03 73 73 98 81 80 14 05 02 02 00 06 02 02 00 07 04 00 00 00 01 08 04 00 00 00 01 6F EF 7E
<- 13:26:01.248 7E A0 2B 03 21 10 FB AF 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 00 1E 1D FF FF C5 E4 7E
-> 13:26:01.440 7E A0 37 21 03 30 6C 7C 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 10 18 02 00 00 07 8C F2 7E
<- 13:26:01.447 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
-> 13:26:02.142 7E AA 09 21 03 52 60 92 E6 E7 00 C4 01 C1 00 01 0C 02 04 12 00 0F 11 00 09 06 00 00 28 00 00 FF 02 02 01 08 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 01 04 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 04 12 00 0F 11 00 09 06 00 00 28 00 01 FF 02 02 01 08 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 01 04 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 04 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 00 00 06 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 00 00 01 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 17 11 01 09 06 00 00 16 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 03 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 03 00 01 00 02 04 12 00 29 11 00 09 06 00 00 19 00 00 FF 02 02 01 06 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 01 00 02 04 12 00 2A 11 00 09 06 00 00 19 01 00 FF 02 02 01 0A 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 03 00 02 03 0F 04 16 00 00 02 03 60 1A 7E
<- 13:26:02.144 7E A0 07 03 21 51 11 E4 7E
-> 13:26:02.554 7E A1 26 21 03 54 10 8D 0F 05 16 00 00 02 03 0F 06 16 03 00 02 03 0F 07 16 03 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 01 00 01 03 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 04 12 00 2B 11 00 09 06 00 00 19 02 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 01 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 60 A0 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 00 00 02 03 0F 04 16 00 00 02 03 0F 05 16 00 00 02 03 0F 06 16 00 00 02 03 0F 07 16 00 00 02 03 0F 08 16 00 00 02 03 0F 09 16 00 00 01 06 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 02 0F 05 03 00 02 02 0F 06 03 00 4F EF 7E
object 0.0.40.0.0.255 Ch. 0 Current association
-------- Reading GXDLMSAssociationLogicalName 0.0.40.0.0.255 Ch. 0 Current association
<- 13:26:02.626 7E A0 19 03 21 74 5D FF E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
-> 13:26:03.246 7E AA 09 21 03 76 46 F5 E6 E7 00 C4 01 C1 00 01 0C 02 04 12 00 0F 11 00 09 06 00 00 28 00 00 FF 02 02 01 08 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 01 04 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 04 12 00 0F 11 00 09 06 00 00 28 00 01 FF 02 02 01 08 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 01 04 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 04 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 00 00 06 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 00 00 01 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 17 11 01 09 06 00 00 16 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 03 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 03 00 01 00 02 04 12 00 29 11 00 09 06 00 00 19 00 00 FF 02 02 01 06 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 01 00 02 04 12 00 2A 11 00 09 06 00 00 19 01 00 FF 02 02 01 0A 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 03 00 02 03 0F 04 16 00 00 02 03 60 1A 7E
<- 13:26:03.248 7E A0 07 03 21 91 1D 22 7E
-> 13:26:03.649 7E A1 26 21 03 78 7E 66 0F 05 16 00 00 02 03 0F 06 16 03 00 02 03 0F 07 16 03 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 01 00 01 03 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 04 12 00 2B 11 00 09 06 00 00 19 02 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 01 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 60 A0 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 00 00 02 03 0F 04 16 00 00 02 03 0F 05 16 00 00 02 03 0F 06 16 00 00 02 03 0F 07 16 00 00 02 03 0F 08 16 00 00 02 03 0F 09 16 00 00 01 06 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 02 0F 05 03 00 02 02 0F 06 03 00 4F EF 7E
Index: 2 Value: [0.0.40.0.0.255, 0.0.40.0.1.255, 0.0.42.0.0.255, 1.0.0.0.6.255, 1.0.0.0.1.255, 0.0.22.0.0.255, 0.0.25.0.0.255, 0.0.25.1.0.255, 0.0.25.2.0.255, 0.0.96.1.0.255, 1.0.96.160.0.255, 0.0.1.0.0.255]
<- 13:26:03.655 7E A0 19 03 21 B6 43 1A E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 03 00 49 4A 7E
-> 13:26:03.747 7E A0 17 21 03 9A 6F F9 E6 E7 00 C4 01 C1 00 02 02 0F 10 12 00 01 EB 3C 7E
Index: 3 Value: 16/1
<- 13:26:03.748 7E A0 19 03 21 D8 3B 90 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 04 00 41 07 7E
-> 13:26:03.847 7E A0 19 21 03 BC 19 13 E6 E7 00 C4 01 C1 00 09 07 60 85 74 05 08 01 01 E2 49 7E
Index: 4 Value: 0 0 0 5 8 1 LOGICAL_NAME
<- 13:26:03.849 7E A0 19 03 21 FA 2B 92 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 05 00 99 1E 7E
-> 13:26:03.948 7E A0 23 21 03 DE 51 C3 E6 E7 00 C4 01 C1 00 02 06 04 18 00 10 18 12 02 00 12 04 00 11 06 0F 00 09 00 9F 15 7E
Index: 5 Value: [BLOCK_TRANSFER_WITH_GET_OR_READ, SET, GET] 512 1024 6 0
<- 13:26:03.950 7E A0 19 03 21 1C 13 10 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 06 00 F1 34 7E
-> 13:26:04.048 7E A0 19 21 03 F0 71 9B E6 E7 00 C4 01 C1 00 09 07 60 85 74 05 08 02 00 03 72 7E
Index: 6 Value: 0 0 0 5 8 2 None
<- 13:26:04.049 7E A0 19 03 21 3E 03 12 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 08 00 E1 AE 7E
-> 13:26:04.148 7E A0 12 21 03 12 78 9F E6 E7 00 C4 01 C1 00 16 02 01 23 7E
object 0.0.40.0.1.255 Ch. 0 Association #1
Index: 8 Value: ASSOCIATED
-------- Reading GXDLMSAssociationLogicalName 0.0.40.0.1.255 Ch. 0 Association #1
<- 13:26:04.150 7E A0 19 03 21 50 7B 98 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 01 FF 02 00 2A 4F 7E
-> 13:26:04.749 7E AA 09 21 03 34 50 94 E6 E7 00 C4 01 C1 00 01 0C 02 04 12 00 0F 11 00 09 06 00 00 28 00 00 FF 02 02 01 08 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 01 04 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 04 12 00 0F 11 00 09 06 00 00 28 00 01 FF 02 02 01 08 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 01 04 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 04 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 00 00 06 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 00 00 01 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 17 11 01 09 06 00 00 16 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 03 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 01 00 02 03 0F 08 16 01 00 02 03 0F 09 16 03 00 01 00 02 04 12 00 29 11 00 09 06 00 00 19 00 00 FF 02 02 01 06 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 01 00 02 04 12 00 2A 11 00 09 06 00 00 19 01 00 FF 02 02 01 0A 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 03 00 02 03 0F 04 16 00 00 02 03 60 1A 7E
<- 13:26:04.750 7E A0 07 03 21 71 13 C5 7E
-> 13:26:05.151 7E A1 26 21 03 36 04 CD 0F 05 16 00 00 02 03 0F 06 16 03 00 02 03 0F 07 16 03 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 01 00 01 03 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 04 12 00 2B 11 00 09 06 00 00 19 02 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 60 01 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 01 00 60 A0 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 00 00 02 03 0F 04 16 00 00 02 03 0F 05 16 00 00 02 03 0F 06 16 00 00 02 03 0F 07 16 00 00 02 03 0F 08 16 00 00 02 03 0F 09 16 00 00 01 06 02 02 0F 01 03 00 02 02 0F 02 03 00 02 02 0F 03 03 00 02 02 0F 04 03 00 02 02 0F 05 03 00 02 02 0F 06 03 00 4F EF 7E
Index: 2 Value: [0.0.40.0.0.255, 0.0.40.0.1.255, 0.0.42.0.0.255, 1.0.0.0.6.255, 1.0.0.0.1.255, 0.0.22.0.0.255, 0.0.25.0.0.255, 0.0.25.1.0.255, 0.0.25.2.0.255, 0.0.96.1.0.255, 1.0.96.160.0.255, 0.0.1.0.0.255]
<- 13:26:05.154 7E A0 19 03 21 92 65 7D E6 E6 00 C0 01 C1 00 0F 00 00 28 00 01 FF 03 00 F2 56 7E
-> 13:26:05.250 7E A0 17 21 03 58 71 1C E6 E7 00 C4 01 C1 00 02 02 0F 10 12 00 01 EB 3C 7E
Index: 3 Value: 16/1
<- 13:26:05.252 7E A0 19 03 21 B4 51 39 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 01 FF 04 00 FA 1B 7E
-> 13:26:05.351 7E A0 19 21 03 7A 23 B0 E6 E7 00 C4 01 C1 00 09 07 60 85 74 05 08 01 01 E2 49 7E
Index: 4 Value: 0 0 0 5 8 1 LOGICAL_NAME
<- 13:26:05.352 7E A0 19 03 21 D6 45 79 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 01 FF 05 00 22 02 7E
-> 13:26:05.451 7E A0 23 21 03 9C 47 A2 E6 E7 00 C4 01 C1 00 02 06 04 18 00 10 18 12 02 00 12 04 00 11 06 0F 00 09 00 9F 15 7E
Index: 5 Value: [BLOCK_TRANSFER_WITH_GET_OR_READ, SET, GET] 512 1024 6 0
<- 13:26:05.452 7E A0 19 03 21 F8 39 B1 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 01 FF 06 00 4A 28 7E
-> 13:26:05.551 7E A0 19 21 03 BE 0B 30 E6 E7 00 C4 01 C1 00 09 07 60 85 74 05 08 02 00 03 72 7E
Index: 6 Value: 0 0 0 5 8 2 None
<- 13:26:05.553 7E A0 19 03 21 1A 25 75 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 01 FF 08 00 5A B2 7E
-> 13:26:05.651 7E A0 12 21 03 D0 66 7A E6 E7 00 C4 01 C1 00 16 02 01 23 7E
object 0.0.42.0.0.255 Ch. 0 COSEM Logical device name
Index: 8 Value: ASSOCIATED
-------- Reading GXDLMSData 0.0.42.0.0.255 Ch. 0 COSEM Logical device name
<- 13:26:05.653 7E A0 19 03 21 3C 11 31 E6 E6 00 C0 01 C1 00 01 00 00 2A 00 00 FF 02 00 12 80 7E
-> 13:26:05.752 7E A0 1B 21 03 F2 15 81 E6 E7 00 C4 01 C1 00 09 09 45 48 4C 52 33 45 78 78 78 C2 64 7E
Index: 2 Value: EHLR3Exxx
object 1.0.0.0.6.255 Ch. 0 Electricity ID #7
-------- Reading GXDLMSData 1.0.0.0.6.255 Ch. 0 Electricity ID #7
<- 13:26:05.755 7E A0 19 03 21 5E 05 71 E6 E6 00 C0 01 C1 00 01 01 00 00 00 06 FF 02 00 59 E6 7E
-> 13:26:05.852 7E A0 19 21 03 14 5B 3A E6 E7 00 C4 01 C1 00 09 07 45 53 4C 2D 30 30 32 8F 8F 7E
Index: 2 Value: ESL-002
object 1.0.0.0.1.255 Ch. 0 Electricity ID #2
-------- Reading GXDLMSData 1.0.0.0.1.255 Ch. 0 Electricity ID #2
<- 13:26:05.862 7E A0 19 03 21 70 79 B9 E6 E6 00 C0 01 C1 00 01 01 00 00 00 01 FF 02 00 78 B1 7E
-> 13:26:05.952 7E A0 19 21 03 36 4B 38 E6 E7 00 C4 01 C1 00 09 07 4D 36 58 33 47 30 35 84 4E 7E
Index: 2 Value: M6X3G05
object 0.0.22.0.0.255 Ch. 0 IEC HDLC setup
-------- Reading GXDLMSHdlcSetup 0.0.22.0.0.255 Ch. 0 IEC HDLC setup
<- 13:26:05.955 7E A0 19 03 21 92 65 7D E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 02 00 BD 2D 7E
-> 13:26:06.052 7E A0 12 21 03 58 26 72 E6 E7 00 C4 01 C1 00 16 05 BE 57 7E
Index: 2 Value: Baudrate9600
<- 13:26:06.054 7E A0 19 03 21 B4 51 39 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 03 00 65 34 7E
-> 13:26:06.153 7E A0 12 21 03 7A 36 70 E6 E7 00 C4 01 C1 00 11 01 92 5C 7E
Index: 3 Value: 1
<- 13:26:06.154 7E A0 19 03 21 D6 45 79 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 04 00 6D 79 7E
-> 13:26:06.253 7E A0 12 21 03 9C 0E F2 E6 E7 00 C4 01 C1 00 11 01 92 5C 7E
Index: 4 Value: 1
<- 13:26:06.254 7E A0 19 03 21 F8 39 B1 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 05 00 B5 60 7E
-> 13:26:06.353 7E A0 13 21 03 BE A5 EC E6 E7 00 C4 01 C1 00 12 02 00 B3 82 7E
Index: 5 Value: 512
<- 13:26:06.355 7E A0 19 03 21 1A 25 75 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 06 00 DD 4A 7E
-> 13:26:06.453 7E A0 13 21 03 D0 DD 66 E6 E7 00 C4 01 C1 00 12 02 00 B3 82 7E
Index: 6 Value: 512
<- 13:26:06.454 7E A0 19 03 21 3C 11 31 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 07 00 05 53 7E
-> 13:26:06.554 7E A0 13 21 03 F2 CD 64 E6 E7 00 C4 01 C1 00 12 09 F6 A2 F4 7E
Index: 7 Value: 2550
<- 13:26:06.555 7E A0 19 03 21 5E 05 71 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 08 00 CD D0 7E
-> 13:26:06.654 7E A0 13 21 03 14 F5 E6 E6 E7 00 C4 01 C1 00 12 00 3C EC 4A 7E
Index: 8 Value: 60
<- 13:26:06.655 7E A0 19 03 21 70 79 B9 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 09 00 15 C9 7E
-> 13:26:06.754 7E A0 13 21 03 36 E5 E4 E6 E7 00 C4 01 C1 00 12 01 00 DB A8 7E
object 0.0.25.0.0.255 Ch. 0 TCP-UDP setup
Index: 9 Value: 256
-------- Reading GXDLMSTcpUdpSetup 0.0.25.0.0.255 Ch. 0 TCP-UDP setup
<- 13:26:06.756 7E A0 19 03 21 92 65 7D E6 E6 00 C0 01 C1 00 29 00 00 19 00 00 FF 02 00 4C C3 7E
-> 13:26:06.854 7E A0 13 21 03 58 9D 6E E6 E7 00 C4 01 C1 00 12 0F DB 95 5A 7E
Index: 2 Value: 4059
<- 13:26:06.856 7E A0 19 03 21 B4 51 39 E6 E6 00 C0 01 C1 00 29 00 00 19 00 00 FF 03 00 94 DA 7E
-> 13:26:06.955 7E A0 18 21 03 7A 98 AC E6 E7 00 C4 01 C1 00 09 06 00 00 19 01 00 FF 23 64 7E
Index: 3 Value: 0.0.25.1.0.255
<- 13:26:06.956 7E A0 19 03 21 D6 45 79 E6 E6 00 C0 01 C1 00 29 00 00 19 00 00 FF 04 00 9C 97 7E
-> 13:26:07.055 7E A0 13 21 03 9C B5 EE E6 E7 00 C4 01 C1 00 12 01 40 DF EA 7E
Index: 4 Value: 320
<- 13:26:07.056 7E A0 19 03 21 F8 39 B1 E6 E6 00 C0 01 C1 00 29 00 00 19 00 00 FF 05 00 44 8E 7E
-> 13:26:07.155 7E A0 12 21 03 BE 1E F0 E6 E7 00 C4 01 C1 00 11 01 92 5C 7E
Index: 5 Value: 1
<- 13:26:07.156 7E A0 19 03 21 1A 25 75 E6 E6 00 C0 01 C1 00 29 00 00 19 00 00 FF 06 00 2C A4 7E
-> 13:26:07.256 7E A0 13 21 03 D0 DD 66 E6 E7 00 C4 01 C1 00 12 00 3C EC 4A 7E
object 0.0.25.1.0.255 Ch. 0 IPv4 setup
Index: 6 Value: 60
-------- Reading GXDLMSIp4Setup 0.0.25.1.0.255 Ch. 0 IPv4 setup
<- 13:26:07.257 7E A0 19 03 21 3C 11 31 E6 E6 00 C0 01 C1 00 2A 00 00 19 01 00 FF 02 00 0F 1E 7E
-> 13:26:07.356 7E A0 18 21 03 F2 D8 A4 E6 E7 00 C4 01 C1 00 09 06 00 00 19 02 00 FF 47 8B 7E
Index: 2 Value: 0.0.25.2.0.255
<- 13:26:07.357 7E A0 19 03 21 5E 05 71 E6 E6 00 C0 01 C1 00 2A 00 00 19 01 00 FF 03 00 D7 07 7E
-> 13:26:07.456 7E A0 15 21 03 14 6F AD E6 E7 00 C4 01 C1 00 06 FF FF FF FF E4 EB 7E
Index: 3 Value: 255.255.255.255
<- 13:26:07.561 7E A0 19 03 21 70 79 B9 E6 E6 00 C0 01 C1 00 2A 00 00 19 01 00 FF 06 00 6F 79 7E
-> 13:26:07.657 7E A0 15 21 03 36 7F AF E6 E7 00 C4 01 C1 00 06 FF FF FC 00 F4 CE 7E
Index: 6 Value: 255.255.252.0
<- 13:26:08.838 7E A0 19 03 21 92 65 7D E6 E6 00 C0 01 C1 00 2A 00 00 19 01 00 FF 07 00 B7 60 7E
-> 13:26:08.959 7E A0 15 21 03 58 07 25 E6 E7 00 C4 01 C1 00 06 AC 10 10 02 62 1E 7E
Index: 7 Value: 172.16.16.2
<- 13:26:09.040 7E A0 19 03 21 B4 51 39 E6 E6 00 C0 01 C1 00 2A 00 00 19 01 00 FF 08 00 7F E3 7E
-> 13:26:09.159 7E A0 12 21 03 7A 36 70 E6 E7 00 C4 01 C1 00 03 00 3A EB 7E
Index: 8 Value: false
<- 13:26:09.161 7E A0 19 03 21 D6 45 79 E6 E6 00 C0 01 C1 00 2A 00 00 19 01 00 FF 09 00 A7 FA 7E
-> 13:26:09.260 7E A0 15 21 03 9C 2F A5 E6 E7 00 C4 01 C1 00 06 00 00 00 00 7D 18 7E
Index: 9 Value: 0.0.0.0
<- 13:26:09.333 7E A0 19 03 21 F8 39 B1 E6 E6 00 C0 01 C1 00 2A 00 00 19 01 00 FF 0A 00 CF D0 7E
-> 13:26:09.560 7E A0 15 21 03 BE 3F A7 E6 E7 00 C4 01 C1 00 06 00 00 00 00 7D 18 7E
Index: 10 Value: 0.0.0.0
object 0.0.25.2.0.255 Ch. 0 MAC address setup
-------- Reading GXDLMSMacAddressSetup 0.0.25.2.0.255 Ch. 0 MAC address setup
<- 13:26:09.650 7E A0 19 03 21 1A 25 75 E6 E6 00 C0 01 C1 00 2B 00 00 19 02 00 FF 02 00 3E 4E 7E
-> 13:26:09.761 7E A0 18 21 03 D0 C8 A6 E6 E7 00 C4 01 C1 00 09 06 00 13 E1 0F 14 22 DE B0 7E
Index: 2 Value: 00:13:E1:0F:14:22
object 0.0.96.1.0.255 Ch. 0 Device ID 1, manufacturing number
-------- Reading GXDLMSData 0.0.96.1.0.255 Ch. 0 Device ID 1, manufacturing number
<- 13:26:09.763 7E A0 19 03 21 3C 11 31 E6 E6 00 C0 01 C1 00 01 00 00 60 01 00 FF 02 00 89 A0 7E
-> 13:26:09.861 7E A0 1A 21 03 F2 AE 9D E6 E7 00 C4 01 C1 00 09 08 4D 53 50 35 34 39 37 38 39 87 7E
object 1.0.96.160.0.255 Man. specific
Index: 2 Value: MSP54978
-------- Reading GXDLMSData 1.0.96.160.0.255 Man. specific
<- 13:26:09.862 7E A0 19 03 21 5E 05 71 E6 E6 00 C0 01 C1 00 01 01 00 60 A0 00 FF 02 00 B6 C0 7E
object 0.0.1.0.0.255 Ch. 0 Clock object #1
-> 13:26:10.262 7E A1 30 21 03 14 2F 47 E6 E7 00 C4 01 C1 00 01 16 02 02 09 06 01 00 01 08 00 FF 12 00 86 02 02 09 06 01 00 02 08 00 FF 12 00 85 02 02 09 06 01 00 81 08 00 FF 12 00 82 02 02 09 06 01 00 82 08 00 FF 12 00 81 02 02 09 06 01 00 05 08 00 FF 12 00 96 02 02 09 06 01 00 08 08 00 FF 12 00 95 02 02 09 06 01 00 06 08 00 FF 12 00 98 02 02 09 06 01 00 07 08 00 FF 12 00 97 02 02 09 06 01 00 09 08 00 FF 12 00 A1 02 02 09 06 01 00 0A 08 00 FF 12 00 A5 02 02 09 06 01 00 99 08 00 FF 12 00 F3 02 02 09 06 01 00 9B 08 00 FF 12 00 F4 02 02 09 06 01 00 9A 08 00 FF 12 00 F5 02 02 09 06 01 00 9C 08 00 FF 12 00 F6 02 02 09 06 01 00 03 08 00 FF 12 00 92 02 02 09 06 01 00 04 08 00 FF 12 00 91 02 02 09 06 01 00 10 08 00 FF 12 00 F0 02 02 09 06 01 00 8C 08 00 FF 12 00 F1 02 02 09 06 01 00 97 08 00 FF 12 01 E3 02 02 09 06 01 00 98 08 00 FF 12 01 E4 02 02 09 06 01 00 5E 5B 01 FF 12 00 E3 02 02 09 06 01 00 5E 5B 02 FF 12 00 E4 5C 2C 7E
Index: 2 Value: [Ljava.lang.Object;@e2144e4, [Ljava.lang.Object;@6477463f, [Ljava.lang.Object;@3d71d552, [Ljava.lang.Object;@1cf4f579, [Ljava.lang.Object;@18769467, [Ljava.lang.Object;@46ee7fe8, [Ljava.lang.Object;@7506e922, [Ljava.lang.Object;@4ee285c6, [Ljava.lang.Object;@621be5d1, [Ljava.lang.Object;@573fd745, [Ljava.lang.Object;@15327b79, [Ljava.lang.Object;@4f2410ac, [Ljava.lang.Object;@722c41f4, [Ljava.lang.Object;@5b80350b, [Ljava.lang.Object;@5d6f64b1, [Ljava.lang.Object;@32a1bec0, [Ljava.lang.Object;@22927a81, [Ljava.lang.Object;@78e03bb5, [Ljava.lang.Object;@5e8c92f4, [Ljava.lang.Object;@61e4705b, [Ljava.lang.Object;@50134894, [Ljava.lang.Object;@2957fcb0
-------- Reading GXDLMSClock 0.0.1.0.0.255 Ch. 0 Clock object #1
<- 13:26:10.264 7E A0 19 03 21 70 79 B9 E6 E6 00 C0 01 C1 00 08 00 00 01 00 00 FF 02 00 60 1A 7E
-> 13:26:10.362 7E A0 1E 21 03 36 6A 6F E6 E7 00 C4 01 C1 00 09 0C 07 E2 05 12 05 0D 11 14 FF 80 00 00 27 43 7E
Index: 2 Value: 18/5/18 1:17:20:PM
DisconnectRequest
<- 13:26:10.365 7E A0 23 03 21 92 39 ED E6 E6 00 62 15 80 01 00 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D 02 00 9C 8F 7E
-> 13:26:10.468 7E A0 10 21 03 58 50 4B E6 E7 00 0E 05 03 02 F5 CB 7E
<- 13:26:10.469 7E A0 07 03 21 53 03 C7 7E
-> 13:26:10.562 7E A0 20 21 03 73 73 98 81 80 14 05 02 02 00 06 02 02 00 07 04 00 00 00 01 08 04 00 00 00 01 6F EF 7E
null

kurumi
kurumi's picture
secure apex 100 meter

Hi,

Change serveraddress size to 4.
Use GXDLMSClient.getServerAddress(256, 1) -method to generate right server address.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
thanks for reply

when i used GXDLMSClient.getServerAddress(1, 256,4) ;
i got server address 16640. using this address i got above same o/p
i want to read
. Read Instantaneous Parameters (Object Type : Data, Clock, Register & Extended Register)
2. Read Billing Data [1.0.98.1.0.255] (Object Type : Profile Generic)
3. Read Daily Load Survey Data [1.0.99.1.0.255] (Object Type : Profile Generic)

please tell me how can i read all parameter.
Read Indian device using serial port connection. -S /dev/ttyUSB0 -c 16 -s 16640 -a Low -P [password]
password compulsory ???

kurumi
kurumi's picture
secure apex 100 meter

Hi,

You need to read association view to tell what objects your meter can offer. A password is needed if Low authentication is used.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
thanks

i have following code for association view how to tell meter which kind of Association view need.
public void getAssociationView() throws Exception {
GXReplyData reply = new GXReplyData();
// Get Association view from the meter.
readDataBlock(dlms.getObjectsRequest(), reply);
GXDLMSObjectCollection objects
= dlms.parseObjects(reply.getData(), true);
// Get description of the objects.
GXDLMSConverter converter = new GXDLMSConverter();
converter.updateOBISCodeInformation(objects);
}

dhirajthaokar
how to read profile generic columns

i used this code but it return size 0
GXDLMSObjectCollection profileGenerics
= dlms.getObjects().getObjects(ObjectType.PROFILE_GENERIC);
what i am doing wrong please tell me

kurumi
kurumi's picture
how to read profile generic columns

Hi,

You need to read captureobject parameter. Attribute index 3.
http://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
capture parameter attibute index 3

thanks for reply
sir i am using following java code
give me exception : gurux.dlms.GXDLMSException: Access Error : Device reports a undefined object.

public List<Entry<GXDLMSObject, GXDLMSCaptureObject>>
GetColumns(GXDLMSProfileGeneric pg) throws Exception {
Object entries = read(pg, 7);
System.out.println("Reading Profile Generic: " + pg.getLogicalName()
+ " " + pg.getDescription() + " entries:" + entries.toString());
GXReplyData reply = new GXReplyData();
byte[] data = dlms.read(pg.getName(), pg.getObjectType(), 3)[0];
readDataBlock(data, reply);
dlms.updateValue((GXDLMSObject) pg, 3, reply.getValue());
return pg.getCaptureObjects();
}

try {
List<Entry<GXDLMSObject, GXDLMSCaptureObject>> GetColumns = GetColumns(new GXDLMSProfileGeneric("1.0.98.1.0.255"));
System.out.println("size "+GetColumns.size());

for (Entry<GXDLMSObject, GXDLMSCaptureObject> GetColumn : GetColumns) {
System.out.println(GetColumn.getKey().getDescription());
}
} catch (Exception e) {
System.out.println("errrororoorororororororoor"+e);
e.printStackTrace();
}

dhirajthaokar
another code use for profile generic

void getProfileGenericColumns() {

GXDLMSObjectCollection profileGenerics
= dlms.getObjects().getObjects(ObjectType.PROFILE_GENERIC);
System.out.println(" SIZE "+profileGenerics.size()); /////// return 0 size so loop not working
for (GXDLMSObject it : profileGenerics) {
writeTrace("Profile Generic " + it.getName() + "Columns:",
TraceLevel.INFO);
GXDLMSProfileGeneric pg = (GXDLMSProfileGeneric) it;
// Read columns.
try {
read(pg, 3);
if (Trace.ordinal() > TraceLevel.WARNING.ordinal()) {
boolean first = true;
StringBuilder sb = new StringBuilder();
for (Entry<GXDLMSObject, GXDLMSCaptureObject> col : pg
.getCaptureObjects()) {
if (!first) {
sb.append(" | ");
}
sb.append(col.getKey().getName());
sb.append(" ");
String desc = col.getKey().getDescription();
if (desc != null) {
sb.append(desc);
}
first = false;
}
writeTrace(sb.toString(), TraceLevel.INFO);
}
} catch (Exception ex) {
writeTrace("Err! Failed to read columns:" + ex.getMessage(),
TraceLevel.ERROR);
// Continue reading.
}
}
}

but it gives size 0 .

I am used dlmsdirector but director also not showing profile/ historical data.
Now i apply on two meter
Secure apw100
Lnt er300 p

kurumi
kurumi's picture
how to read profile generic columns

Hi,

Try to change Authentication level from None to Low or High. With some meters, only Logical Device Name is shown if authentication is not used.

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
Authentication level from None to Low or High

hello sir , n thnaks for reply
i got profile data from L&T ER 300P meter which have low level authentication.

but i want to read secure meter. how to find secure meter authentication . vendor not ready to give password .
if you have please provide ...

kurumi
kurumi's picture
Authentication level from None to Low or High

Hi,

I'm sorry, but I can't help you on this. Password can be anything. You need to ask it from the vendor.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
dlms.java

i am using now java for communication
dlmsdirector give profile data of L&T meter
as following settting
manufacture : indian std
protocol :DLMS
auth : Low
pass: lnt1
client add: 20
server add :1
media: serial

i am using same setting in java program but meter gives
<AssociationResponse>
<ApplicationContextName Value="SN" />
<!--PERMANENT_REJECTED-->
<AssociationResult Value="1" />
<ResultSourceDiagnostic>
<!--MECHANISM_NAME_REGUIRED-->
<ACSEServiceUser Value="12" />
</ResultSourceDiagnostic>

when i am using clent add 16 then

<AssociationResponse>
<ApplicationContextName Value="LN" />
<!--PERMANENT_REJECTED-->
<AssociationResult Value="1" />
<ResultSourceDiagnostic>
<!--AUTHENTICATION_FAILURE-->
<ACSEServiceUser Value="13" />
</ResultSourceDiagnostic>
<InitiateResponse>

thanks n regards
dhiraj Thaokar

kurumi
kurumi's picture
Authentication L&T meter

Hi,

Make sure that your client address is 0x20. Then check your password is correct.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
thanks for reply

done sir. thank u ...........

dhirajthaokar
profile data read access denied

gurux.dlms.GXDLMSException: Access Error : Device reports Read-Write denied. when i read profile data by using

cells = readRowsByRange((GXDLMSProfileGeneric) it,
start.getTime(), end.getTime());

kurumi
kurumi's picture
Profile generic in L&T meter

Hi,

All the meters don't support readRowsByRange for all the profile generic objects. Example name plate in Indian standard. Use normal read.
//Read capture objects.
read(it, 3);
//Read buffer.
read(it, 2);

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
THANKS

LNT METER GIVES ME 11 PROFILE OBJECT. HOW CAN I READ EACH OBJECT.

-------- Reading GXDLMSProfileGeneric 0.0.99.98.0.255 Ch. 0 Event log #1
Entries: 22/86
-------- Reading GXDLMSProfileGeneric 0.0.99.98.1.255 Ch. 0 Event log #2
Entries: 89/89
-------- Reading GXDLMSProfileGeneric 0.0.99.98.2.255 Ch. 0 Event log #3
Entries: 20/20
-------- Reading GXDLMSProfileGeneric 0.0.99.98.3.255 Ch. 0 Event log #4
Entries: 0/10
-------- Reading GXDLMSProfileGeneric 0.0.99.98.4.255 Ch. 0 Event log #5
Entries: 42/42
-------- Reading GXDLMSProfileGeneric 0.0.99.98.5.255 Ch. 0 Event log #6
Entries: 0/1
-------- Reading GXDLMSProfileGeneric 1.0.94.91.0.255 Ch. 0 Identifiers for India
Entries: 1/1
-------- Reading GXDLMSProfileGeneric 1.0.94.91.3.255 Ch. 0 Identifiers for India
Entries: 1/1
-------- Reading GXDLMSProfileGeneric 1.0.94.91.4.255 Ch. 0 Identifiers for India
Entries: 1/1
-------- Reading GXDLMSProfileGeneric 1.0.94.91.7.255 Ch. 0 Identifiers for India
Entries: 1/1
-------- Reading GXDLMSProfileGeneric 1.0.99.1.0.255 Ch. 0 Load profile with recording period 1 #1
Entries: 2304/2304

PLEASE PROVIDE ME SAMPLE CODE FOR READ DATA OF PROFILE OBJECT

kurumi
kurumi's picture
LNT METER GIVES ME 11 PROFILE OBJECT. HOW CAN I READ EACH OBJECT

Hi,

//Read buffer.
read(it, 2);

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
Read buffer

read(it, 2);
read method which type of object return it give me class cast exception...
i got
-------- Reading GXDLMSProfileGeneric 0.0.99.98.0.255 Ch. 0 Event log #1
Entriesssss: 22/86
gurux.dlms.GXSimpleEntry@15327b79
gurux.dlms.GXSimpleEntry@4f2410ac
gurux.dlms.GXSimpleEntry@722c41f4
gurux.dlms.GXSimpleEntry@5b80350b
gurux.dlms.GXSimpleEntry@5d6f64b1
gurux.dlms.GXSimpleEntry@32a1bec0
gurux.dlms.GXSimpleEntry@22927a81
gurux.dlms.GXSimpleEntry@78e03bb5
gurux.dlms.GXSimpleEntry@5e8c92f4
gurux.dlms.GXSimpleEntry@61e4705b
gurux.dlms.GXSimpleEntry@50134894
gurux.dlms.GXSimpleEntry@2957fcb0

its a arrayList but it cant cast to show me data

kurumi
kurumi's picture
Read buffer

Hi,

You are looping capture objects (columns). You can access data from the buffer using getBuffer() method.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

dhirajthaokar
thanks for reply

getBuffer() method not found to me..

dhirajthaokar
Raspberry implementation

my jar not work on raspberry it gives
error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/gurux.serial.java3702429459329042833.dll: /tmp/gurux.serial.java3702429459329042833.dll: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)

error is pointed on GXSerial .

kurumi
kurumi's picture
Raspberry implementation

Hi,

Is GXSerial added from Central or have you add it from the sources? It seems that GXSeial can't load lib.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org