Research and Realization of PLC Program Developing Software in NC System
- Author
- ZhouZhe
- Advisor
- MoYiMin
- School
- Wuhan University of Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 683
- Citations
- 4
Abstract
With the manufacturing industry competition and the rapid development of computer technology, in order to continue to enhance the flexibility and adaptability of the NC system, the NC system toward the open architecture of the direction of development. In the development of high-speed, high efficiency, high precision and intelligent performance at the same time, people have higher requirements of their reliability. CNC system of internal control logic is done by a programmable logic controller (PLC). The PLC hardware increasingly standardized, PLC control program prepared to become the focus of attention, is the mainstream form of PLC programming tools and personal computer-based program development software. HUST AUTOMATION INC. CNC system design the supporting ladder programming software to design or amend the PLC program. However, the software must be run in a DOS environment unfriendly to man-machine interface, easy to maneuver. The main task of the subject HUST CNC system developed a PC-based programming environment to provide users with an intuitive, convenient, and efficient system of PLC program development. This paper describes the issues background, based on the analysis of the problems existing in the current study, discusses the significance of this research. And then combine the software engineering and IEC61131-3 international standard, the PLC program development system needs analysis and design of the overall structure of the framework. Then the system development tools and methods. The exposition part in the realization of the editor, the paper first describes the design of the user interface. Because the system uses the ladder language as a programming language, so in accordance with the the ladder graphical programming specifications, design data structures and module class model, and elaborated the realization of the main functions of the editor. In the compiler implementations discourse part, with the completion of the instruction list ladder to the target code conversion method. Linked the ladder and instruction table by the tree structure. To cascade units, the first grammar, logic checks to eliminate the cause of the error, and then using the forward depth-first scanning algorithm to construct the tree structure, and then the first root of the traversal algorithm scans the tree structure to get the proper instruction table. Finally, the instruction table for lexical, syntax analysis, the generated object code data and storage. In this paper, the object-oriented and modular design method, visualization, standardized ladder design and object code data generation. Friendly editing environment, flexible editing methods to facilitate the users to use, improve the efficiency of PLC programming.
Table of contents
Abstract 3-4
Abstract 4-8
first chapter 8-15
1.1 topics background 8-11 < br /> 1.1.1 CNC System Overview 8-9
1.1.2 HUST CNC system architecture 9-11
1.1.3 Programmable Logic Controller (PLC) of production and development 11
1.2 research status 11-12
1.3 sources and research significance topics 12-13
1.4 The main work papers 13-14
1.5 Summary 14-15
Chapter PLC program development system overall framework designed 15-23
2.1 PLC program development system design principles 15-17
2.1.1 software engineering concepts 15
2.1.2 IEC61131-3 international standard 15-17
2.2 PLC program Development System Requirements Analysis 17-18
2.3 PLC program development system framework design 18-19
2.4 development tools and development methods introduced 19-22 <br / > 2.4.1 Development Tools 19-20
2.4.2 Development Method 20-22
2.5 Summary 22-23
Chapter PLC program editing module design 23-42
3.1 user interface design 23-24
3.2 editing module overall design 24-28
3.2.1 trapezoid Figure graphical programming specification 24-26
3.2.2 ladder structure model 26-27
3.2.3 Data structure design 27-28 <br / > 3.3 module class model design 28-34
3.3.1 Ladder Canvas class design 29-30
3.3.2 Cascade class design 30-31 < br /> 3.3.3 Component class design 31-34
3.4 module functions to achieve 34-41
3.4.1 Ladder drawing 34-37 < br /> 3.4.2 Ladder partial refresh 37-38
3.4.3 ladder delete, copy, paste, and paste 38-40
3.4.4 project files storage and loading 40-41
3.5 Summary 41-42
Chapter PLC program compiled module design 42-66
4.1 Compiler Process Overview 42-43
4.2 Ladder to the instruction list design 43-58
4.2.1 Conversion Method 43-46
4.2. 2 Ladder grammar, logic checks 46-52
4.2.3 ladder to tree transformation 52-56
4.2.4 tree to instruction list conversion 56-58
4.3 instruction code conversion table to the target design 58-65
4.3.1 Instruction Sheet statement format 58-59
4.3.2 lexical analysis 59-61
4.3.3 Semantic Analysis 61-62
4.3.4 object code data generation 62-65
4.4 Summary 65-66
Chapter Summary and Outlook 66-67
5.1 Full Summary 66
5.2 further research prospects 66-67
References 67-70
Thanks 70-71
authors of papers published during the graduate 71
Author participate in the project during the graduate 71
Related dissertations
- Soft PLC module embedded CNC system Research and Implementation
- The R&D of LD Programming Environment for CNC
- The Research and Development of Open PLC System
- FANUC CNC experiment platform based fault diagnosis technology
- Design and Implementation Of ARM-FPGA System Based PLC Program Editing Platform
- Research and Development of Embedded Soft Programmable Logical Controller Based on RTLinux
- A Study on Code Optimization Method of eOLC Control Algorithm
- Research and Implementation of PMAC-based Industrial Robot Control System
- Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
- Clinical Study of Main and Collateral Channels Section of "Long-term" Therapy in the Treatment of Active Stage of Rheumatoid Arthritis
- Researchof QMAC-based Control System for Active Vibration Reduction
- The Study of Laser Processing Movement Control and NC Programming
- Research on the NC System Design and the Simulation of Aspheric Surface Fabrication Based on Tool Swing Feeding
- CNC System Hardware Design and Realization Based on Embedded Processor
- Studies in Laser-cutting Technology CNC System Based on STEP-NC
- Design and Development of Special CNC for PCB Drilling Machine
- The Tap Grinder Control Model Research Based on HNC-21CNC System
- Study on Field Bus Technology with High Speed and High Precision Multi-channel CNC System
- The Selection of Key Components and Interface Design of Pentahedral Gantry Machining Center
- Development and research of CNC system based on ARM and CPLD