But the interface can't be changed to IEC (Options are HDLC, HdlcWithModeE and WRAPPER). I've tried to change the settings, but the error "Failed to receive reply from the device in given time" keeps showing up.
Are you getting any reply from the meter? Select "View", "Log" and "View Log". It will show communication transactions between the client and the meter.
I Don't think so, I tried to connect without and with the optical probe connected and it seems to have the same result.
Log:
GXDLMSDirector 8.2.2205.1801
Log created 15:50:30
15:50:36 Initializing serial connection.
15:50:37 IEC Sending:/?!<CR><LF>
15:50:47 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
em GXDLMSDirector.GXDLMSCommunicator.InitSerial()
em GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
em GXDLMSDirector.GXDLMSDevice.InitializeConnection()
em GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
15:54:24 Initializing serial connection.
15:54:25 IEC Sending:/?!<CR><LF>
15:54:35 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
em GXDLMSDirector.GXDLMSCommunicator.InitSerial()
em GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
em GXDLMSDirector.GXDLMSDevice.InitializeConnection()
em GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
The first thing that I can see is that the optical probe must be downward. Now it's not, and it can cause problems with the communication. I also can see that the meter is not powered, but maybe it's only when you did take the picture.
The main issue is that Iskra ME 172 is not supporting DLMS. It's using IEC 62056-21 also known as IEC 1107. The good thing is that it should reply for /?!<CR><LF> and give a readout right the way.
You need to try with different baudrates. Set serial port baudrate to 300 and Data bits: 7, Parity: Even and StopBits: 1. Then try to send /?!\r\n.
I went outside for better light. The meter is running correctly, and we're able to read measurements with another app (ZRobo) with this setup.
I've checked, but those settings were already being used. I've also tried to connect with different baudrates with no success... What else could be done?
You can't read the meter with GXDLMSDirector because it's not supporting DLMS, but the meter should reply for "/?!<CR><LF>". GXDLMSDirector sends this when you establish the connection using Mode E and you should get a reply where the meter identifies itself.
Do you see what serial port settings ZRobo is using?
Thank you for your prompt help Mikko. From our tests, it looks like we need to read measurements from meters that don't support DLMS. Would you be available for a private talk to discuss the possibility of another solution for your problem?
Yes, the meter doesn't support DLMS. You need to use IEC 62056-21 to read it. Yes, it's possible to talk privately. You can send an email to me and we can continue using email.
Hi,
Hi,
You need to change the interface from WRAPPER to HdlcWithModeE. Then connect again.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Grateful for your help. Unfortunately, the same error happens.
Hi,
Hi,
Are you getting any reply from the meter? Select "View", "Log" and "View Log". It will show communication transactions between the client and the meter.
BR,
Mikko
Hi,
Hi,
I Don't think so, I tried to connect without and with the optical probe connected and it seems to have the same result.
Log:
GXDLMSDirector 8.2.2205.1801
Log created 15:50:30
15:50:36 Initializing serial connection.
15:50:37 IEC Sending:/?!<CR><LF>
15:50:47 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
em GXDLMSDirector.GXDLMSCommunicator.InitSerial()
em GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
em GXDLMSDirector.GXDLMSDevice.InitializeConnection()
em GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
15:54:24 Initializing serial connection.
15:54:25 IEC Sending:/?!<CR><LF>
15:54:35 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
em GXDLMSDirector.GXDLMSCommunicator.InitSerial()
em GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
em GXDLMSDirector.GXDLMSDevice.InitializeConnection()
em GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
Hi,
Hi,
The meter should reply for /?!<CR><LF>. What is the meter model? Do you have a link for the technical-Description of the meter?
BR,
Mikko
Hi Mikko,
Hi Mikko,
The meter is an ISKRA M19 1376, as seen in the image. We don't have the technical description for it.
Thank you,
CM
Hi,
Hi,
The first thing that I can see is that the optical probe must be downward. Now it's not, and it can cause problems with the communication. I also can see that the meter is not powered, but maybe it's only when you did take the picture.
The main issue is that Iskra ME 172 is not supporting DLMS. It's using IEC 62056-21 also known as IEC 1107. The good thing is that it should reply for /?!<CR><LF> and give a readout right the way.
You need to try with different baudrates. Set serial port baudrate to 300 and Data bits: 7, Parity: Even and StopBits: 1. Then try to send /?!\r\n.
BR,
Mikko
Hi,
Hi,
I went outside for better light. The meter is running correctly, and we're able to read measurements with another app (ZRobo) with this setup.
I've checked, but those settings were already being used. I've also tried to connect with different baudrates with no success... What else could be done?
Thank you,
CM
Hi,
Hi,
You can't read the meter with GXDLMSDirector because it's not supporting DLMS, but the meter should reply for "/?!<CR><LF>". GXDLMSDirector sends this when you establish the connection using Mode E and you should get a reply where the meter identifies itself.
Do you see what serial port settings ZRobo is using?
BR,
Mikko
Hi,
Hi,
All I can see in the app is that it's at 300 baud rate.
Hi,
Hi,
Thank you for your prompt help Mikko. From our tests, it looks like we need to read measurements from meters that don't support DLMS. Would you be available for a private talk to discuss the possibility of another solution for your problem?
Thank you,
CM
Hi,
Hi,
Yes, the meter doesn't support DLMS. You need to use IEC 62056-21 to read it. Yes, it's possible to talk privately. You can send an email to me and we can continue using email.
BR,
Mikko