Annatooli Posted May 21, 2020 Report Share Posted May 21, 2020 When I checked my project I notice error on my RS485 CPU COM port it says "Both Slaves have been set to the same communication protocol. Slave1 may be set to TCP/IP, while Slave2 is set to RS485." Does it mean UniLogic RS485 can access only one slave device ?? So if I have more than one modbus slave I have to connect second slave through TCP/IP connection ?? What happens when I have 21 devices ?? I am really screwed if there are this kind of limitation. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted May 21, 2020 MVP 2022 Report Share Posted May 21, 2020 I was able to create two RS485 slaves under the Master tree without a problem. You may have master and slave reversed in your mind where you are defining "slaves" under the Slave tree, in which case you are telling the UniStream that it has to be a slave with more than one personality. Which will not work. I think your configuration needs to be fixed. Upload your program so we can see the rest of the story. Joe T. Quote Link to comment Share on other sites More sharing options...
Annatooli Posted June 28, 2020 Author Report Share Posted June 28, 2020 You are correct. I mixed up master and slave, I figured it after some time with examples. Most of modbus things do work for now. Thanks. 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.