Annatooli Posted May 21, 2020 Report 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.
MVP 2023 Joe Tauser Posted May 21, 2020 MVP 2023 Report 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.
Annatooli Posted June 28, 2020 Author Report 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.
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