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? Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted April 13, 2020 MVP 2023 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now