Font Size: a A A

Model-driven Graphical Control Program Design Technology

Posted on:2021-01-21Degree:MasterType:Thesis
Country:ChinaCandidate:W F QinFull Text:PDF
GTID:2428330620976893Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development and maturity of Internet technology,the traditional software code development model has been unable to meet the society's increasing demand for software and the increasingly diverse needs of users;the current development of graphical programming software generally exists to achieve Poor performance,resulting in problems such as long development cycles,poor expansion performance,and high maintenance costs;the traditional client-server framework mode programming software faces defects that are only used on a single machine and are strictly bound to the control system.In response to these current problems,this article applies the model-driven approach to the research of graphical programming based on Web technology.The main research contents of this topic are as follows:First,the technical foundation of the model-driven graphical control program is studied.Studied the IEC61131-3 standard software model and the functional block diagram programming language standard,mainly including the structural composition relationship of the software model,as well as the functional composition and function representation of the functional block;The basic idea of ??model-driven software development and the two core concepts of platform-independent model and platform-related model are studied,including the relationship between them and the relationship with instance objects;The related technology of graphic programming software development is studied,including industrial Internet Websocket communication and JSON specification.Secondly,according to the IEC61131-3 function block diagram programming language standard and the IEC61131-3 standard software model,the function block instruction structure and function block program structure are designed by analyzing the control instruction classification research and algorithm characteristics in the control system.At the same time,the function block model,function block program model and function block instruction relationship model are established,and a reasonable data structure is designed for its description attributes,which lays the foundation for the function block program editing,compilation,operation and other functions.Then,according to the function block description model,the function block program description model and the function block instruction relationship model,the function of the function block programming software is implemented.Design and develop function block description files and program storage files according to the function block description model and function block program description model.Use JSON to describe the function block instructions and function block programs,HTML + CSS for view display,java Script language for algorithm functions,and function block instructions and program view code generation program development.Through the establishment of the function block JSON description file library and the instruction algorithm function library,the unified encapsulation of the function block instructions is realized;the function block program storage file and the view code model are designed to realize the function block program view conversion.A grammar analyzer is designed to perform semantic and grammar checks on the function block program.According to the function block instruction connection relationship model,the function block program instruction execution sequence algorithm and target program design are realized.Finally,according to the function block instruction data flow model,the function block program simulation operation function is realized.Finally,write function block programming software to realize the function block encapsulation,program editing,inspection,compilation and simulation operation.Using this software,an algorithm instruction program and a program control instruction program are written,and the function of the software is verified.The results show that the software meets the program development needs of the control department in the field of industrial control.The development of graphical control programs by this method greatly reduces the difficulty of software development and maintenance costs,improves the efficiency of software development,and enhances the scalability of the software.
Keywords/Search Tags:Model-driven, Graphical Programming, Function Block, WEB
PDF Full Text Request
Related items