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. Node
  3. 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

2 years 2 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

2 years 2 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, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin