Jump to content

Several Slaves Modbus RS485 Config


Recommended Posts

Hello there,

I am working on a ladder program for a Vision130 as master. It has a built-in RS485 expansion comm in Port 2. Two devices are connected by RS485 in the same port 2. Both devices use Modbus RTU communication and they have the same baudrate and other settings (38400,8,n,2).

One of the slaves is a keypad with a display and several LEDs. I have programmed one P.H.R (40 bytes), one R.I.R (3 bytes) and F.C (8bits). The information is requested sequentially, when a request is successful, the P.H.R net is disabled and the R.I.R is enabled and so on.

The other slave only requests a R.H.R (2bits).

Both slaves work fine separately (when only one is configured in port 2). However, when I configure them in the same port at the same time, they don't work.

I think there is some comm configuration issue that causes a conflict in the communication.

Thank in advance,

 

configModbus.png

MCB.png

Modbus Encoder.png

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.