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.
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.
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.
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
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
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
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
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.
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
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.
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?
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
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
Hello Guys!
Hello Guys!
Can yo please help me with Landis Gyr E550 energy meter communicating over RS485 serial port on DLMSDirector?
Regards
Jack
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