Research and development of new DCS configuration software script

Author
YuePing
Advisor
LiZhengJun
School
Shandong University
Major
Control Theory and Control Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
218
Citations
5

Request the full text

Abstract

Configuration software for industrial automation and process monitoring applications, it provides for the automation project man-machine interface, fieldbus control system and management network interconnection. It appears for automation engineering and technical personnel to provide a way of using the building blocks of the production site to control the process and control interface tools. It can according to the user requirements of the controlled object and control purposes between modules in any combination, not only to meet the individual needs of the controlled object, and also shorten the software development time, save development costs. However, with the increasing levels of industrial automation, configuration software openness, maintainability and reusability proposed higher requirements. Configuration software secondary development function to become an important way to meet the above requirements, the many successful configuration system scripting technology to support secondary development of the existing system. Configuration system developed using this mode under normal circumstances to leave some important security features of its own script, the script interpreter device to control and use, heavy use of configuration software functions. From the current situation, the domestic industrial monitoring configuration software remains in the C or Basic language as the script level, while foreign object-oriented scripting language, but portability between platforms is not perfect. Based on the common structure of the industrial control configuration software, study the configuration software script function status quo and development trend based on object-oriented JavaScript as the scripting language and creatively uses the underlying Mozilla FireFox browser cross-platform open source kernel SpiderMonkey engine - based on the C language as a scripting engine research and development of novel the script configuration software module, more flexible, more secure solution the secondary development issues of the configuration software. The source of this project is a major scientific and technological project of the Shandong Province Science and Technology Department: a new control system based on industrial Ethernet and fieldbus technology, item number 31400004010437. The subject completed design needs to develop and, after more than a year to pass the test. This paper describes the JavaScript language SpiderMonkey engine of the new configuration software script module design, divided into script configuration module and script engine module, adopt the form of a dynamic link library implementation, and provide a lot of interface and configuration software module convergence, the completion of the overall system of real-time communication. According to the model of software development, each module conducted a detailed needs analysis, risk analysis, design and implementation, and software testing. Script configuration module configuration interface for convenient scripting be achieved, depending on the script action driven events, divided into six action script. The role of the scripting engine module is a JavaScript script interpreter, and be able to explain the basis of the JavaScript built-in objects, functions, etc., and also implements support for custom objects and functions and interpretation. In addition to be able to explain the normal script engine module script precompiled troubleshooter, to ensure that the configuration of the security of the script. Each module in the system, the data exchange between the script and database module using COM technology, graphical interface between the operating environment to achieve multi-thread calls. Ultimately realized through research design, configuration software can perform the function of the script code developed by the user according to their needs. Finally, according to the software test specification script module design completed thorough testing, including unit and functional testing, system testing and the entire configuration software system, so that the function has been improved, the performance has been optimized.

Table of contents

