Font Size: a A A

Design And Implementation Of Modbus Master Protocol Stack Based On Linux System

Posted on:2013-11-24Degree:MasterType:Thesis
Country:ChinaCandidate:Z J LiFull Text:PDF
GTID:2248330371999926Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
With the development of computer technology and communication technology, traditional control fields are experiencing important change,they are developing in the direction of networking,the high integrated,system complication.FCS is going to be the tendency of field control in the future.Modbus is one of the generally acknowledged eight field buses,is one of the most widely used methods in control field and also the most popular data transmission protocol.In China,Modbus was made national standards in2008,therefore,Modbus are becoming popular,its application is more and more broad or relating to product are gradually decrease in China.Because of importance and generalized on Modbus,the company and people around the world are study of Modbus and realization of the Modbus stack.The Modbus are developed by company are no disclosure and the cost of Modbus stack are very expensive,usually for commercial purposes.Out of interest,Modbus stack are developed some people have alaway some questions.Especiaily,the Modbus can be executed directly under the Linux system are much rarer,it is well known that Linux system have been applied in various fields becauseof its special advantages.And it becomes the mainstream operating system of control field.A great deal of questions existing in Modbus stack is realized on Linux,this paper made a research and analysis into the Modbus from another perspective,so we come up with a solution to this problem and make the Modbus realized on Linux become easy.At the same time,in this paper designed a good software architecture for Modbus master stack and realize a majority of function code manipulation function and the function of user-defined function code,so let the Modbus master stack system with more perfect portability and reliability can be run at any platform of operating system, adopting the design Modbus master stack of dividing layer in this paper.Draw a portable interface for the operating system layer,so long as you accomplish these interfaces on another operating system,Modbus master stack can be run at this system,we follow the principle of less is more. When we designed the stack,with which users can easily use Modbus master stack,so we finally coming to simple to interface,convenient to operate,function complete of user interface.
Keywords/Search Tags:Modbus, Linux, reentrant, thread-safe, multi-thread, Makefile
PDF Full Text Request
Related items