iserial converter reading problem

General questions and discussions focused around the EKM Metering System. Discuss your meters, installations, and meter communications here.
Post Reply
shashidhar
Posts: 5
Joined: Thu Jun 12, 2014 2:30 am

iserial converter reading problem

Post by shashidhar »

Hi Geeks,

Initially i was able to read the readings of energy meter from the ekm dash software.I tried to change the mode to UART and TCP.Now i am getting 'no response check rs485 connection' problem.Please help me out to overcome this problem.Thanks in advance.


Regards,
shashi
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: iserial converter reading problem

Post by Jameson »

Hello Shashi,

Welcome to the forum.

I am not clear what you mean by "Change the mode to UART and TCP", you do want to make sure that the UART settings are correct (9600 baud for v.3 and v.4 meters, 1200 baud for a v.2 meter, 7 data bits, even parity, 1 stop bit, no flow control) and that your TCP settings are correct. It sounds like you may have messed up the UART (you are still connecting to the iSerial, but the iSerial is not able to read your meter)

If you can send sceenshots of what you are seeing in your iSerial settings, that will be helpful.

Thanks,
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
shashidhar
Posts: 5
Joined: Thu Jun 12, 2014 2:30 am

Re: iserial converter reading problem

Post by shashidhar »

Hi Jameson,

Thank you for your quick response.I set restore default setting hope now all settings are proper. Initially when i set up the connection the EKM Dash software was reading the values properly.Now it is showing the following message "10001649 No Response - Check RS485 Connections and Meter Number" and when i am discovering the meter its showing "Unable to discover the meter number try again".
corresponding error file is attached to it. Please help me out.


Regards,
shashi
Attachments
"10001649	No Response - Check RS485 Connections and Meter Number"
"10001649 No Response - Check RS485 Connections and Meter Number"
ekm_dash.PNG (33.09 KiB) Viewed 13416 times
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: iserial converter reading problem

Post by Jameson »

Assuming that the physical RS485 connections from your iSerial to your meter are still good, it sounds like your UART settings inside the iSerial are still messed up.

We want to verify that all settings are proper. Please send a screenshot of your iSerial UART settings page, and the iSerial TCP Page. Please also send a screenshot of your EKM Dash meter setup window. The more screenshots the better.

Thanks,
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
shashidhar
Posts: 5
Joined: Thu Jun 12, 2014 2:30 am

Re: iserial converter reading problem

Post by shashidhar »

Hi Jameson,
Thank you for your response.I have attached few of the screenshots that may help you to guide me.How can i check whether iserial converter is working fine.



Thanks and Regards,
Shashi.
Attachments
screenshots.zip
(142.82 KiB) Downloaded 489 times
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: iserial converter reading problem

Post by Jameson »

Hi Shashi,

Thanks for the screenshots.

The first issue that jumps out at me is how you have your EKM Dash configured. Take a look at my attached markup of your screenshot.
Screenshot 2014-06-16 09.21.26.png
Screenshot 2014-06-16 09.21.26.png (59.4 KiB) Viewed 13390 times
If you set your EKM Dash to meters.ekmmetering.com it will try to read our meters here at EKM. If you set your Dash to your own iSerial IP address it should work.

If you still have questions, please send screenshots of your iSerial IP address and the port. I have not seen this from you yet.

Thanks and good luck
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
shashidhar
Posts: 5
Joined: Thu Jun 12, 2014 2:30 am

Re: iserial converter reading problem

Post by shashidhar »

Hi Jameson,
Thank you for your quick responses. Yeah now i am able to get the readings properly. Now i am writing a client program to read the values from the iserial converter.
when i am executing my client program at that time suddenly that ekm dash software is not reading.Whether that iserial is supporting only one client ? that is at a time we can read from only either ekm dash meter or client program. Please let me know how can i approach.I want to read those values from my client program not from ekm dash meter.Please help me out to overcome this problem.


Thanks and Regards,
Shashi.
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: iserial converter reading problem

Post by Jameson »

I would have your software close the TCPSocket when you are done with a read/response.

You can only have 1 master on the RS485 bus. So if you have both your software and the EKM Dash software trying to read a meter at the same moment, you will get collisions on the RS485 bus and will only get garbled data. You can try only reading just once every minute or so and the chances of a collision will be a lot less.

I think this is the nature of your question, if not, please let me know.

Thanks,
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
shashidhar
Posts: 5
Joined: Thu Jun 12, 2014 2:30 am

Re: iserial converter reading problem

Post by shashidhar »

Hi Jameson,

Thank you for your quick response. I am trying to read the values through one client program but i am unable to read the values as i don't know what data structures that i have to use and the data format.Can you get me a sample client code for linux to read values .


Thanks and Regards,
Shashi.
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: iserial converter reading problem

Post by Jameson »

Hello Shashi,

The first place I would start is the Developer Portal (look to the bottom of the page for the RS485 parsing documents): http://www.ekmmetering.com/developer-portal

Also the Developers Sandbox on this forum is a good resource (including some customer submitted sample code): http://forum.ekmmetering.com/viewforum.php?f=4

Thanks,
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
Post Reply