Description: Often in my day I find myself testing and debugging devices that communicate via the modbus protocol. In an effort to save myself time, I have tried several downloadable applications but always came to the same conclusion - Why pay money for something when it s not that hard to build myself? Also, given that modbus is a 30 year old standard, it makes it difficult to find current code that is usable in today s popular languages. What follows is a brief description of the madness behind the modbus and a small application that I find myself using daily when testing RS232 modbus devices. The code is hardly robust, but it gets the job done in the sense that it works and it is easy to use and alter - two features I find the most important in a lab setting. I hope you find this of some use!
To Search:
File list (Check if you may need any files):
Modbus Example vs2010
.....................\Modbus Example2
.....................\Modbus Example2.sln
.....................\Modbus Example2.suo
.....................\Modbus Example2.v12.suo
.....................\...............\bin
.....................\...............\...\Debug
.....................\...............\Form1.cs
.....................\...............\Form1.Designer.cs
.....................\...............\Form1.resx
.....................\...............\Modbus Example2.csproj
.....................\...............\obj
.....................\...............\...\x86
.....................\...............\...\...\Debug
.....................\...............\Program.cs
.....................\...............\Properties
.....................\...............\..........\AssemblyInfo.cs
.....................\...............\..........\Resources.Designer.cs
.....................\...............\..........\Resources.resx
.....................\...............\..........\Settings.Designer.cs
.....................\...............\..........\Settings.settings