News » Modbus?

Using Modbus? 28/1/08

After a bit more surfing, and seeing what someone else had done, I've decided to go with a full modbus implementation rather than my own protocol.

I found a posting on the modbus forums by a generous chap by the name of Bruce Durdle who had done a modbus stack for a 16F877. I emailed him and he sent me all of his source code.

It's always interesting to see someone else's assembly language code, it's more of a finger-print than some higher level languages. Bruce writes really tidy assembly code.

Long story short, I've decided to write my on modbus code rather than use Bruce's. Primarily because I want to do it myself, and I have not decided yet if I will release the code under the GPL, which may not sit well with Bruce, as he must have spent many hours on his code.

On the development side I didn't spend any time on the actual project today/yesterday. I did quite a bit of reading though. Mainly pouring through the modbus specifications, and using a highlighter to colour in the bits I need to do for what I want.

Anyway, it's the start of a new work week, and I actually need to go to work in about 7 hours, so I should finish up now....

Powered by Etomite CMS.