I want to do the following:
1. How to make the DLMS.net client sample application work with DLMS.net server Sample application?
2. Is this just a simulation samples on Development Machine or can be tried on Power meter?
3. Is there any special class/type of Power meter this samples will work?
I am new to DLMS and need your help.
Start DLMS example server. Then you can connect to the one of four meters.
You can connect example Short Name server like this:
Gurux.DLMS.Client.Example.Net /m=lgz /h=localhost /p=4060
Using Logical Name referencing:
Gurux.DLMS.Client.Example.Net/m=grx /h=localhost /p=4061
Another situation is if you'd like to read meter with different parameters, for example with low level security, example does not use provided parameters. It uses default settings for specific meter.
Example.
I'd like to read Landis+Gyr E650 meter, with following parameters
/m=LGZ /sp=COM5 /s=DLMS /client=32(0x20) /server=1 /a=Low /pw=xxxxxxxx
example tries to read meter with client 0x11
As I see, only [id, host, port, iec, auth, pw] has purpose. other variables are unused.
GXCommunicatation.cs
UpdateManufactureSettings(string id) sets defaults clientAddr, serverAddr according to auth type.
You are right on this. Client and server address settings should not be on Open Source version yet.
You don't need to set client address. It's updated automatically from the settings when you select authentication level.
But the problem is that the default settings for LGZ are wrong, or something else, but Landis+Gyr E650, according to map110 and map120 app, Landis uses
following client addresses
Access Levels for IEC and dlms
-------------------------------UID---Password---Comment
[0] Public Access--------------16
[1] Data Collection------------32---xxxxxxxx---(static)
[2] Utility Field Service--------48---xxxxxxx---[Coded password]
[3] Utility Service--------------64--------------- Service Menu required
[4] Extended Utility Service---80--------------- Hardware Switch required
Access Level for dlms only
[5] Extended Consumer------17---xxxxxxxx---(static)
[6] Remote Data Collection---18---xxxxxxxx---(static)
[7] Remote Service-----------19---xxxxxxxx---[no password/static/coded]
This is a big problem because DLMS standard don't define client's IDs and different meters are
using different values.
As project name says this is an example and it's a starting point how to read your meter.
I believe that you are not interested to read all your values from the meter.
Parameter Configuration
In Sample what all needs to be changed for making them work?
DLMS.Net Sample Applications
Hi,
Start DLMS example server. Then you can connect to the one of four meters.
You can connect example Short Name server like this:
Gurux.DLMS.Client.Example.Net /m=lgz /h=localhost /p=4060
Using Logical Name referencing:
Gurux.DLMS.Client.Example.Net/m=grx /h=localhost /p=4061
BR,
Mikko
Remote Assistance
Can you show me how on remote session?
Remote Assistance
Hi,
We are quite busy at the moment and for this reason we can arrange remote assistance only our commercial clients.
BR,
Mikko
This +358 3 265 1244 is your
This +358 3 265 1244 is your mobile number or landline number?
I can call you and discuss for paid assistance.
Remote Assistance
Hi,
It's land line. Yes, you can call anytime.
BR,
Mikko
Wrong variable is used
Please check at line 124. id variable is used for both referencing and manufacturer.
https://github.com/Gurux/Gurux.DLMS.Net/blob/master/Gurux.DLMS.Client.E…
I suppose that was not the intention.
else if (item.StartsWith("/r="))//referencing
{
id = item.Replace("/r=", "");
}
else if (item.StartsWith("/m="))//Manufacturer
{
id = item.Replace("/m=", "");
}
Also check ShowHelp at line 78
Console.WriteLine("GuruxDlmsSample /sp=COM1 /s=DLMS /client=16 /server=1 /sn /wrapper");
/sn should be used for serial number, but it is on half way to be /r=sn or it should be /sn=12345678
Best regards
Wrong variable is used
Hi,
You are right. Parameter /r is not used. I'll ask to remove it.
BR,
Mikko
Paremeters are not used, default instead
Another situation is if you'd like to read meter with different parameters, for example with low level security, example does not use provided parameters. It uses default settings for specific meter.
Example.
I'd like to read Landis+Gyr E650 meter, with following parameters
/m=LGZ /sp=COM5 /s=DLMS /client=32(0x20) /server=1 /a=Low /pw=xxxxxxxx
example tries to read meter with client 0x11
As I see, only [id, host, port, iec, auth, pw] has purpose. other variables are unused.
GXCommunicatation.cs
UpdateManufactureSettings(string id) sets defaults clientAddr, serverAddr according to auth type.
Paremeters are not used, default instead
Hi,
You are right on this. Client and server address settings should not be on Open Source version yet.
You don't need to set client address. It's updated automatically from the settings when you select authentication level.
BR,
Mikko
World is not perfect
But the problem is that the default settings for LGZ are wrong, or something else, but Landis+Gyr E650, according to map110 and map120 app, Landis uses
following client addresses
Access Levels for IEC and dlms
-------------------------------UID---Password---Comment
[0] Public Access--------------16
[1] Data Collection------------32---xxxxxxxx---(static)
[2] Utility Field Service--------48---xxxxxxx---[Coded password]
[3] Utility Service--------------64--------------- Service Menu required
[4] Extended Utility Service---80--------------- Hardware Switch required
Access Level for dlms only
[5] Extended Consumer------17---xxxxxxxx---(static)
[6] Remote Data Collection---18---xxxxxxxx---(static)
[7] Remote Service-----------19---xxxxxxxx---[no password/static/coded]
Access Level for Security System Modification (dlms only)
[A] Utility Defined-------------22----------------[no password/static/coded]
[C] Read Administrator-------96---xxxxxxx----(coded) - Harware Switch required
[D] Utility Administrator-------97---xxxxxxx----(coded) - Harware Switch required
[E] Distributor Service--------100--xxxxxxx----(coded) - Harware Switch required
User Defined Access Level
[X] User Defined--------------xx---xxxxxxx------[no password/static/coded]
But OK
I'll rewrite GXCommunicatation for my needs.
Paremeters are not used, default instead
Hi,
This is a big problem because DLMS standard don't define client's IDs and different meters are
using different values.
As project name says this is an example and it's a starting point how to read your meter.
I believe that you are not interested to read all your values from the meter.
Happy coding.
BR,
Mikko
Hi Ivan, Mikko
Hi Ivan, Mikko
Can you share your email to share screen shots of the problem I am facing?
I don't know how
According to this rule
http://www.gurux.fi/node/4099
I'm not sure how.
There is no option private message.
Private messages.
Hello,
Private messages are not allowed at the moment. It's blocked because all peoples don't want to receive emails from unknown people.