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 11 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 11 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

  • 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
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin