ray Posted June 8, 2022 Report Share Posted June 8, 2022 When I try to create two Modbus TCP/IP slaves I get the following error: "Both Slaves have been set to the same communication protocol. Slave1 may be set to TCP/IP, while Slave2 is set to RS485" I don't understand why it gives an error if I have different IDs for each slave. Link to comment Share on other sites More sharing options...
Gabriel Franco Posted June 8, 2022 Report Share Posted June 8, 2022 It´s a normal behavior. If you want your PLC act as slave (named server in Modbus TCP), you configure it under PLC Communications | Protocols | MODBUS | Slaves, either Ethernet or RS485. Then, it will be another slave in the network. If you want your PLC act as a master (named client in Modbus TCP), you must configure all your slaves under PLC Communications | Protocols | MODBUS | Masters, either Ethernet or RS485. Then, it will be the master in the network. All slaves must have unique IP (Ethernet) or ID (RS485). 1 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