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.
Hello all,
I have two SL7000 meters. The first one is a new model and the second one is an old model.
Right now, I don't have access to the new model but I got the messages logs.
And I am trying to develope a Java application that reads information from my old SL7000 meter.
With the application "ACE Pilote" with an optical probe and also a serial connection, I manage to connect and get informations from the 2 meters. The 2 meters have the same configuration. The meters have the address 17 and use the "low" authentication mode with the default password "ABCDEFGH". They have window size configured to 7 (i don't know what it is). The speed is parameterized to 9600 baud rate.
Here is the message exchange between "Ace Pilote" and the new SL7000 meter (with optical probe) :
REM: ">>>" is the request to the SL7000 and "<<<" is the response from the SL7000.
>>> 2F 3F 21 0D 0A
<<< 2F 3F 21 0D 0A 2F 41 43 45 35 5C 32 53 4C 37 30 30 30 2D 49 45 43 37 0D 0A
>>> 06 32 35 32 0D 0A
<<< 06 32 35 32 0D 0A 06 32 35 32 0D 0A
>>> 7E A0 21 00 02 00 23 03 93 9A 74 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 07 65 5E 7E
<<< 7E A0 21 00 02 00 23 03 93 9A 74 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 07 65 5E 7E 7E A0 23 03 00 02 00 23 73 C0 48 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 07 08 04 00 00 00 01 03 32 7E
>>> 7E A0 47 00 02 00 23 03 10 41 3E E6 E6 00 60 36 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 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 1E 3D 00 00 EA 32 7E
<<<7E A0 47 00 02 00 23 03 10 41 3E E6 E6 00 60 36 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 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 1E 3D 00 00 EA 32 7E 7E A0 53 03 00 02 00 23 30 13 29 E6 E7 00 61 42 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 AA 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 08 00 06 5F 1F 04 00 00 10 1D 21 34 00 07 9A C7 7E
>>> 7E A0 1C 00 02 00 23 03 32 1C 38 E6 E6 00 C0 01 41 00 11 00 00 29 00 00 FF 02 00 E0 E1 7E
<<< 7E A0 1C 00 02 00 23 03 32 1C 38 E6 E6 00 C0 01 41 00 11 00 00 29 00 00 FF 02 00 E0 E1 7E 7E A0 43 03 00 02 00 23 52 CE DC E6 E7 00 C4 01 41 00 01 02 02 02 12 00 01 09 10 53 4C 42 37 36 31 4D 41 38 33 39 36 31 34 39 39 02 02 12 00 11 09 10 53 4C 42 37 36 31 45 4C 38 33 39 36 31 34 39 39 B0 02 7E
>>> 7E A0 1C 00 02 00 23 03 54 2C 3E E6 E6 00 C0 01 41 00 01 00 00 8E 01 01 FF 02 00 98 95 7E
<<< 7E A0 1C 00 02 00 23 03 54 2C 3E E6 E6 00 C0 01 41 00 01 00 00 8E 01 01 FF 02 00 98 95 7E 7E A0 19 03 00 02 00 23 74 62 03 E6 E7 00 C4 01 41 00 02 02 11 07 11 17 AC 2E 7E
(etc... i can give more logs if needed)
I triyed the java sample Gurux client application with the following command with serial connection at speed 9600 (8 bits, no parity, 1 stop bit) with the old SL7000 meter:
java -cp xxxxxx.jar -S /dev/ttymxc1 -a Low -P ABCDEFGH -t Verbose
The Gurux librarie sent this request :
>>> 7E A0 07 23 03 93 B7 12 7E
But the meter did not respond at all :(
Then i developed a Java application that sends the requests I have showed you in this topic (except the optical probe initialization requests) BUT with an older SL7000 meter that has the same configuration (password, window size, baud rate).
Here are the logs :
>>> 7E A0 21 00 02 00 23 03 93 9A 74 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 07 65 5E 7E
<<< 7E A0 21 03 00 02 00 23 73 7B 7F 81 80 12 05 01 80 06 01 80 07 04 00 00 00 07 08 04 00 00 00 01 9E 63 7E
>>> 7E A0 47 00 02 00 23 03 10 41 3E E6 E6 00 60 36 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 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 1E 3D 00 00 EA 32 7E
<<< no response
>>> 7E A0 1C 00 02 00 23 03 32 1C 38 E6 E6 00 C0 01 41 00 11 00 00 29 00 00 FF 02 00 E0 E1 7E
<<< 7E A0 53 03 00 02 00 23 30 13 29 E6 E7 00 61 42 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 AA 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 08 00 06 5F 1F 04 00 00 0C 3D 21 34 00 07 4F D4 7E
>>> 7E A0 1C 00 02 00 23 03 76 3C 3C E6 E6 00 C0 01 41 00 01 00 00 8E 01 01 FF 02 00 98 95 7E
<<< 7E A8 8C 03 00 02 00 23 42 1C B9 E6 E7 00 C4 01 41 00 01 06 02 02 12 00 01 0A 10 53 4C 42 37 36 31 4D 41 33 33 30 35 31 30 38 33 02 02 12 00 11 0A 10 53 4C 42 37 36 31 45 4C 33 33 30 35 31 30 38 33 02 02 12 00 12 0A 10 53 4C 42 37 36 31 47 41 33 33 30 35 31 30 38 33 02 02 12 00 13 0A 10 53 4C 42 37 36 31 48 45 33 33 30 35 31 30 38 33 02 02 12 00 14 0A 10 53 4C 42 37 36 31 57 41 33 33 30 35 31 30 38 33 02 02 12 00 F4 38 7E
<<< 7E A0 1F 03 00 02 00 23 54 AD 7A 15 0A 10 53 4C 42 37 36 31 43 55 33 33 30 35 31 30 38 33 CC EE 7E
So the behavior is strange. The meter responds to these requests... I don't know why it does not respond to Gurux Request. Something is not well configured... by what is it ?
Can you help me please ?
Any one has an idea of what
Any one has an idea of what is going wrong ?
SL 7000
Hi,
You need to start communicating using IEC mode. -iec parameter
Your server and client address are also wrong.
setClientAddress(1);
setServerAddress(GXDLMSClient.getServerAddress(1, 17));
BR,
Mikko
Hello,
Hello,
Great ! That works :D !
My mistake was that I set the server address like this "setServerAddress(17)" and not like "setServerAddress(GXDLMSClient.getServerAddress(1, 17))" !
Thank you for your help :) !