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. Gurux Dlms Ansi C Multi Drop Communication

gurux dlms ansi c multi drop communication

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 raghavendra , 27 March, 2019
Forums
Gurux.DLMS

Hi sir,

Presently i want to read multiple energy meters using rs485. how i can achieve .as per my understanding using server address i can read mutiplemeters but if both meters server address same than i want to change server address. any function is there in ansi c code to read and set server id. i searched in stack but i am not able to get any function please tel me how to do i am hopefully waiting for you replay sir.

Regards,
Raghavendra

Profile picture for user Kurumi

Kurumi

7 years 4 months ago

Hi Raghavendra,

Hi Raghavendra,

You need to count server address from the serial number. Formula is : 0x4000 | SN % (10000 + 1000).

BR,

Mikko

raghavendra

7 years 4 months ago

In reply to Hi Raghavendra, by Kurumi

Gurux dlms ansi c profile generic

Hi sir,
How to use this formula. where i want use i dont understand anything . I am new for this concept.please briefly explain me how to do muli drop using rs485 . What are the ansi c functions i want to use to make mutidrop

Regards,
Raghavendra

Profile picture for user Kurumi

Kurumi

7 years 4 months ago

Hi Raghavendra,

Hi Raghavendra,

You communicate as with one meter. You just change server address from 1 to serial number.

You count server address using this formula:

0x4000 | [Server address] % (10000 + 1000).

BR,
Mikko

raghavendra

7 years 3 months ago

In reply to Hi Raghavendra, by Kurumi

gurux dlms ansi c multi drop communication

Hi sir,

Thank you so much your replay.i am trying to change server address using this formula .

Regards,
Raghavendra

raghavendra

7 years 3 months ago

In reply to Hi Raghavendra, by Kurumi

gurux dlms ansi c multi drop communication

Hi sir,

Using this formula how i can set server address.i want to send request to meter to set server address?. there is any functions is there in ansi c dlms code to set server address?

Regards,
Raghavendra.B

Profile picture for user Kurumi

Kurumi

7 years 3 months ago

Hi,

Hi,

con.settings.serverAddress = server address;

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More

Who's new

  • dermida
  • Justinpeent
  • cYzhesWhQAIeYenRgH
  • MLWGzTbGsyBIaJ…
  • Rolling-Slots-PL
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin