Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Communicating With Multiple Dlms Meters Via a Single Line Rs485

Communicating with multiple dlms meters via a single line rs485

Forum Rules

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.

By mateuszn , 18 January, 2019
Forums
General discussion

Hello, I have a few meters on a single rs485 line and I'm trying to read them via dlms protocol. I know that I have to provide something called lower physical address somewhere but I do not know where to excatly and how can I obtain it from the meter. I have three Landys Gyr meters, /LGZ5\2ZMD4104459.B30, which I know can be read both by IEC and DLMS.
There are two functions in java gurux library which I presume are the key to the communication in this use case:
public final void setServerAddress(final int value) {
settings.setServerAddress(value);
}
and
public final void setClientAddress(final int value) {
settings.setClientAddress(value);
}

Thank you
Mateusz Nowak

mateuszn

7 years 4 months ago

So, after spending good

So, after spending good portion of the day trying to find the answer I'm still clueless about how to calculate server address. I've encountered many formulas and different ideas yet neither of them worked.
My meter's physical device is 96832214, first formula I found is physical address % 10000 + 1000 which gives me 3124. By default client.getPhysicalAddress() gives decimal 16 and client.getServerAddress() gives 1. Setting GXDlmsClient client.setServerAddress(3124) does me no good. Since this particular meter is the only one on the wire it responds when left with default server address.

Any further ideas in this case?

Thanks

pran0506

7 years 4 months ago

How to communication dlms meter over rs485interface

Hello,
I m new for dlms protocol and dlms meter also.i dont no more than basics.
I have to interface APEX 100 secure meter using port Ethernet (Modbus and DLMS over TCP/IP) for on line monitoring.
I dont even how to start.
Please guide me..Thanks

Profile picture for user Kurumi

Kurumi

7 years 4 months ago

How to communication dlms meter over rs485interface

Hi,

If you have new question create a new topic. I have answered for your question here:
http://www.gurux.fi/node/13146
BR,
Mikko

Profile picture for user Kurumi

Kurumi

7 years 4 months ago

Communicating with multiple dlms meters via a single line rs485

Hi Mateusz,

You don't need to change the client address. Only server address matters. First, try to connect using server address 1. Is any of the meters replying?

Then Try to set server address like this:
cl.setSerVerAddress(GXDLMSClient.GetServerAddress(96832214));

BR,

Mikko

mateuszn

7 years 4 months ago

Thank you Sir and sorry for

Thank you Sir and sorry for wasting your time, I should have find it myself.
Everything works well now.

Mateusz

Profile picture for user Kurumi

Kurumi

7 years 4 months ago

Communicating with multiple dlms meters via a single line rs485

Hi Mateusz,

Don't worry, but thank you for letting me know that this is solved.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin