yaniv Posted April 13, 2020 Report Share Posted April 13, 2020 hi all I try to connect more then one master to my slave(PLC v130) with MODBUS TCP , the masters need to work simultaneously. can someone send my example how to do it? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted April 13, 2020 MVP 2022 Report Share Posted April 13, 2020 It's no different than connecting a single master to the slave. You have 4 sockets available for MODBUS TCP. Just initialize up to 4 sockets to TCP, each with a different port number and do a MODBUS TCP configuration for each. Then have a separate SCAN_EX FB for each. There are example projects that came with your VisiLogic installation that will show you the best way to set up MODBUS TCP for both master and slave. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.