Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


fastbike

202 posts

Master Geek


#319128 25-Mar-2025 11:00
Send private message quote this post

I have a Solis S6 inverter, fitted with a Eastron SDM630MCT consumption meter. The meter uses 3 CTs to monitor the current and hence the power. The inverter polls the meter on a regular basis across a RS485 modbus wire to fetch numerous data points.

 

I want to move the meter so that it is sited at the point where the grid is connected to the property so  the inverter is aware of other loads such as the car charger in a stand alone garage. There is a ethernet cable connecting the garage and house i.e. a LAN connection.

 

Before physically moving the meter I've tried a local replication using two RS485/ETH bridges from Waveshare in the following configuration:

 

  • Inverter (rs 485 master)
  • waveshare bridge set as tcp client (pointing to ip/port of the tcp server)
  • network switch
  • waveshare bridge set as tcp server
  • meter (rs 485 slave)

According to waveshare tech support this should work, but there's no connection. The active lights on the bridges are on, but the data is not seen by the inverter.

 

Any clues in getting this to work would be helpful.

 

Edit: direct connection of CT over this distance is not an option. Neither is using one of the TP in the Cat6 cable.





Otautahi Christchurch


Filter this topic showing only the reply marked as answer Create new topic

neb

neb
11294 posts

Uber Geek

Trusted
Lifetime subscriber

  #3357618 26-Mar-2025 21:18
Send private message quote this post

That sounds a bit like something where it's more a surprise than an expectation that it works, they're not really meant to be used that way.  A better option would be a wireless RS485 bridge, so the devices at both ends just see a physical RS485 connection to the other side.




fastbike

202 posts

Master Geek


  #3357627 26-Mar-2025 22:39
Send private message quote this post

neb:

 

That sounds a bit like something where it's more a surprise than an expectation that it works, they're not really meant to be used that way.  A better option would be a wireless RS485 bridge, so the devices at both ends just see a physical RS485 connection to the other side.

 

 

LoL. Great advice. Not really helpful.





Otautahi Christchurch


elpenguino
3388 posts

Uber Geek


  #3357704 27-Mar-2025 09:35
Send private message quote this post

Have you tried swapping the client and server to the other end?

 

Sometimes data flow is opposite to the TCP flow.

 

 





Most of the posters in this thread are just like chimpanzees on MDMA, full of feelings of bonhomie, joy, and optimism. Fred99 8/4/21




dasimpsonsrule
147 posts

Master Geek


  #3357711 27-Mar-2025 10:20
Send private message quote this post

Screenshot of the config? That should work, so long as you get the baud and parity correct. There should also be a packing delay setting, which is how it translates the RS485 to TCP, from memory on modbus rtu there should be a 1.5 character time delay to mark the end of the packet (so if you take 15 / baud would give you the delay)


fastbike

202 posts

Master Geek


  #3358865 31-Mar-2025 09:53
Send private message quote this post

elpenguino:

 

Have you tried swapping the client and server to the other end?

 

Sometimes data flow is opposite to the TCP flow.

 

 

Tried that no difference.

 

dasimpsonsrule:

 

Screenshot of the config? That should work, so long as you get the baud and parity correct. There should also be a packing delay setting, which is how it translates the RS485 to TCP, from memory on modbus rtu there should be a 1.5 character time delay to mark the end of the packet (so if you take 15 / baud would give you the delay)

 

 

No ability to set a packing delay on these devices. 

 

Going to get the 'scope out and see what is happening on the serial wires.





Otautahi Christchurch


fastbike

202 posts

Master Geek


  #3360968 5-Apr-2025 13:47
Send private message quote this post

The scope traces showed quite a delay between the inverter sending the request and receiving the data as the Waveshare device was buffering the whole message before sending over TCP, so this happening at each end plus around 5mSec on the wire for the request and the response. Long story, short: the meter response was arriving just before the inverter was sending another request so it was failing.

 

As the baud rate could not be changed on the inverter, but could on the meter, the solution was to change the meter end to 38.4k which sped things up sufficiently to make it work. 





Otautahi Christchurch


neb

neb
11294 posts

Uber Geek

Trusted
Lifetime subscriber

  #3361056 5-Apr-2025 20:03
Send private message quote this post

I've struck something similar with client requests to modbus gateways, because the latency on the TCP side is essentially zero while on the serial side it's very much nonzero you can't poll too fast on the TCP side.  When you have multiple clients polling at different intervals you eventually get overlaps where multiple lengthy serial requests are in flight at the same time.  Took awhile to figure that one out because it was time-dependent and things worked most of the time, and even when they didn't it wasn't an obvious failure but just slightly odd register values and things.


Filter this topic showing only the reply marked as answer Create new topic





News and reviews »

Logitech G522 Gaming Headset Review
Posted 18-Jun-2025 17:00


Māori Artists Launch Design Collection with Cricut ahead of Matariki Day
Posted 15-Jun-2025 11:19


LG Launches Upgraded webOS Hub With Advanced AI
Posted 15-Jun-2025 11:13


One NZ Satellite IoT goes live for customers
Posted 15-Jun-2025 11:10


Bolt Launches in New Zealand
Posted 11-Jun-2025 00:00


Suunto Run Review
Posted 10-Jun-2025 10:44


Freeview Satellite TV Brings HD Viewing to More New Zealanders
Posted 5-Jun-2025 11:50


HP OmniBook Ultra Flip 14-inch Review
Posted 3-Jun-2025 14:40


Flip Phones Are Back as HMD Reimagines an Iconic Style
Posted 30-May-2025 17:06


Hundreds of School Students Receive Laptops Through Spark Partnership With Quadrent's Green Lease
Posted 30-May-2025 16:57


AI Report Reveals Trust Is Key to Unlocking Its Potential in Aotearoa
Posted 30-May-2025 16:55


Galaxy Tab S10 FE Series Brings Intelligent Experiences to the Forefront with Premium, Versatile Design
Posted 30-May-2025 16:14


New OPPO Watch X2 Launches in New Zealand
Posted 29-May-2025 16:08


Synology Premiers a New Lineup of Advanced Data Management Solutions
Posted 29-May-2025 16:04


Dyson Launches Its Slimmest Vaccum Cleaner PencilVac
Posted 29-May-2025 15:50









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.