Home Page for B&B Electronics Manufacturing Company
Log In for Account InformationShopping Cart
B&B Electronics Home Page
Products available from B&B Electronics
Custom / OEM
Technical Support available from B&B Electronics
Technical Library - B&B Electronics
Applications
Free Catalog B&B Electronics
 

Mike's often controversial but never boring eConnections™ Newsletter

Name:
Email :

Hi, my name is Mike Fahrion, and every few weeks I dish out practical tips for getting all those pieces of equipment in your care to talk to each other. We give out special freebies too — like specialized reports and tech guides, to make your job easier.

WARNING: If I’m hacked off about something, you’ll hear about that too — if the occasional poke at our own Dilbert lifestyle offends you — well, you might want to skip this one. Sign up today to get the next issue. We respect your privacy and intensely dislike SPAMMERS as much as you do. So your e-mail address is never given, sold or traded to anyone, and of course you can unsubscribe at any time.

Manage Your Subscription

 

 

 

 

Home > News > eConnections™ Archive > 16 December 2008 - Merry Modbus from Mike at B&B Electronics

Merry Modbus from Mike at B&B Electronics

You know about my affinity for good ol' serial communications. Watching those familiar bits and bytes flow by gives me the same warm fuzzy feeling as sitting around a fireplace with stockings hung with care.

Elegantly simple and effective for so many applications.

But what story are those bits and bytes trying to tell, and how do they get the job done? More often than not, the protocol of choice is Modbus. Just like good ol' RS232 and RS485, Modbus is elegantly simple and singularly responsible for an amazing amount of automation around the world.

But, like the serial wires that it carry its message, Modbus isn't always plug and play. Frustrating, real-world problems sometimes make Modbus a victim of its own simplicity.

Let's do a super-quick review of the three flavors of Modbus.

First off, there is Modbus ASCII. Communicating over 232 or 485, ASCII is ultra simple, human readable , 7 data bits, but not horribly efficient.

Then Modbus RTU. Also over 232 or 485, with 8 data bits and better error checking, RTU is much more bus-efficient than ASCII, but also more sensitive to timing.

And now we've got Modbus/TCP, which nicely wraps Modbus packets for use over Ethernet, delivering all the speed and networking benefits of TCP/IP.

Regardless of which Modbus flavor you choose, all Modbus messages are a master-slave configuration where the master (often a programmable logic controller, or PC running supervisory software), must poll each node to determine its status.

So dear reader, I'm pondering - would you like to hear more about Modbus? How it works? Solutions to problems like:

Adding Modbus RS-232 devices to a Modbus 485 network?
http://www.bb-europe.com/productsubcat.asp?MainCategoryId=3

Adding more sensors data to a Modbus network - wirelessly?
http://www.bb-europe.com/product_multi_family.asp?MultiFamilyId=67

Or are your problems trickier yet? Things like:

  • Connecting a Modbus ASCII device to Modbus RTU?
  • Connecting two Modbus devices that are hardwired to different baud rates?
  • Hanging Modbus serial devices on a Modbus/TCP network?
  • Magically remapping hardcoded Modbus ID's to non-conflicting addresses?

If you're interested I'll share those solutions with you next month (or faster - just drop me an email). Don't hesitate to challenge me with other real-world Modbus problems that you've run into. I want to hear about them. I stand at the ready to take on your Modbus woes.

So between Christmas shopping,and competing with the Smiths for the best Christmas display control algorithm on your block, drop me a note to let me know when Modbus has left you feeling Grinch-like and I'll do what I can to ease your protocol afflictions in the new year.

Have a Merry Christmas!
Mike Fahrion
support@bb-europe.com
+353.91.792444

 





 


International Headquarters
B&B Electronics
707 Dayton Road • PO Box 1040 • Ottawa, IL 61350
T 815-433-5100 F 815-433-5109
Europe, Middle East, Africa
B&B Electronics Ltd
10 Westlink Commercial Park, Oranmore, Co. Galway, Ireland
T 353.91.792444 F 353.91.792445
U.K. T 01926 851500

 

[Home] [Products] [Partners] [Support] [Tech Notes] [News] [About] [Contact] [Site Map]
Questions or Comments? Copyright © 2011 B&B Electronics