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. Forums
  3. I Can't Connect Elster A1800 With GXDLMSDirector Via RS232

I Can't connect Elster A1800 with GXDLMSDirector via RS232

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 nikorn , 29 September, 2020
Forums
Gurux.Serial

Hello
We have elster A1800 Alpha Model A1830RALN s150 with 1xRS485 and 1xRS232
Serial Number ZE3NR4CR1LM-61
3x220/380, 50 Hz. There are name plate show that dlms COSEM compliant.
In the past, when install meter with metercat. Meter ID was s serial number.
However we do not have metercat software and information of meter.

Now we would like to read data in meter via RS232. We found your software Gurux GXDLMSDirector.
We try to test on both our PC running on Window10. We have connected our PC to Elster A1800 via USB to RS232 (try both way RS232 straight cable and RS232 cross over cable). By both cable way we do not be able to read meter by using GXDLMSDirector.

Also we try by using Raspberry Pi4 (we use your Gurux DLMS source code for Python) and We have connected our Raspberry Pi4 to Elster A1800 via USB to RS232 (try both way RS232 straight cable and RS232 cross over cable). By both cable way we do not be able to read meter by Gurux DLMS source code for Python.

We do need your help to suggest us how to configuration of Gurux GXDLMSDirector or your Gurux DLMS source code for Python to be able to read elster A1800 Alpha Model A1830RALN s150.
And what RS232 cable type to connect from PC/Raspberry Pi to Meter? (straight cable or cross over cable)

Thank you.

Profile picture for user Kurumi

Kurumi

5 years 8 months ago

Hi,

Hi,

I believe that one of your settings is wrong and the meter doesn't reply because of that.

Have you select Elster as a meter manufacturer in GXDLMSDirector and try to read with default settings?
Change start protocol from IEC to DLMS if you are using the serial port connection.

BR,
Mikko

nikorn

5 years 8 months ago

Hello Mikko,

Hello Mikko,

Thank you for answer. Now I success to read Elster A1800 via python but I found another problem please you see log in below.

1. when i put command in linux $ sudo python main.py -S /dev/ttyUSB0:19200:8None1
Respond fast and show value, Ok it work.

2.But when i put command in linux $ sudo python main.py -S /dev/ttyUSB0:19200:8None1 -c 17 -s 1 -a Low -P 00000000000000000000 -g "1.1.XX.X.X.255:2"
Waiting time for respond more than 50s and show value

1.I need to know that how I way modify it response time less than 10-20s ?, If I not authentication will read just client address, MeterID, but I'm not need I need to authentication it for read value volt, current, in meter

please you suggestion for me thank you.

Profile picture for user Kurumi

Kurumi

5 years 8 months ago

Hi,

Hi,

I believe that the reason for this is that the association view is read. Try to add -o parameter. Like:
-o C:\\device.xml

The first read it slowly, but the next should be fast because the association view is saved to the file and it does not need to read again.

BR,
Mikko

nikorn

5 years 8 months ago

Hello Mikko,

Hello Mikko,

Thank you very much I will test and let to you know, But today I write all parameter in file main.py and run it. Not put directly on terminal if I write just -S /dev/ttyUSB0:19200:8None1 it can read normally But if I write -S /dev/ttyUSB0:19200:8None1 -c 17 -s 1 -a Low -P 00000000000000000000 -g "1.1.XX.X.X.255:2" will found this error below.

Traceback (most recent call last):
raise e
TimeoutException: Failed to receive reply from the device in given time.

with
GXDLMSException: Access Error : Unknown error.

Thank you.

Profile picture for user Kurumi

Kurumi

5 years 8 months ago

Hi,

Hi,

If your meter doesn't reply then the reason is that your client address is wrong.

BR,
Mikko

nikorn

5 years 8 months ago

Hello Mikko,

Hello Mikko,

Thank you for ask me. Now I can pass error "Failed to receive reply from the device in given time." already. But I found error another problem instead.

When I test put parameter -t Verbose it response TX RX more than 100 line and show error

Example log.
TX: 12:26:19 7E A0 19 03 23 9C AB A7 E6 E6 00 C0 01 C1 00 03 01 01 03 08 02 FF 03 00 1F DF 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 12:26:34
TX: 12:26:34 7E A0 19 03 23 BE BB A5 E6 E6 00 C0 01 C1 00 03 01 01 03 08 03 FF 03 00 A4 C3 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3

I want to send full log to you in email you can provide your email for me?

Thank you.

Profile picture for user Kurumi

Kurumi

5 years 8 months ago

Hi,

Hi,

Try to use -o parameter. It'll save the association view to the file. Let's see if it will solve your problem.
The first read is slow, but the second is faster.

BR,
Mikko

nikorn

5 years 8 months ago

Hello Mikko,

Hello Mikko,

This link below is full log error when I put command python main.py -S /dev/ttyUSB0:19200:8None1 -c 17 -s 1 -a Low -P 00000000000000000000 -t Verbose via linux

"https://drive.google.com/file/d/1x_CtmmgRiDqvntLqH6alU-VGkXBv9k3o/view&…;

And when I see that display of Meter, I found it show "com 2" hold But when log start stamp error Data send failed. Try to resend 1/3 then "com 2" at the display meter missing

I think that if com2 missing it mean meter disconnect from linux

Please you help me

thankyou.

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi,

Hi,

I check the log and it seems that the meter stops responding. Check that you have the latest meter firmware in use.

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