I am using the C code of gurux client which I have compiled without ant changes and trying to test with premier300 using USB converter to RJ11, RS232 but the basic communication itself not happening. Please see the below command and the meter even though it is a three phase I have connected only single Phase to the R terminal and the neutral, have not connected any load as of now.
sudo ./gurux.dlms.client.bin -S "/dev/ttyUSB0" -g "0.0.1.0.0.255:1" -t Verbose -P ABCD001 -a Low
sudo: unable to resolve host gopi
[sudo] password for lantronix:
InitializeConnection
TX: 7E A0 07 03 21 93 0F 01 7E
SNRMRequest failed Send failed.
All items are read.
The problem is in most cases on the cables. Our clients have read premier300 so I know it supports DLMS.
Check your cables. You can also try with GXDLMSDirector, but I believe that the problem is on the cables.
I have got the basic connection diagram and made it but still it is failing, Please see the logs below and I tried form GuruxDLMSdirector.
12:08:38 Send SNRM request.
TX: 7E A0 07 03 2D 93 AF A8 7E
12:08:43 Data send failed. Try to resend 1/3 7E A0 07 03 2D 93 AF A8 7E
12:08:48 Data send failed. Try to resend 2/3 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:53 Data send failed. Try to resend 3/3 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:58 Failed to receive reply from the device in given time. 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:58
RX: 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:58 Send Disconnect request.
TX: 7E A0 07 03 2D 53 A3 6E 7E
12:09:03 Data send failed. Try to resend 1/3 7E A0 07 03 2D 53 A3 6E 7E
12:09:08 Data send failed. Try to resend 2/3 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:13 Data send failed. Try to resend 3/3 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:18 Failed to receive reply from the device in given time. 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:18
RX: 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:19
Failed to receive reply from the device in given time.
12:09:19 Disconnect request
I tried with different values of baud rate from 9600 8N1 to 115200 8N1 and result is same. Could you please help me to fix this. Exactly am getting the same in Rx which I sent through Tx.
Hi Mikko,
the serial port settings are same at both end and I am sure that I have verified, I have contacted secure meter guys in order to get the wiring diagram, just to make sure. I will get back here once I get reply from them. I have asked some new question related to using C# simulator to replicate the meter. I have created new topic, please help me on that.
Hi Gopi,
Hi Gopi,
The problem is in most cases on the cables. Our clients have read premier300 so I know it supports DLMS.
Check your cables. You can also try with GXDLMSDirector, but I believe that the problem is on the cables.
BR,
Mikko
Hi Mikko,
Hi Mikko,
I have got the basic connection diagram and made it but still it is failing, Please see the logs below and I tried form GuruxDLMSdirector.
12:08:38 Send SNRM request.
TX: 7E A0 07 03 2D 93 AF A8 7E
12:08:43 Data send failed. Try to resend 1/3 7E A0 07 03 2D 93 AF A8 7E
12:08:48 Data send failed. Try to resend 2/3 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:53 Data send failed. Try to resend 3/3 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:58 Failed to receive reply from the device in given time. 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:58
RX: 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E 7E A0 07 03 2D 93 AF A8 7E
12:08:58 Send Disconnect request.
TX: 7E A0 07 03 2D 53 A3 6E 7E
12:09:03 Data send failed. Try to resend 1/3 7E A0 07 03 2D 53 A3 6E 7E
12:09:08 Data send failed. Try to resend 2/3 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:13 Data send failed. Try to resend 3/3 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:18 Failed to receive reply from the device in given time. 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:18
RX: 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E 7E A0 07 03 2D 53 A3 6E 7E
12:09:19
Failed to receive reply from the device in given time.
12:09:19 Disconnect request
Hi,
Hi,
Your data is correct. Try with different baud-rates.
BR,
Mikko
Hi Mikko,
Hi Mikko,
I tried with different values of baud rate from 9600 8N1 to 115200 8N1 and result is same. Could you please help me to fix this. Exactly am getting the same in Rx which I sent through Tx.
Hi,
Hi,
1. Check your cables. This is usually the reason if communication is not working.
2. Check serial port settings.
Communicating using serial port might cause problems because the meter doesn't reply if one of the serial port settings is different.
BR,
Mikko
Hi Mikko,
Hi Mikko,
the serial port settings are same at both end and I am sure that I have verified, I have contacted secure meter guys in order to get the wiring diagram, just to make sure. I will get back here once I get reply from them. I have asked some new question related to using C# simulator to replicate the meter. I have created new topic, please help me on that.