I am not able to connect to L&T ER300P meter with DLMSDirector application. I have created a manufacturer and a device in the DLMSDirector. Kindly refer the attached screen shot for the same. I want to connect to the actual device with these settings. But the DLMSDirctor application is showing below mentioned message:
"11:29:11 Initializing Network connection.
System.Net.Sockets.SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a send to call) no address was supplied at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters)"
The connection has been established between the DLMSDirector and ER300P meter with Indian standard. And I am able to read registers from the device. I am also able to see the OBIS codes and attribute indexes of the objects in the DLMSDirector application.
I want to write code with the help of "GuruxDLMSClientExample" to communicate with ER300P meter. So I have written the below mentioned code. In the below mentioned code the connection to the ER300P meter has established and I am also able to read clock object from the ER300P meter. But I am not able to read other register object. The "GetErrorMessage" returns error message "Access Error: Device reports a unavailable object" while same object is accessible from DLMSDirector app. Refer below mentioned code.
i have a L&T ER300P meter and wish to communicate using MODBUS RTU 485. But i can't read data from the registers(40001....).. What is the data format of ER300P?
L&T ER300P meter
Hi Pradeep,
Your meter is not support DLMS. It's using IEC 1107.
You can read more from DLMS FAQ:
http://www.gurux.fi/DLMSCOSEMFAQ
BR,
Mikko
Thanks for you prompt
Thanks for you prompt responce.
But manufacturer says that meter supports DLMS.
Kindly suggest me.
Thanks & Regards,
Pradeep Sonwani
L&T ER300P
Hi Pradeep,
It might be that they have added support for it. From the docs what we have:
Communication
- Optical port as per IEC 1107
- RS 232 port (optional)
- RS 485 using MODBUS protocol RS 485 using MODBUS protocol (optional)
You can try with Indian standard. I hope it helps.
BR,
Mikko
Hi,
Hi,
Thanks a lot for your kind help.
The connection has been established between the DLMSDirector and ER300P meter with Indian standard. And I am able to read registers from the device. I am also able to see the OBIS codes and attribute indexes of the objects in the DLMSDirector application.
I want to write code with the help of "GuruxDLMSClientExample" to communicate with ER300P meter. So I have written the below mentioned code. In the below mentioned code the connection to the ER300P meter has established and I am also able to read clock object from the ER300P meter. But I am not able to read other register object. The "GetErrorMessage" returns error message "Access Error: Device reports a unavailable object" while same object is accessible from DLMSDirector app. Refer below mentioned code.
Kindly suggest me. What should I do?
//---------------------------------------------------------------------------
CGXDLMSClient cl(true, 16, 1, DLMS_AUTHENTICATION_NONE, "xxx", DLMS_INTERFACE_TYPE_WRAPPER); CGXCommunication comm(&cl, 5000, trace);
if ((ret = comm.Connect("192.168.000.003", 4059)) != 0)
{
TRACE("Connect failed %s.\r\n", CGXDLMSConverter::GetErrorMessage(ret));
return 1;
}
if ((ret = comm.InitializeConnection()) != 0)
{
TRACE("InitializeConnection failed %s.\r\n", CGXDLMSConverter::GetErrorMessage(ret));
return 1;
}
std::string value;
CGXDLMSRegister *obj = new CGXDLMSRegister("1.0.1.8.0.255");
if ((ret = comm.Read(obj, 2, value)) != 0)
{
TRACE("err! failed to read register: %s", CGXDLMSConverter::GetErrorMessage(ret));
}
comm.Close();
//---------------------------------------------------------------------------
Thanks & Regards,
Pradson
L&T ER300P
Hi,
You need to change your authentication level. You don't have access to see the object what you try to write.
BR,
Mikko
Hi,
Hi,
Thanks for you prompt responce.
Yes,
That was my silly mistake. It is working now. Thanks a lot.
Regards,
Pradson
Need memory map sheet for ER300P
Hello Mikko
I have a L&T ER300P meter and wish to communicate using MODBUS RTU 485. But I don't have the memory map document for it. Can you help me with that?
Thanks
Nitin
Need memory map sheet for ER300P
Hi Nitin,
Please if you have a new question start a new topic.
You should ask this information from the meter vendor.
BR,
Mikko
L&T meter
i have a L&T ER300P meter and wish to communicate using MODBUS RTU 485. But i can't read data from the registers(40001....).. What is the data format of ER300P?
L&T meter
Hi Neethu,
Please if you have a new question start a new topic.
I'm sorry, but I don't have an answer for this.
BR,
Mikko
hi, Mr. Pradeep, can you
hi, Mr. Pradeep, can you share your contact details?
or call me on 9923044104?