Good day.
We have several Iskraemeco MT831 meters connected in series to Moxa NPort 5130 via RS-485 interface. Our goal is to read the meters using Gurux.DLMS.Python but I don't understand what should I use as client address because MT831 meters do not have a regular client's address (100.1.*) but only serial number like 35765342.
I tried to use this command "python main.py -h 192.168.209.11 -p 4001 -a Low -P 12345678 -n 35765342 -t Verbose" but got an error
gurux_dlms version: 1.0.143
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: Authentication.LOW
ClientAddress: 0x10
ServerAddress: 0x58c6
Standard: Standard.DLMS
TX: 20:33:06 7E A0 0A 00 02 62 8D 21 93 46 CE 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 20:33:21
DisconnectRequest
Traceback (most recent call last):
File "main.py", line 112, in main
reader.readAll(settings.outputFile)
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 532, in readAll
self.initializeConnection()
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 306, in initializeConnection
self.readDLMSPacket(data, reply)
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 118, in readDLMSPacket
self.readDLMSPacket2(data, reply)
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 169, in readDLMSPacket2
raise e
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 162, in readDLMSPacket2
raise TimeoutException("Failed to receive reply from the device in given time.")
gurux_common.TimeoutException.TimeoutException: Failed to receive reply from the device in given time.
Ended. Press any key to continue.
I have a few questions about this.
1. Is it possible to read MT831 meters using Gurux.DLMS.Python ?
2. If reading is possible how the correct parameters should look like ?
Hi, 1. Yes it is. You need…
Hi,
1. Yes it is. You need to set the correct parameters.
2. The client address should be 100 -c 100. Try to connect for the meter using optical probe. Then read the IEC HDLC Setup object and check what is the Device address. Then you need to use that device address using -s argument.
BR,
Mikko
try this params: python main…
try this params:
python main.py -h 192.168.209.11 -p 4001 -r sn -n 35765342 -w 1 -f 128 -t Verbose