Jump to content

Serial Communication


Recommended Posts

Hi,

I have 3 different sensors connected on the COM2 (RS 485) of a V280. These sensors are plug in types. They send their data serially via MODBUS. These sensors are of different makes & have different FIXED Baud Rates. I have utilized 2 inputs to identify these sensors on the PLC. I need the PLC to switch automatically to these Baud Rates on Identifying the sensors. I am not able to do this. Is there any way in which this can be implemented?

Thanks

Ron

Link to comment
Share on other sites

Hi Ron,

Are your sensors Master or Slave in Modbus?

If thhey are Masters, you have serious trouble, as you have more tan one Master in the network, which is wrong by default.

If the units are Slaves, I don't see any problem. It's a little more complicated thhan standard polling of few slaves. You just need to perform COM Init with relevant parameters each time before sending the Modbus command.

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.