4:15:15 Initializing serial connection.
System.IO.IOException: De poort COM24 bestaat niet.
bij GXDLMSDirector.GXDLMSDevice.InitializeConnection() in C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:regel 384
bij GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:regel 929
4:15:27 Initializing serial connection.
4:15:27 HDLC sending:/?!<CR><LF>
4:15:28 HDLC received: /ISK5\2MT382-1008<CR><LF>
4:15:28 BaudRate is : 9600
4:15:28 Moving to mode E.
06 32 35 32 0D 0A
4:15:29 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
4:15:34 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
bij GXDLMSDirector.GXDLMSDevice.InitializeConnection() in C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:regel 384
bij GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:regel 929
Any suggestions welcome
(cables seem to work with other test software)
I will solder myself during the day one with FTDI chipset. Anyone can tell me the chipset inside the probe from working setup? That might help me...
so I had some spare time this weekend and decided to look again at these meters.
Because I had 2 identical MT382 meters I decided to offer one in the name of "science", desolderd modem, MCU, and some ramtron to see "whats inside", traced back some pins from the modem and found a way to sniff its traffic between modem <--> mcu result is here:
youtube: /watch?v=xa9mQI4cPEY (this forum does not like youtube links, cannot post correct link)
It seems I can get inside any meter I have, but not via the official way. Is there anyone here that can sell/rent/borrow , or willing to configure my meter with working parameters? (i only have old version of offical meterview wich not supports mt382)
Can also exchange for a firmware bin's wich I extracted from various meters the last months (have BIN's for ME382, MT171, MT162, MK7E E350)
In your first post you said that you are using optical eye. In the video you are using terminal connection. Did you succeeded to make connection using optical eye?
We have few MT382. :-) but we can't give them away, because they are the property of the customer. :-(
I have an optical eye, but can only get errors like:
4:15:27 Initializing serial connection.
4:15:27 HDLC sending:/?!<CR><LF>
4:15:28 HDLC received: /ISK5\2MT382-1008<CR><LF>
4:15:28 BaudRate is : 9600
4:15:28 Moving to mode E.
06 32 35 32 0D 0A
4:15:29 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
4:15:34 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
We have made few changes. Most important is that serial port is not closed if moved to mode E. This seems to work better for some optical strobes. Start GXDLMSDirector and it updates new version after you restart it. Please, let me know if this solves your problem.
I installed the new version, log is down this post.
If I add a new connection, using "serial iskra initial settings" it should be client adress 64, physical server 11 , once I save the new connection setting the settings in the "device tree" main window are : phycical 17 client 100 , would it matter?
13:24:10 Initializing serial connection.
13:24:10 01:24:10.783 Info Opening
13:24:10 01:24:10.786 Info Serial Port Settings: Port Name: COM3 Baud Rate: 300 Data Bits: 7 Parity: Even Stop Bits: One Eop: None
13:24:10 01:24:10.823 Info Open
13:24:10 HDLC sending:/?!<CR><LF>
13:24:10 01:24:10.824 Sent 2F 3F 21 0D 0A
13:24:11 01:24:11.052 Received 2F
13:24:11 01:24:11.084 Received 2F
13:24:11 01:24:11.118 Received 49
13:24:11 01:24:11.151 Received 53
13:24:11 01:24:11.184 Received 6B
13:24:11 01:24:11.218 Received 35
13:24:11 01:24:11.251 Received 5C
13:24:11 01:24:11.284 Received 32
13:24:11 01:24:11.318 Received 4D
13:24:11 01:24:11.351 Received 54
13:24:11 01:24:11.384 Received 33
13:24:11 01:24:11.418 Received 38
13:24:11 01:24:11.451 Received 32
13:24:11 01:24:11.484 Received 2D
13:24:11 01:24:11.518 Received 31
13:24:11 01:24:11.551 Received 30
13:24:11 01:24:11.584 Received 30
13:24:11 01:24:11.618 Received 38
13:24:11 01:24:11.651 Received 0D
13:24:11 HDLC received: /ISk5\2MT382-1008<CR><LF>
13:24:11 BaudRate is : 9600
13:24:11 Moving to mode E.
06 32 35 32 0D 0A
13:24:11 01:24:11.652 Sent 06 32 35 32 0D 0A
13:24:11 01:24:11.912 Received 7E
13:24:12 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
13:24:12 01:24:12.267 Sent 7E A0 08 02 23 C9 93 E4 43 7E
13:24:17 Failed to receive reply from the device in given time.
13:24:17 01:24:17.267 Sent 01 42 30 03 0D 0A
13:24:22 01:24:22.267 Info Closing
13:24:22 01:24:22.281 Info Closed
I think that problem is optical strobe, not the meter.
Changing baud rate and Parity will make the issue. What optical strobe you are using (Manufacturer and model)?
Direct usb not possible, it would always need some converter chip inside, anyway I have both, usb and RS232 eye for direct connection to a real comport SUBd9
I checked the kamstrup driver package, it seems it has CP21xx converterchip inside. I have eyes with this chip
Could you check your PID/VID from your kamstrup USB cable? Start --> configuration --> system --> hardware devices ---> comport ---> properties , according to the driver package it should be USB\VID_17A8&PID_0005 or/ USB\VID_17A8&PID_0001
Yes, there is a chip inside. Reason why I was asking this is that when we added support for Android and tested serial port with different USB converters and there are some Chinese dongles that do not work wery well if you change baud rate.
Send this info to me by email. Our Spam policy is tight because we are receiving quite a lot of spam. :-(
That is causing extra work and sometimes we miss forum questions.
We have tested your USB optical probe. Windows 10 can identify it, but it's shown as USB to UART Bridge Controller. Is there driver what we need to install to show this as serial port?
for download, but I tink could also use kamstrup drivers (choose driver self, and point to kamstrup directorty) as kamstrup seems to use also cp210x chipset in their eye
We can now see your optical probe as Kamstrup USB Controller but communication fails.
We try to read with Kamstrup meter where DLMS is starting protocol. Serial port settings are: 8N1.
I'll get camera with me tomorrow so I can check is probe sending anything.
We have tested with optical probe you send using Kamstrup and Iskra meters. There is something wrong in optical probe. When we try to make connection using this probe, we can't make connection with any probe after that. It seems that it does something for the meter's communication.
Can you read your meter with this probe what you sent?
I'm trying to connect to ME382 via SIM Card with this configuration and I'm always getting this error
10:58:46 Initializing Network connection.
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
Cannot get any connection to ME382
Hi,
You are using IEC 62053-21 to read your Iskra meter. GXDLMSDirector is using DLMS. They are two different protocol.
Your settings seems to be ok. Just to make sure there is DLMS label on your meter?
BR,
Mikko
ME382
Hi,
It seems that there are versions from ME382 that require that ServiceClass is set.
cl.ServiceClass = ServiceClass.Confirmed;
If service class is not set, meter returns nothing.
Meters what we are reading do not require that service class is set, but we was start to read new meters for our client and we found this.
BR,
Mikko
so I had some spare time this
so I had some spare time this weekend and decided to look again at these meters.
Because I had 2 identical MT382 meters I decided to offer one in the name of "science", desolderd modem, MCU, and some ramtron to see "whats inside", traced back some pins from the modem and found a way to sniff its traffic between modem <--> mcu result is here:
youtube: /watch?v=xa9mQI4cPEY (this forum does not like youtube links, cannot post correct link)
It seems I can get inside any meter I have, but not via the official way. Is there anyone here that can sell/rent/borrow , or willing to configure my meter with working parameters? (i only have old version of offical meterview wich not supports mt382)
Can also exchange for a firmware bin's wich I extracted from various meters the last months (have BIN's for ME382, MT171, MT162, MK7E E350)
MT382
Hi Raoul,
In your first post you said that you are using optical eye. In the video you are using terminal connection. Did you succeeded to make connection using optical eye?
We have few MT382. :-) but we can't give them away, because they are the property of the customer. :-(
What is meter's firmware?
BR,
Mikko
I have an optical eye, but
I have an optical eye, but can only get errors like:
4:15:27 Initializing serial connection.
4:15:27 HDLC sending:/?!<CR><LF>
4:15:28 HDLC received: /ISK5\2MT382-1008<CR><LF>
4:15:28 BaudRate is : 9600
4:15:28 Moving to mode E.
06 32 35 32 0D 0A
4:15:29 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
4:15:34 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
Cannot get any connection to ME382
Hi,
I have one question to ask. Is there DLMS label on the cover of your ME382 meter?
BR,
Mikko
Yes It has dlms logo
Yes It has dlms logo
ME382
Hi,
We have made few changes. Most important is that serial port is not closed if moved to mode E. This seems to work better for some optical strobes. Start GXDLMSDirector and it updates new version after you restart it. Please, let me know if this solves your problem.
BR,
Mikko
Hi Mikko,
Hi Mikko,
I installed the new version, log is down this post.
If I add a new connection, using "serial iskra initial settings" it should be client adress 64, physical server 11 , once I save the new connection setting the settings in the "device tree" main window are : phycical 17 client 100 , would it matter?
13:24:10 Initializing serial connection.
13:24:10 01:24:10.783 Info Opening
13:24:10 01:24:10.786 Info Serial Port Settings: Port Name: COM3 Baud Rate: 300 Data Bits: 7 Parity: Even Stop Bits: One Eop: None
13:24:10 01:24:10.823 Info Open
13:24:10 HDLC sending:/?!<CR><LF>
13:24:10 01:24:10.824 Sent 2F 3F 21 0D 0A
13:24:11 01:24:11.052 Received 2F
13:24:11 01:24:11.084 Received 2F
13:24:11 01:24:11.118 Received 49
13:24:11 01:24:11.151 Received 53
13:24:11 01:24:11.184 Received 6B
13:24:11 01:24:11.218 Received 35
13:24:11 01:24:11.251 Received 5C
13:24:11 01:24:11.284 Received 32
13:24:11 01:24:11.318 Received 4D
13:24:11 01:24:11.351 Received 54
13:24:11 01:24:11.384 Received 33
13:24:11 01:24:11.418 Received 38
13:24:11 01:24:11.451 Received 32
13:24:11 01:24:11.484 Received 2D
13:24:11 01:24:11.518 Received 31
13:24:11 01:24:11.551 Received 30
13:24:11 01:24:11.584 Received 30
13:24:11 01:24:11.618 Received 38
13:24:11 01:24:11.651 Received 0D
13:24:11 HDLC received: /ISk5\2MT382-1008<CR><LF>
13:24:11 BaudRate is : 9600
13:24:11 Moving to mode E.
06 32 35 32 0D 0A
13:24:11 01:24:11.652 Sent 06 32 35 32 0D 0A
13:24:11 01:24:11.912 Received 7E
13:24:12 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
13:24:12 01:24:12.267 Sent 7E A0 08 02 23 C9 93 E4 43 7E
13:24:17 Failed to receive reply from the device in given time.
13:24:17 01:24:17.267 Sent 01 42 30 03 0D 0A
13:24:22 01:24:22.267 Info Closing
13:24:22 01:24:22.281 Info Closed
perhaps I can send you one
perhaps I can send you one meter so we know once and for all whats happeing?
serial iskra initial settings
Hi Raoul,
I think that problem is optical strobe, not the meter.
Changing baud rate and Parity will make the issue. What optical strobe you are using (Manufacturer and model)?
BR,
Mikko
I have 3 different models
I have 3 different models (different chipsets) and one self made. Can you tell me wich brand you have? ill simply buy that.
I have 3 different models
Hi,
I'm just reading Iskra ME371-1010 with Kamstrup Infrared Optical Reading Head.
This is USB head.
And now I have to ask are you using direct USB connection or do you have
USB to serial port converter and then you have RS-232 optical eye?
BR,
Mikko
Direct usb not possible, it
Direct usb not possible, it would always need some converter chip inside, anyway I have both, usb and RS232 eye for direct connection to a real comport SUBd9
I checked the kamstrup driver package, it seems it has CP21xx converterchip inside. I have eyes with this chip
Could you check your PID/VID from your kamstrup USB cable? Start --> configuration --> system --> hardware devices ---> comport ---> properties , according to the driver package it should be USB\VID_17A8&PID_0005 or/ USB\VID_17A8&PID_0001
this is log using CP21xx
this is log using CP21xx converter chip with Kamstrup driver package, it seems to give some more now as with the standaard CP21xx drivers
(tried to post log but get "invalid characters" (this forum spam control software very hard to post anything)
Direct usb not possible
Hi,
Yes, there is a chip inside. Reason why I was asking this is that when we added support for Android and tested serial port with different USB converters and there are some Chinese dongles that do not work wery well if you change baud rate.
Vendor and product IDs are ; 17A8 and 1.
BR,
Mikko
CP21xx
Hi,
Send this info to me by email. Our Spam policy is tight because we are receiving quite a lot of spam. :-(
That is causing extra work and sometimes we miss forum questions.
BR,
Mikko
you received the cable?
you received the cable?
cable
Hi,
Yes, it come on Friday. We'll try with that on Monday.
BR,
Mikko
Oh good to know. was not sure
Oh good to know. was not sure if it arrived.
i think it has something to do with RTS/DTR settings.
CP21xx
Hi,
We have tested your USB optical probe. Windows 10 can identify it, but it's shown as USB to UART Bridge Controller. Is there driver what we need to install to show this as serial port?
BR,
Mikko
https://www.silabs.com
https://www.silabs.com/products/development-tools/software/usb-to-uart-…
for download, but I tink could also use kamstrup drivers (choose driver self, and point to kamstrup directorty) as kamstrup seems to use also cp210x chipset in their eye
CP21xx
Hi,
We can now see your optical probe as Kamstrup USB Controller but communication fails.
We try to read with Kamstrup meter where DLMS is starting protocol. Serial port settings are: 8N1.
I'll get camera with me tomorrow so I can check is probe sending anything.
BR,
Mikko
Cannot get any connection to ME382 (or other DLMS meters)
Hi,
We have tested with optical probe you send using Kamstrup and Iskra meters. There is something wrong in optical probe. When we try to make connection using this probe, we can't make connection with any probe after that. It seems that it does something for the meter's communication.
Can you read your meter with this probe what you sent?
BR,
Mikko
https: //printplaat. nl
https: //printplaat. nl/Test1107pack.rar
always seems to work. Also, Original ISKRA software (Meterview) works
I think it has something to do with DTr/RTS settings.
Cannot get any connection to ME382 (or other DLMS meters)
Hi,
We have used Kamstrup driver. We'll try with this.
BR,
Mikko
just bought a 6699-099
just bought a 6699-099 original kamstrup cable, this is ok?
with settings suggested
with settings suggested somewhere in this forum
Start protocol: IEC
Media: Serial
Authentication: None
Logical Name Referencing: Yes
Pwd: <blank>
Wait time: 5
Client Address: 10
Address type: Default
Physical Server: 11
Logical Server: 1
Action, SelectiveAccess, Set, Get, MultipleReferences, BlockTransferWithAction, BlockTransferWithSetOrWrite, BlockTransferWithGetOrRead, GeneralProtection
Access Error: Device reports Read-Write denied.
I do get a whole list of items, but cannot change anyting.
ME382
Hi,
You must change Authentication to Low.
With Authentication None you can only read the meter.
BR,
Mikko
ME381 newly boxed standaard
ME381 newly boxed standaard pw 00000000? (ascii)
it seems I cannot connect with password.
(when I press "connect" without pw set, "comformance" changes to Action, SelectiveAccess, Set, Get, MultipleReferences, BlockTransferWithAction, BlockTransferWithSetOrWrite, BlockTransferWithGetOrRead
When I set pw, it will not even connect "comformance" - this would be typical when pw wrong?
any hints welcome.
ME382
Hi,
ME382 default password is "12345678" as ASCII.
BR,
Mikko
Ok ME382 connects (IEC, cl 10
Ok ME382 connects (IEC, cl 10 , pys 11 log 1, pw12345678)
No errors on loading.
Is it possible to change for example clock? its seems not editable , or edit autoconnect setup ?
ME382
Hi,
Connect using Low authentication and then refresh meter. You can now change those settings.
BR,
Mikko
"access error, device reports
"access error, device reports a unavaileble object" when I try to change something.
ME382
Hi,
Did you select Refresh under File menu after connection?
What you try to write?
Can you send trace to me by email?
BR,
Mikko
I'm trying to connect to
I'm trying to connect to ME382 via SIM Card with this configuration and I'm always getting this error
10:58:46 Initializing Network connection.
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
Hi,
Hi,
This is a socket error. Your IP address or port number is wrong.
BR,
Mikko