{$cfg_webname}
主页 > 电子信息 > 论文 >

基于web的软PLC编辑器开发设计

来源:56doc.com  资料编号:5D21214 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D21214
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

基于web的软PLC编辑器开发设计(任务书,开题报告,论文说明书18000字)
摘要
随着通信技术和世界互联网的高速发展,web技术得到了广泛的应用,各类在线APP和web应用为用户提供各类服务,不断改变着用户习惯。
移动互联网的到来打破了传统Wintel联盟的垄断,用户从桌面端渐渐转移到了移动端,新兴的移动端应用也广泛采取“跨平台web应用开发”模式。越来越多的本地应用为了节省开发成本和达到跨平台的效果采用web应用方式,即将本地应用转移到云端,用户使用浏览器登录应用即可,无需在本地安装相关应用和依赖,这为用户带来了极大的便利。
在互联网+和智能制造的大环境下,机器人及相关技术必将得到国家和社会的推广和大力发展。PLC是机器人的灵魂,PLC的研发是一个系统的工程,软件开发环境是PLC的重要组成部分。IEC 61131-3是国际电工委员会(IEC)参考并借鉴了当下各个厂商不同版本的PLC编程语言而定制的国际标准,该标准为软PLC提供了规范化标准化的编程方法。
本课题的任务是构建一个用户友好的基于web的软PLC编辑器。论文分析了国内外PLC软件开发环境发展,并按照软件工程的思想和规范对基于IEC 61131-3标准所支持的五种编程语言进行分析和总结。该编辑器支持文本类语言IL、ST和C++语言的编写,支持语法高亮与代码自动补全;支持图形化语言FBD、LD和SFC的编辑和保存;编辑器嵌入GIT版本控制。每个用户都有自己独立的工作空间并实现云端存储文件、本地下载、上传文件功能。
本文先介绍课题的主要技术背景,包括各类前后台开发框架的介绍和选择。然后对各类选择的关键技术展开充分的分析与研究,为后期开发奠定理论基础。按照软件工程的开发模式完成需求分析、概要设计、详细设计、编码与软件测试等流程,构建具有相当鲁棒性的应用,从整体上提高系统的稳定性和性能。

关键词:IEC 61131-3;web应用;编辑器;软件工程
Abstract
With the rapid development of communication technology and the world Internet, web technology has been widely used. All kinds of online APPs and web applications provide various services for users, constantly changing user’shabits.
The advent of the mobile Internet has broken the monopoly of the traditional Wintel ‘s alliance. The users have gradually transferred from the desktop to the mobile terminal. The new mobile terminal applications also widely adopt the "cross platform web application and development" model. More and more local applications in order to save the cost of development and achieve the effect of cross platform use web application mode, the local application is transferred to the cloud, users can use the browser to land applications, without local installation of related applications and dependence, which has brought great convenience to the user.
In Internet plus and intelligent manufacturing environment, robot and related technology will be vigorously promoted and the development of the country and society. PLC is the soul of robots. The development of PLC is a systematic project, and the software development environment is an important part of PLC. IEC 61131-3 is the international standard of PLC programming language issued by the International Electrotechnical Commission (IEC). This standard provides a standardized and standardized programming method for soft PLC.
The task of this project is to build a user friendly web based soft PLC editor. This paper analyzes the development of PLC software development environment at home and abroad, and analyzes and summarizes the five programming languages supported by base and IEC 61131-3 standards in accordance with the ideas and standards of software engineering. The editor supports the writing of text class languages IL, ST, and C++ languages, supporting syntax highlighting and automatic code completion; supporting graphical language FBD, LD, and SFC editing and saving; editors embed GIT version control. Each user has his own independent working space to realize cloud storage files, local downloading and uploading files.
This article first introduces the main technical background of the project, including the introduction and selection of various front and back stage development frameworks. Then, the key technologies of all kinds of selection are fully analyzed and studied, laying a theoretical foundation for later development. In accordance with the development mode of software engineering, the process of requirement analysis, outline design, detailed design, coding and software testing is completed, and a fairly robust application is constructed to improve the stability and performance of the system as a whole.
KEY WORDS:IEC 61131-3; web application; editor; software engineer
 
目录
第1章绪论    1
1.1 PLC的发展趋势    1
1.2 PLC开发环境的国内外发展情况    1
1.3互联网技术发展趋势    2
1.4课题研究的目的及意义    3
1.5论文的组织结构    3
第2章相关技术    5
2.1前端开发    5
2.1.1 HTTP协议    5
2.1.2 HTML5 + CSS3 + JavaScript前端开发    7
2.1.3 Jquery框架    8
2.1.4 ACE框架    9
2.1.5 mxGraph框架    10
2.1.6 DOJO框架    11
2.1.7 zTree组件    13
2.1.8 AJAX异步传输    14
2.2 Node.js开发平台    15
2.2.1 Node.js系统架构    15
2.2.2 Node.js工作原理    16
2.2.3 Node.js模块管理    17
2.3 Node.js开发框架Express    18
2.4 MongoDB数据库    19
2.4.1 NoSQL介绍    19
2.4.2 MongoDB介绍    19
2.5本章小结    20
3 系统需求分析    21
3.1需求分析    21
3.2可行性分析    21
3.3 本章小结    22
4 系统概要设计    23
4.1系统架构设计    23
4.2 用户界面设计    24
4.3服务端功能模块设计    25
4.4数据库设计    26
4.5本章小结    28
5系统详细设计与实现    29
5.1用户界面设计与实现    29
5.1.1登录界面实现    29
5.1.2编辑器UI框架实现    29
5.2服务器功能模块设计与实现    38
5.3本章小结    51
6系统测试    52
6.1功能测试    52
6.2 本章小结    54
7总结与展望    55
参考文献    56
致谢    58

推荐资料