Font Size: a A A

Design And Implementation Of ARM-FPGA System Based PLC Program Editing Platform

Posted on:2012-08-01Degree:MasterType:Thesis
Country:ChinaCandidate:F PeiFull Text:PDF
GTID:2178330338992989Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
With the continuous development of modern industrialization, industrial automation and control technology has been in an unprecedented rapid development stage. PLC technology is an important component of industrial automation. which has broad application prospects in rapidly developing china. However, PLC made in developed countries accounts for most of the Chines market, it is necessary to develop new proprietary PLC to break the developed countries'monopoly of the PLC market and contribute to the severity of the domestic development of PLC technology.This paper was proposed based on the new PLC software technology, and for the purpose of a new type of PLC program editing platform with friendly interface, complete function and high efficiency.First, this paper analyzed the development of PLC program editing software both at home and abroad and some of the shortcoming, presented the important of the research. Then the paper described structure and working principle of the new PLC, proposed the requirements of various functional modules which the program editing platform should achieve using the guiding principle of software engineering. In the development process of platform, we used VC + +6.0 software programming tools and modular design approach, the proposed system as a bench mark, use the MFC class library to achieve the requirement. This paper mainly analysis the PLC program editing function modules, compiled modules and communication modules.In the PLC program editing module, we used object-oriented method to describe its characteristics according to LADPoint base class, and achieve ladder drawing, deleting, modifying, and other editing operations by the soft components of each ladder icons derived from this base class. In order to simplify the ladder compilation and convert the construction list before compiling, we proposed sheet core algorithm used forest and binary tree as a bridge to achieve conversion between the ladder and instruction list and achieve their ladder to the instruction by forest and binary tree conversion algorithm, binary tree traversal algorithm and the stack related operations. This paper used CAN bus technology in the communication module, used the peripheral interface which is now popular to achieve communication of CAN bus between PLC and PC It is easy to use and transmission speed Ease of expansion and so on.The debugging shows that the PLC platform can realize the conversion between the ladder and instruction list, ultimately run in the PLC, and follow the international standard IEC61131-3. Hope this paper can have some reference on the domestic development and application of PLC technology which is lag behind comparing with developed countries.
Keywords/Search Tags:PLC, Editing Platform, Ladder Diagram, Instruction List
PDF Full Text Request
Related items