06-19-2013 01:59 AM
Hi,
Eee... Not quite understand about the Class ID and Attribute ID, how can we find the 2 IDs based on the element that we want and from this 2 IDs, how can form the request code that need to send for the DLMS meter ? How we can decode the code that replied from the DLMS meter ?
06-19-2013 04:14 AM
hi,
For all of your queries, the answer is very simple you need to study the DLMS Specification. Study all DLMS Color books (BLUE, GREEN, YELLOW and WHITE), in these books they have defined the structure of commands.
ALL THE BEST.
06-19-2013 04:27 AM
OK. Thanks a lot of guide me on this. Thank you very much. So if any me not understand, can i email to ask you or i just post the question in here ?
06-19-2013 05:35 AM
07-19-2013 04:17 AM
Hi guy,
I'm a fresh man for DLMS. I also try to read some value in my meter. My step:
Step 1: send SNRM request and handle UA response
7E A0 07 03 21 93 0F 01 7E
>>Reveived data
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
>>Parsing UA reply.
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
//***Step 2: send AARQ request and handle AARE response.
//Send AARQ request
7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 03 20 FF FF 80 AB 7E
>>Reveived data
7E A0 37 21 03 30 6C 7C E6 E7 00 61 28 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 0F 04 0D 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 0A A8 7E
>>Parsing AARE reply
7E A0 37 21 03 30 6C 7C E6 E7 00 61 28 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 0F 04 0D 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 0A A8 7E
//==============Parsing AARE reply succeeded===============//
// *** Step 3: Read association view and show all objects that meter can offer ??? – Not sure !!! >> The mapping information between the short names and the logical names
//Collecting objects
//7E A0 11 03 21 32 B7 3D E6 E6 00 05 01 02 FA 08 18 9E 7E
>>7E A8 5A 21 03 52 33 74 E6 E7 00 0C 01 00 01 81 F4 02 04 10 00 C8 12 27 16 11 02 09 06 00 00 F0 0D 00 FF 02 04 10 7B 70 12 27 12 11 06 09 06 00 00 F0 00 00 FF 02 04 10 CB 20 12 27 60 11 03 09 06 00 00 F0 0F FF FF 02 04 10 72 10 12 00 03 11 00 09 06 01 01 0D 05 00 FF 86 09 7E
// Read Obis 1.8.0 (class Register / class id =3)
Read object type Register index: 3
//7E A0 11 03 21 F4 8D 9E E6 E6 00 05 01 02 1C 30 9A 9E 7E
>>7E A0 15 21 03 7E 33 61 E6 E7 00 0C 01 00 02 02 0F FF 16 1E 3F F2 7E
Read object type Register index: 1
//7E A0 11 03 21 16 91 5A E6 E6 00 05 01 02 1C 20 1B 8E 7E
>>7E A0 17 21 03 90 35 56 E6 E7 00 0C 01 00 09 06 01 01 01 08 00 FF A2 29 7E
Read object type Register index: 2
//7E A0 11 03 21 38 ED 92 E6 E6 00 05 01 02 1C 28 53 02 7E
>>7E A0 18 21 03 B2 DC E6 E6 E7 00 0C 01 00 14 00 00 00 00 06 DE 5A DC F4 F5 7E
Convert from hex to dec: 115235548
I'm not sure about step 3, so I cant read the value 1.8.0. The above code in step is take from the log file of Gurux.
Who can give a full tutorial about steps in order to read the value on my meter?
Big thanks for yr time!
04-26-2016 12:04 PM
Hi,
I am also working on meter which is DLMS compliance. I am using dlms dll to communicate with meter...but i m not getting any output
11-16-2018 11:17 AM
Hi for all,
Do you have an example VI that shows the communication?
Thank you.
01-25-2019 08:36 AM
Hi Ramesh,
Can you please share LabVIEW vi example to communicate with meter using DLMS protocol.