Font Size: a A A

Research And Development Of New Dcs Configuration Software Script System

Posted on:2009-05-18Degree:MasterType:Thesis
Country:ChinaCandidate:P YueFull Text:PDF
GTID:2208360245996436Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
Configuration software is one kind of application software used in industrial automation, process monitoring and control applications, which provides man-machine interface for the automation project and achieves interconnection between Fieldbus control system and management network. Its appearance provides a means for automation engineering personnel to implement field control process and interface by using a modular method. Arbitrary combination of the modules can be used according to the requirements of the control target and control purpose from customer, which can not only meet different needs of the control target, but also shorten the software development time, and save development costs.However, as industrial automation evolves, people are raising higher expectations of the open features, maintainability and reusability of the configuration software. Providing reusability for configuration software is an important way to address the problems mentioned above. Many successful configuration software supports reusability of existing systems by script technology. The important and security-related functionalities are implemented by script in the configuration software developed by this mode. The script interprets and controls the instrument and implements the reusability of the functionalities of the configuration software.Judging from the current situation, some domestic industrial monitoring and control configuration software still uses C or Basic language as script. Although object-oriented script language is available in foreign countries, the portability between different platforms still needs to be improved. Based on the common structure of the industrial monitoring, control configuration software, the study of script function and development trend of configuration software, this paper develops the script module of new generation configuration software and flexibly addresses the reusability of configuration software by using object-oriented JavaScript as script language and using C language based, cross-platform and open source SpiderMonkey which is the bottom of the engine used in the browser Mozilla FireFox currently as script engine.The topic is the major scientific research projects of Science and Technology Office in Shandong Province: New Control System based on Industrial Ethernet and Fieldbus. Item number is: 31400004010437.It took more than a year to design requirements, development and testing.This paper thoroughly describes script module design of new generation configuration software based on JavaScript language and SpiderMonkey engine, which is divided into script configuration module and script engine module. They are both implemented by dynamic link library, provide many interfaces to interface with other modules of the configuration software and achieve real time communication of the whole system. Each module has a detailed requirement analysis, design, implementation and testing. The script configuration module is designed to make the configuration easy, which is divided into six kinds of actions to implement according to the different driver incident of each action. The script engine module acts as a JavaScript interpreter, which can interprete not only the basis of JavaScript but also the self-defined functions.In order to guarantee the safety of script, the script engine module provides a function of precompiler. Of all the modules within the system, the script uses COM technology to implement the data exchange with library module and multithreading is also implemented between different running modules. Through research and design of the author, the functionality that the configuration software platform running the customized script from customer is eventually realized.Finally, in according with the software testing norms, this paper also conducts thorough tests, which includes unit test, functional test and performance test to improve the functionality and optimize the performance of the script modules.
Keywords/Search Tags:Configuration Software, Script, JavaScript, SpiderMonkey, COM
PDF Full Text Request
Related items