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. Delphi Client Example

Delphi Client Example

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 progzero , 17 January, 2018
Forums
Gurux.DLMS

Hello. I compiled the example and decided to try to connect with the meter.

Parametrs:
Gurux.DLMS.Client.Example.Delphi.exe -r ln -c 48 -s 1 -h 192.168.1.115 -p 10005 -P 12345678 -a Low -C None

A connection error occurs. By log file it is clear that the address of the server takes 1 byte:
7E A0 07 03 61 93 69 47 7E

But my address should occupy 2 bytes and the command should look like this:
7E A0 08 22 03 61 93 B3 AE 7E

How to specify in the example the dimension of the server address? In the program GXDLMDirector, the dimension is not specified and it works correctly.

Thank you!

Profile picture for user Kurumi

Kurumi

8 years 4 months ago

Delphi Client Example

Hi,

Add client and server parameters:
-s 2177 -c 30

BR,

Mikko

progzero

8 years 4 months ago

In reply to Delphi Client Example by Kurumi

Delphi Client Example

I've already tried, not connection:

Connected.
Send SNRM request:
Disconnecting from the meter.
Error! Source addresses do not match. It is 1. It should be 2177.

But in log file correct request:
<- 10:50:51\t7E A0 08 22 03 61 93 B3 AE 7E

progzero

8 years 4 months ago

Delphi Client Example

Here is the answer:

7E A0 1F 61 22 03 73 59 F1 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

In debug:
server = false
index = 32
readLogical = 0
readPhysical = 1
logical = 17
physical = 1
source = 1
target = 48

Profile picture for user Kurumi

Kurumi

8 years 4 months ago

Delphi Client Example

Hi,

We have found an issue if address size is two bytes.
http://www.gurux.fi/node/6576

It's now fixed. Get the latest version.

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