Directory 4-8 summary 8-10 ABSTRACT 10-12 Chapter 1 Introduction 12-18 1.1 subject research background and significance 12-13 the status quo and development trend of 1.2 configuration software 13-15 the script 1.3 configuration software importance and Research 15-16 1.4 research 16-17 1.5 innovation 17 1.6 Summary 17-18 Chapter 2 configuration software systems analysis and design 18-24 2.1 new distributed control system structure 18-20 2.2 configuration software architecture design 20-22 2.3 software development model 22-23 2.4 Summary 23-24 Chapter 3 configuration software script module 24-34 3.1 several comprehensive evaluation of object-oriented scripting language 24-25 3.2 JavaScript. technologies 25-27 3.2.1 JavaScript characteristics 25-26 3.2.2 several JavaScript language scripting engine performance evaluation 26-27 3.3 SpiderMonkey About 27-32 3.3.1 the script interpretation of the implementation process 27-28 3.3.2 SpiderMonkey use 28-32 3.4 Summary 32-34 Chapter 4 configuration software script configuration module design and implementation 34-46 4.1 script configuration module needs analysis 34-36 the a 4.1.1 message-driven mechanisms 35 4.1.2 ActionScript classification 35-36 the 4.1.3 script configuration module functional requirements 36 4.2 script configuration module detailed design 36-44 the 4.2.1 main interface design to achieve 36-39 the the 4.2.2 configuration interface function achieve 39-44 4.2.3 script configuration module interface design and implementation 44 4.3 Summary 44-46 Chapter 5 of SpiderMonkey of scripting engine module-based design 46-69 5.1 scripting engine module demand analysis 46-47 the the 5.1.1 script engine module designed to 46 the the the 5.1.2 script engine module functional requirements 46-47 5.2 scripting engine module detailed design 47-60 5.2.1 Engine Framework Design 47-48 5.2.2 realize the need for custom objects and methods 48-49 5.2.3 custom object implementations 49-56 5.2.4 custom implementation of the method 56-58 5.2.5 precompiled error detection function to achieve 58-59 5.2.6 script engine module interface design and implementation 59-60 5.3 scripting engine and database module data exchange 60-66 5.3.1 COM features and interface technology 60-62 5.3.2 single-threaded interface call 62-63 5.3.3 multi-threaded interface call 63-64 5.3.4 scripting engine database component interface calls 64-66 5.4 scripting engine support dynamic screen 66-68 5.5 Summary 68-69 Chapter 6 test configuration software script module 69-80 6.1 test design 69-70 6.2 scripting engine unit test 70-72 6.3 scripting engine function test 72-74 6.4 configuration software system test 74-79 6.4.1 test system ready 74-76 6.4.2 system detailed test 76-79 6.5 Summary 79-80 Chapter 7 Summary and Outlook 80-82 7.1 topics summarize 80-81 7.2 Looking 81-82 the References 82-86 Acknowledgements 86-87 of research in the master's degree during 87-88 the Dissertation reviewers and the respondent table 88

Related dissertations

  1. The Design and Development of Configuration Software Based on Qt
    LiDongMei ·Dalian University of Technology ·2012 ·Master's thesis
  2. Design and Implementation of Bulk Grain Monitoring System Based on the Fame View
    WangLing ·Wuhan University of Technology ·2008 ·Master's thesis
  3. R&D of Configuration Software and its Application in Visual Programming of CNC
    HuLingZuo ·Shanghai Jiaotong University ·2006 ·Master's thesis
  4. Configuration Software Based on COM Technology Research and Implementation
  5. Research and Implementation of FCS Configuration Technology Based on COM Component
    LuAiPing ·Daqing Petroleum Institute ·2003 ·Master's thesis
  6. The Research and Realization of Component Technology for WEB Configuration Software
    BaoYanNi ·Dalian University of Technology ·2006 ·Master's thesis
  7. The Design of Diminutive Configuration Software of Distributed Control System
    ShenZuoLi ·Huazhong Agricultural University ·2005 ·Master's thesis
  8. Embedded browser JavaScript Design and Implementation
  9. Development of Configuration Software for Engine Assembly Monitor System
    LiuXiaoYang ·Dalian Polytechnic University ·2008 ·Master's thesis
  10. Design and Development of Production Process Monitoring and Controlling System for Potassium Ammonium Chloride
  11. Design of Monitoring System in Oilfield Metering Station Based on PLC
  12. Research on Tunnel Monitoring System Key Technology
    ChenGuangJing ·Xi'an University of Petroleum ·2013 ·Master's thesis
  13. Automatic Monitoring System for Preparation and Pumping of the Filling Paste
    GuoKeWei ·Hebei University of Engineering ·2013 ·Master's thesis
  14. Design and Implementation of Monitoring System for Industrial Rice Breeding
  15. The Research and Development of Intelligence Greenhouse Control System
    ZuoGuiLi ·Guangxi University ·2012 ·Master's thesis
  16. Design and Implementation of Heilongjiang Bayi Agricultural University Campus Landscape Control System
  17. Design and Implementation of Pattern Evaluation Management System for Liaoning Provincial Institute of Measurement
    ZhangHuan ·Northeastern University ·2013 ·Master's thesis
  18. Design and Implementation of Automatic Water Supply System Base on MCGS Configuration Software and Programmable Logic Controller
    WuZuo ·Xiamen University ·2013 ·Master's thesis
  19. Design and Implementation of Enterprise Talents in Nanping City Recruitment Management System
  20. Design and Implementation of Shangqiu Technician College Bookstore