PIC Micro Modbus

Posted on Thursday, December 11th, 2014 in PIC by DP


Chas over at PNW/Electronics has been working on a PIC Micro MODbus project:

MODbus is a older-than-dirt communications protocol for industrial process/power controls. It’s generally seen in the wild as MODbus/RTU which is a RS-485 protocol ran at 9600 or 19200 baud. Of course there are a ton of variations and it wouldn’t be a comm protocol these days unless someone decided to make a MODbus/IP.. but that’s beyond the scope.

Continue to Update 2 – Calculating CRC and Update 3 – The 18F27J53 Port & tinyLED.

This entry was posted on Thursday, December 11th, 2014 at 2:44 pm and is filed under PIC. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “PIC Micro Modbus”

  1. SOI Sentinel says:

    Just to repeat what I posted to his website in regards to his wonder about Modbus/IP.

    Modbus/TCP is alive and well in the industrial Ethernet world, in fact Schneider Electric still uses it as a primary communications protocol, and almost every other vendor who deals in Ethernet connectivity has a ModbusTCP driver as it’s effectively open source, license free, and fairly lightweight. It’s just not natively deterministic (nor protected against attacks really). It’s also predisposed to allow the TCP module to act as a gateway to serially connected ModbusRTU units.

  2. boz says:

    I’ve used PIC and MODBUS for 15 years now it is still the most common industrial and control system communications protocol and is rock solid, very well documented (in a way you can understand – I’m looking at you USB!) and so simple it does not get in the way of your other code.

    Still used everywhere in industrial control, I just finished a PIC/MODBUS board for a client a few weeks ago I wish I could have open sourced it like some of my other projects, but sometimes you have to bite the bullet and take the cold hard cash :-)

    Very easy to read and nicely commented code BTW.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please