Communicating with Secure Saral over DLMS using pyhon

2 posts / 0 new
Last post
anildhyani82
Communicating with Secure Saral over DLMS using pyhon

Hi,

I am trying to communicate with Secure Saral meter using Gurux client library . Interface used is Serial.

Mikro Usb on Meter to Db9. Parameters i used are following:

a) Server Address : 3
b) Client Address : 32
c) Password : ABCD0001
d) Type of Addressing : Logical
e) Logical Server : 1
f) Authentication Type : Low

Tried with different possible combinations but no success.

It tries to send SNRM packet and gets failed over there. Basically timeout happens . So i am not sure why this is happening. Has any one worked / communicated with this meter.

GXDLMSDirector 8.1.2012.1701
Log created 20:09:40
20:09:44 Initializing serial connection.
20:09:44 08:09:44.366 Info Opening
20:09:44 08:09:44.366 Info Serial Port Settings: Port Name: COM4 Baud Rate: 9600 Data Bits: 8 Parity: None Stop Bits: One Flow Control: None Eop: None
20:09:44 08:09:44.369 Info Open
20:09:45 Send SNRM request.
7E A0 08 02 03 23 93 36 54 7E
20:09:45 08:09:45.370 Sent 7E A0 08 02 03 23 93 36 54 7E
20:09:45 08:09:45.384 Received 7E A0 08 02 03 23 93 36 54 7E
Data send failed. Try to resend 1/3

I have tried using DLMS director GUI utility also but results are same.

Looking for some valuable inputs.
Thanks

Kurumi
Kurumi's picture

Hi,

Try to change server address to 1. You are receiving an echo from the serial port. Check also your serial port settings from the meter documentation.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi