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. Connecting Metcom Meter Over IP Using DLMS (JAVA)

Connecting Metcom meter over IP using DLMS (JAVA)

By PRAKASH KUMAR , 14 August, 2024
Forums
Gurux DLMS for Java

Hi,
I am trying to connect a Metcom meter over IP and using the "java -jar gurux.dlms.client.example.java". I am passing the below parameters.

-h X.X.X.X -p 4059 -a LOW -P PPPPPPP -i HDLC -r sn -o output.xml -t Verbose -d DLMS

I am not getting any response back from meter. I have been exploring the DLMS implementation in JAVA and found this amazing place. I have spent few days to understand the GURUX API but need assistance here.

Log :-
Connect using network connection gurux.net.GXNet@7ab2bfe1
Authentication: Low
ClientAddress: 0x10
ServerAddress: 0x1
Standard: DLMS
TX: 13:30:18.100 7E A0 07 03 21 93 0F 01 7E
Data send failed. Try to resend 1/3
TX: 13:34:25.519 7E A0 07 03 21 93 0F 01 7E

Profile picture for user Kurumi

Kurumi

1 year 9 months ago

Hi, Our customers are using…

Hi,

Our customers are using Metcom meters so I believe that one of your settings is different than the meter expects. I have only Metcom meter available that supports serial port connection, so I can't check your TCP/IP connection.

Try with settings:

-h X.X.X.X -p 4059 -c 1 -s 255 -a LOW -P PPPPPPP -i HDLC

If it fails, try with this.

-h X.X.X.X -p 4059 -c 1 -s 1 -a LOW -P PPPPPPP -i WRAPPER

BR,
Mikko

PRAKASH KUMAR

1 year 9 months ago

Magic! The second command…

Magic!
The second command worked. As you suggested that the meter is expecting the different argument based on configuration. This is great start for me and surely our path will cross again.

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin