Font Size: a A A

Research And Realization Of The Ladder Diagram Programming Software In CNC System

Posted on:2006-07-02Degree:MasterType:Thesis
Country:ChinaCandidate:Y PanFull Text:PDF
GTID:2121360182455067Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
At present, Low and middle lever numerically controlled(NC) machines mostly choose economical NC system as well as motor-driven tool carrier etc, and its internal logic control is realized by Programmable Logic Controller (PLC). How to make the action of each part of machine effective and reliable depends on procedure, so the PLC programming tool has become indispensable in the numerical control system.The PLC programming tool mainly contains the specialized editor and the tool software based on personal computer. Now because of the quick regeneration speed of PLC, the service life of specialized editor is limited, and its price is much higher, so the current development trend is that using the programming system which based on the personal computer for program.The main task of my research is to develop an IDE (Interged developing Environment) for the NC system of Hust Corporation to provide users with an intuitionistic, convenient and high-efficient programming environment based on personal computer.According to the methods of the software engineering and object-oriented design, the system analysis and requirement analysis on this platform are made, and the detailed function requirements of the software are drew. And then, through the modularization design, the software is decomposed to four modules which are item management, intelligently compilation, translation and edition and simulation and emulation. Simultaneously, data direction between the modules of this platform is designed, which deals with good news transmission and drive between them.After modularizing, the function of each module has been carried out. In order to build a hiberarchy and a component storeroom model object based on the object-orientation and write PLC program by plotting in the system, the editor chooses the ladder diagram language. Through tree structure, the editor links the ladder diagram and PLC instruction to realize the compiler conversion between them. The compiler conversion uses the rundle as unit, according to the direct deep prior scanning algorithm, a logic tree structure is established, and then the PLC instruction is gained by going through the tree. Through the analysis and research of PLCworking principle, the system emluator can emulate the arithmetic of the PLC instruction interpret, and simulate the PLC function course, so as to realize offline simulation.In a word, the system realizes the video and standard design of ladder diagram and the auto creating formation of PLC instruction. It also provides users with a convenient programming environment and raises the efficiency of PLC program, which takes on an intuitionistic edit environment and flexible edit methods.
Keywords/Search Tags:NC system, PLC, ladder diagram, object-oriented, software
PDF Full Text Request
Related items