Skip to main content
Home
for DLMS smart meters

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

10 months 1 week 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

10 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.

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 06/19/2025 - 09:33
    Gurux.DLMS.Python 1.0.185
  • Wed, 06/18/2025 - 15:11
    Gurux.DLMS.Python 1.0.184
  • Wed, 06/18/2025 - 10:05
    Gurux.DLMS.Python 1.0.183
  • Wed, 06/18/2025 - 09:06
    GXDLMSDirector 9.0.2506.1801
  • Wed, 06/18/2025 - 08:41
    Gurux.DLMS.Net 9.0.2506.1801

New forum topics

  • Unable to read parameter values from Landis+Gyr E550 meter using GXDLMSDirector - NoAccess status
  • data.SetComplete(false); But all data recieved
  • Crash (endless loop)
  • Server is not able to download object list with maxPduSize 64 or 128 (or anything below 156-bytes PDU size)
  • Day profile action item add error (String is not recognized as valid DateTime value)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin