Dear All
Greetings!
I am using redundant pair of controller X20CP3687x and I have to connect 308 modbus TCP Slaves to the controller, Can I connect all the 308 on a single port? If not can I use 2 X20BC0087 and connect 103, 103 slaves to each BC and 102 to the controller itself?
Thanks and regards
In theory that should work, but it all depends on the amount of data and refresh times. The X20BC0087 is not a solution for this because it is a modbusTCP bus controller for X20 IOs. With that many Modbus slaves, you may want to look at this library solution.
br-automation-com/modbusTCP-Automation-Studio: modbusTCP library for Automation Studio
Hi @ashamdeep.saini
Could you share did you succeed with that layout?
I would like to know is there a limit or how many slave station can I have.
@stephan.stricker Please kindly share if you have that information.
My CPU is X20CP1684 and X20CP0410
Thank you in advanced
Hi,
I can’t really give you an exact number but also keep in mind if the number of connections is very high the response time will go up, too. The help mentions something around 128 concurrent connections.
TCP - Transmission control protocol
If you share more details about the application and what number of connections you are aiming for I can give you a better recommendation.
Stephan
Hi @Naronglit_Wis
We are using it across the various projects successfully.
On one site:
- We are using 11 x X20EM1613 controllers.
- Each communicating to approx. 75 Modbus slaves.
- Together monitoring little over 100,000 Modbus datapoints.
I hope this helps,
All the best!
Hi Asham,
That’s a lot bigger than mine.
Thanks for sharring
My project is just below 20 station.
Compare to Asham’s project and your info about 128 client, I think nothing to worry.
Thanks a lot for sharing
From the help it seems like the integrated modbus solution is limited to 16 connections.
Number of client connections
If that is the case you would have to use the library that I develeoped. @ashamdeep.saini Do you use my library or the integrated solution with the 75 modbus slaves?
Stephan
Hi Stephan,
We are using the AsMbTCP library in all our projects.
Thanks for the library.