Author Topic: Modbus  (Read 13287 times)

Will Steed

  • Guest
Modbus
« on: December 29, 2003, 10:51:22 AM »
Hello all at Triangle, I trust everyone has had a good holiday.

I am running a medium sized program on a MD2424 plc, I would like to interface a ultrasonic proximity switch as a modbus slave device.
I am monitoring a fairly fast moving conveyor, and I am wondering what would be the highest rate that I can quiry the slave device without risk of slowing down the program.  
I can also use a 4-20mA analog output from the proximity switch if I need to, but I thought I would try to use the Modbus protocol rather than rely on the 8-bit resolution of the analog inputs.

Any help would be appreciated.

Thanks,

Will Steed
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Modbus
« Reply #1 on: December 29, 2003, 12:22:09 PM »
The maximum compatible baud rate is 38,400 bps with most third party devices.

Communication overheads mainly has to do with the time it takes to exchange a MODBUS command/response messages.  Of course you should avoid reading from the slave more often than necessary. Running a clock pulse of 0.2s to periodically read some data from the slave should be OK.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS