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. Landys+gyr CU-P42

Landys+gyr CU-P42

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 kxmx , 5 December, 2016
Forums
General discussion

Hello guys, do you have experience with communication unit CU-P42 https://www.prodemel.es/manuales/LANDIS_GYR_CU-P4X-datos-tecnicos.pdf connected to Landys+gyr e650? There are some mysterious at commands before data communication. Do you have datasheets for this modem?

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Landys+gyr CU-P42

Hi,

We have read CU-P42 for a long time for one of our clients. If I remember right and you are using Map120, there are set some modem settings first. Those are AT commands what are sent.
Post that data here if you need help. Please, do not post all data, just those AT commands.

BR,

Mikko

kxmx

9 years 6 months ago

log

I have log from application vdewsrv.exe 3.5.7.11:

Baud:2400 DataBits:7 Parity:Even StopBits:1

Transmit: ATE0V1X3[0D]
Receive: [0D][0A]

Transmit: ATDT732[0D]
Receive: OK[0D][0A][0D][0A]CONNECT[20]2400[0D][0A]

and now iec62056

Transmit: /?![0D][0A]
Receive: /LGZ3\2ZMD4104407.B14[0D][0A]
...

Without right at commands I get damaget some data, look at the first two lines from register:

\x82\xc6.\xc6(00000000\xa9\x8d\n0.0.0(5\xb1\xb29\xb43\xb2\xb4\xa9\x8d\n

Instead [02]F.F(00000000)\r\n i got [82][c6].[c6](00000000[a9][8d]\n

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Landys+gyr CU-P42

Hi,

ATE0V1X3 is init command. after that you call (ATDT) to number 732.

Are your serial port settings same? Because this might be the problem.
If I remember right you should use 9600 or 4800 8N1.

BR,

Mikko

kxmx

9 years 6 months ago

tcp/ip initialization

I'm doing it all wrong. This AT commands are for dial-up connection, but I use tcp/ip. All what I need to know, is how to make initialization for tpc/ip.

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

tcp/ip initialization

Hi,

If you are using TCP/IP connection you do nothing. Just give correct port and IP address. Make sure that module is enabled. You can access module with GXDLMSDirector using optical eye or serial port if you change logical server from zero to one.

BR,

Mikko

kxmx

9 years 6 months ago

I know, modem it should be

I know, modem it should be transparent terminal to the meter, but if I do this:

-> b'/?!\r\n'
<- b'\xaf\xccGZ5\\\xb2ZMD3\xb10\xb4\xb409.B3\xb2\x8d\n'
-> b'\x06050\r\n'
<- b'\x82\xc6.\xc6(00000000\xa9\x8d\n0.0.0(5\xb1...

my data is broken.

Now I do not have access to dlms director, I'll try it later.

kxmx

9 years 6 months ago

Ok I have emeter back and

Ok I have emeter back and look at this.

If I set protocol IEC + "use serial port through ethernet" dlms director has same issue

9:23:50 HDLC sending:/?!<CR><LF>
9:23:50 09:23:50.460 Sent 2F 3F 21 0D 0A
9:23:53 09:23:53.022 Received AF CC 47 5A 35 5C B2 5A 4D 44 33 B1 30 B4 B4 30 39 2E 42 33 B2 8D 0A
9:23:53 HDLC received: ��GZ5\�ZMD3�0��09.B3��<LF>

but without "use serial port through ethernet" communication works properly

9:24:04 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
9:24:04 09:24:04.819 Sent 7E A0 07 03 21 93 0F 01 7E
9:24:05 09:24:05.413 Received 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
9:24:05 Received data
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
9:24:05 Parsing UA reply.<CR><LF>81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01
9:24:05 Parsing UA reply succeeded.
...

what is this? incorrectly adjusted electrometer?

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

tcp/ip initialization

Hi,

"Use serial port through ethernet" is used if you have TCP/IP to serial port converter. Example Moxa. Do not select that.

BR,

Mikko

newman

9 years 3 months ago

In reply to Ok I have emeter back and by kxmx

Hi,

Hi,
if you meant this strange data(I get them over TCP/IP + IEC):
AF CC 47 5A 35 5C B2 .....

It's because encoding of 7bit with parity. Make logical 'AND' for each character, ex:
'AF' & 0x7F => '2F', and 2F is '/' character you expected.
newman

Jackay

9 years 1 month ago

Hello Guys!

Hello Guys!

Can yo please help me with Landis Gyr E550 energy meter communicating over RS485 serial port on DLMSDirector?

Regards
Jack

Profile picture for user Kurumi

Kurumi

9 years 1 month ago

Dear Jack,

Dear Jack,

I have answered for your question here:
http://www.gurux.fi/comment/10206

Please, do not create multiple topics from same questions.
Also create own topic if you have question.

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