Research on the Software of Open Cnc System Based on BECKHOFF TwinCAT

Author
ShiXiaoLei
Advisor
FuYunZhong
School
Harbin Institute of Technology
Major
Mechanical Manufacturing and Automation
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2011
Downloads
64
Citations
0

Request the full text

Abstract

With the characteristic of opening, universal and compatible with each other, the open CNC system has solved the closed issues of traditional CNC system, well adapted to the needs of medium and small batch in modern manufacturing and become an important direction of modern CNC system.This paper analyzed three basic structural forms of the open CNC system based on PC, and used the structure of“PC + the motion controller”. The software development of open CNC system was carried out based on Motion controller and other hardware components, which were Germany BECKHOFF embedded computer. According to the different requirements of real-time, the software of open CNC system can be divided into two parts: the PC software and the lower position machine software.The lower position machine software, also known as lower computer control software, had stronger real-time, achieved the real-time control functions and was developed by TwinCAT PLC. It consisted of the operation selection module, program preprocessing module, decoding module and interpolation operations module. The operation selection module was the core of software development, and was designed to three modes: Automatic interpolation mode, MDI mode and Jog mode.The PC software, also known as PC management software, had weaker real-time and mainly completed non-real-time control function. It was developed by VC++ software, which included the initialization module, program editing module and communication module. The initialization module mainly accomplished initialization of communication port and parameters. Program editing module achieved the programing, storage and downloading functions. Communication module completed communication function with lower software by adding the dynamic link library TcAdsDll.After the completion of software development, it can be tested in a virtual operating environment provided by TwinCAT System Manager and modified for unreasonable functions. As the deviation between the virtual environment and the actual operating environment, it was necessary to take experiments. The experiment mainly verified motion control function and trajectory control function of open CNC software, to determine whether the software can perform basic interpolation control. Virtual operation test and experiment were combined for verifying the feasibility of the software control.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-17 1.1 subject background 9-10 < br /> the 1.1.1 open CNC system generates background 9-10 1.1.2 open CNC system advantages 10 Research 1.2 Open CNC System and development trends the 10-14 1.2.1 CNC system development process 10-11 1.2.2 open CNC system Research 11-13 1.2.3 open CNC system trends 13-14 1.3 open CNC system architecture division 14-15 1.4 In this paper, the main purpose and research contents 15-17 Chapter 2 open CNC software developed theoretical basis and the overall design 17-22 2.1 the open CNC software functionality requirements nbsp 2.2.2 software development; 17 2.2 the open CNC software development general idea 17-18 2.2.1 software development guiding ideology 17-18 The basic principles 18 2.3 based on the overall design TwinCAT environment of open CNC software development 18-21 2.3.1 CNC software function modules divided 18-19 2.3.2 TwinCAT CNC software development environment based design 19-21 2.4 Chapter Summary 21-22 Chapter 3 TwinCAT place under the control of the environment in the software development 3.1 TwinCAT lower machine control software development 22-39 22-25 3.1.1 under machine control software function modules divided 22-23 3.1.2 the lower machine software development platform 23-25 ?? 3.2 TwinCAT the basic functions of the lower computer software development 25-32 3.2.1 Automatic interpolation mode development 25-27 3.2.2 MDI mode development 27-29 3.2.3 jog mode development 29 -31 3.2.4 auxiliary control functions developed the 31-32 3.3 based the TwinCAT decoding module features perfect 32-36 3.3.1 decoding The module introduces 32-33 3.3.2 decoding module features complement 33-36 3.4 based on TwinCAT lower machine software virtual test are found; 36-38 3.4.1 lower machine software virtual runtime environment configuration the 36-37 3.4.2 lower control software running debug 37-38 3.5 Chapter Summary 38-39 Chapter 4 of the VC-based PC management software development 39-48 4.1 introduced based on the the VC host computer software development 39-41 the 4.1.1 host computer management software function modules divided the the 4.1.2 host computer management software development tools 39-40 4.2 VC 40-41 with TwinCAT automation software communication interface the 41-42 4.2.1 dedicated interface file 41 4.2.2 Communication Interface 41-42 4.3 based on VC host computer management software core module development 42-44 4.3.1 initialization module development the 42-43 4.3.2 PC management software function modules developed nbsp VC-based PC software running debugging; 43-44 4.4 44-47 4.4.1 PC software functional testing 44-46 4.4.2 test results analysis 46-47 4.5 Chapter Summary 47-48 Chapter 5 the Open CNC TwinCAT software Experimental Study 48-59 <br / 48-51 5.2.2 Movement> 5.1 experimental program 48 5.2 Motion Control experiments 48-53 the 5.2.1 experimental hardware components control verification 51-53 5.3 trajectory control experiments 53-58 5.3.1 trajectory control experimental design 53-54 5.3.2 data acquisition program designed 54 5.3.3 Data acquisition and processing 54-58 5.3.4 Experimental results the 58 5.4 Chapter Summary 58-59 conclusion to References 59-60 60-64 Acknowledgements 64-

Related dissertations

  1. Research on Remote Monitor and Control System of Open CNC Equipment
    WangYongHui ·University of Jinan ·2013 ·Master's thesis
  2. Research on Rehabilitation Training Control Method Based on Virtual Force Feedback
    PengJin ·Harbin Engineering University ·2013 ·Master's thesis
  3. Design and Development of All Electric Injection Molding Machine Control System
  4. Design and Implementation of the Software and Hardware of Control System for a Four-cable-driven Camera
  5. The Design and Research of EtherCAT in the Servo Control System
    ZhangShun ·Hunan University ·2013 ·Master's thesis
  6. Open CNC System Communication Rate Research Base on SERCOS Bus
  7. Design of Open Control System Based on GTS Motion ControlCard
    HuXueLong ·Shihezi University ·2013 ·Master's thesis
  8. Research on the Post-processing in Five-axis CNC Machining and Compiling Technology
    ShaoMing ·Tianjin University ·2012 ·Master's thesis
  9. Research and Implementation of Template-based Conversational CNC Programming
  10. The Research of Trajectory Planning and Control on the Open Architecture Control System Based on Light Service-oriented Architecture
    LuoShaoQi ·South China University of Technology ·2012 ·Master's thesis
  11. Study and Design of Multifunctional and Real-Time Rajectory Control
    WangHao ·Wuhan Institute of Technology ·2012 ·Master's thesis
  12. Research of the High-performance Servo Control System Based on EtherCAT Network
    RuanZuoRu ·Hunan University ·2011 ·Master's thesis
  13. The Research of Servo Motion Control System Based on Ether CAT
  14. The Flexible and Automatic Industrial Robot Drilling Control System Based on PC
  15. Research and Implementation of the New Mine Safety Monitoring System Based on TD-SCDMA
  16. Trajectory Control of New Intelligent Excavator
    ZhaoZuo ·Central South University ·2012 ·Master's thesis
  17. Study of Auto-dig Working Trajectory Controller of Loader’s Work Tools
    ZhongRongKang ·Zhejiang University ·2011 ·Master's thesis
  18. Research on the Control System of5-Axis NC Electrochemical Manuafacturing Machine Tool Based on PMAC
    ZhengXu ·Nanjing Agricultural College ·2011 ·Master's thesis
  19. Research on the Real-time Performance Evaluation and Optimizing Method of MIPS Architecture CNC System
  20. Foundational Research on Open Architecture CNC Systems Based on Real-Time Ehternet