Jump to content

Connecting more than one modbus slave over Panel Ethernet


ray

Recommended Posts

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

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).

 

 

 

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.