基于Linux的软PLC设计:综合逻辑控制器
发布时间:2023-11-20 20:50
可编程逻辑控制器(PLC)在自动化行业运用已超过40多年,但这些控制器仍不具备可互操作性。各厂商正在开发集成的、可重用的、柔性的、优化的PLC以适应迅速变化的竞争市场。在PLC的应用中,达到集成化和可重用的关键就是标准化。没有标准化就没有不同PLC间的兼容性。在标准国际化的指导思想下,出台了IEC6331标准,其中的第三部分定义了自动化工程的软件模型,以及5种开发语言。但各编程工具之间仍不具备真正的可重用性和通用性。 本文分析了PLC的集成开发环境(IDE),并提出了一种新的定义梯形图程序和梯形图元件的文件结构规范,以实现各PLC间的文件可相互使用。论文研究表明这种文件规范可以支持各种不同的接口。梯形图文件应支持的三种接口:(1)图形用户接口;(2)输入/输出接口;(3)与其它程序语言间的接口。同样,对于函数模块,也需要三种接口:(1)图形用户接口;(2)输入/输出接口;(3)与其它程序语言间的接口。梯形图的图形结构表明,与其它编程语言的接口就是所定义的文件规范本身。当有了标准化的PLC程序文件规范,就意味着有了与其它编程语言间的接口,但只有同时满足上述三种接口,PLC才具备可互操作性...
【文章页数】:71 页
【学位级别】:硕士
【文章目录】:
摘要
ABSTRACT
Table of Contents
CHAPTER 1 INTRODUCTION AND BACKGROUND
1.1 INTRODUCTION
1.2 BACKGROUND
1.3 SIGNIFICANCE OF THIS RESEARCH
1.4 METHODOLOGY
CHAPTER 2 PROGRAMMABLE LOGIC CONTROLLERS
2.1 HISTORICAL PERSPECTIVE
2.1.1 HARDWIRED LOGIC TO PROGRAMMABLE LOGIC
2.1.2 PROGRAMMING LANGUAGES
2.2 MODERN PLC
2.3 SOFT PLC
2.3.1 SOFTWARE PLC IMPLEMENTATION EXAMPLES
2.4 USER PROGRAM EXECUTION
CHAPTER 3 IDE USER INTERFACE
3.1 USER INTERFACE
3.2 DATA FLOW GRAPHS AND CONTROL DATA FLOW GRAPHS
3.2.1 DATA FLOW GRAPHS
3.2.2 CONTROL DATA FLOW GRAPHS
3.3 USER INTERFACE LANGUAGE
3.3.1 LANGUAGE SELECTION CDFG
3.3.2 DATA STRUCTURE AND IMPLEMENTATION
3.4 SUMMARY
CHAPTER 4 IDE LADDER DIAGRAM AND INSTRUCTION LIST
4.1 STRUCTURE OF TRADITIONAL COMPILER
4.2 LADDER DIAGRAM AS A PROGRAMMING LANGUAGE
4.3 GRAPHS
4.3.1 DEFINITION
4.3.2 GRAPH TRAVERSAL ALGORITHMS
4.4 LADDER DIAGRAM GRAPHICAL REPRESENTATION
4.4.1 LADDER DIAGRAM PROGRAM FILE
4.4.2 PROPOSED LADDER DIAGRAM PROGRAM FILE ARCHITECTURE
4.5 REPRESENTATION OF LD AND IL INTO AOV DIAGRAPH
4.5.1 AOV DIAGRAPH
4.5.2 LD NETWORK (GRAPH) AS A LD TREE
4.5.3 REVERSING THE TSDFS ALGORITHM
4.5.4 FURTHER ANALYSIS
4.5.5 SUMMARY
4.6 AOV DIAGRAPH AS INTERMEDIATE CODE
4.7 AUXILIARY VARIABLES, THE STACK AND THE AOV DIAGRAPH
4.7.1 STACKS
4.7.2 AUXILIARY VARIABLES
4.8 MODIFIED IEC 61131-3 IL
4.9 IL OPTIMIZATION
4.9.1 xNODE’s Precedence Criterion
4.9.2 SIMPLE BRANCHES TO TNODES
4.10 SUMMARY
CHAPTER 5 LADDER DIAGRAM GRAPHICAL ELEMENTS
5.1 MODELING OBJECT ELEMENTS
5.2 DATA STRUCTURES
5.2.1 Structures
5.2.2 Unions
5.3 DEFINING A FB IN LD LANGUAGE
5.3.1 PROGRAM ORGANIZATION UNIT
5.3.2 DESIGNING GRAPHICAL ELEMENTS
5.4 INTEGRATED GRAPHICAL INTERFACE
5.4.1 LITERATURE REVIEW
5.4.2 STRUCTURE OF USER-DEFINED FUNCTIONS – A STUDY
5.4.3 FILE SYSTEM FOR THE USER DEFINED FUNCTIONS
5.4.4 PROPOSED ARCHITECTURE
CHAPTER 6 CONCLUSIONS AND FUTURE WORK
6.1 CONCLUSION
6.2 FUTURE WORK
Bibliography
攻读硕士学位期间取得的研究成果
Acknowledgements
附件
本文编号:3865814
【文章页数】:71 页
【学位级别】:硕士
【文章目录】:
摘要
ABSTRACT
Table of Contents
CHAPTER 1 INTRODUCTION AND BACKGROUND
1.1 INTRODUCTION
1.2 BACKGROUND
1.3 SIGNIFICANCE OF THIS RESEARCH
1.4 METHODOLOGY
CHAPTER 2 PROGRAMMABLE LOGIC CONTROLLERS
2.1 HISTORICAL PERSPECTIVE
2.1.1 HARDWIRED LOGIC TO PROGRAMMABLE LOGIC
2.1.2 PROGRAMMING LANGUAGES
2.2 MODERN PLC
2.3 SOFT PLC
2.3.1 SOFTWARE PLC IMPLEMENTATION EXAMPLES
2.4 USER PROGRAM EXECUTION
CHAPTER 3 IDE USER INTERFACE
3.1 USER INTERFACE
3.2 DATA FLOW GRAPHS AND CONTROL DATA FLOW GRAPHS
3.2.1 DATA FLOW GRAPHS
3.2.2 CONTROL DATA FLOW GRAPHS
3.3 USER INTERFACE LANGUAGE
3.3.1 LANGUAGE SELECTION CDFG
3.3.2 DATA STRUCTURE AND IMPLEMENTATION
3.4 SUMMARY
CHAPTER 4 IDE LADDER DIAGRAM AND INSTRUCTION LIST
4.1 STRUCTURE OF TRADITIONAL COMPILER
4.2 LADDER DIAGRAM AS A PROGRAMMING LANGUAGE
4.3 GRAPHS
4.3.1 DEFINITION
4.3.2 GRAPH TRAVERSAL ALGORITHMS
4.4 LADDER DIAGRAM GRAPHICAL REPRESENTATION
4.4.1 LADDER DIAGRAM PROGRAM FILE
4.4.2 PROPOSED LADDER DIAGRAM PROGRAM FILE ARCHITECTURE
4.5 REPRESENTATION OF LD AND IL INTO AOV DIAGRAPH
4.5.1 AOV DIAGRAPH
4.5.2 LD NETWORK (GRAPH) AS A LD TREE
4.5.3 REVERSING THE TSDFS ALGORITHM
4.5.4 FURTHER ANALYSIS
4.5.5 SUMMARY
4.6 AOV DIAGRAPH AS INTERMEDIATE CODE
4.7 AUXILIARY VARIABLES, THE STACK AND THE AOV DIAGRAPH
4.7.1 STACKS
4.7.2 AUXILIARY VARIABLES
4.8 MODIFIED IEC 61131-3 IL
4.9 IL OPTIMIZATION
4.9.1 xNODE’s Precedence Criterion
4.9.2 SIMPLE BRANCHES TO TNODES
4.10 SUMMARY
CHAPTER 5 LADDER DIAGRAM GRAPHICAL ELEMENTS
5.1 MODELING OBJECT ELEMENTS
5.2 DATA STRUCTURES
5.2.1 Structures
5.2.2 Unions
5.3 DEFINING A FB IN LD LANGUAGE
5.3.1 PROGRAM ORGANIZATION UNIT
5.3.2 DESIGNING GRAPHICAL ELEMENTS
5.4 INTEGRATED GRAPHICAL INTERFACE
5.4.1 LITERATURE REVIEW
5.4.2 STRUCTURE OF USER-DEFINED FUNCTIONS – A STUDY
5.4.3 FILE SYSTEM FOR THE USER DEFINED FUNCTIONS
5.4.4 PROPOSED ARCHITECTURE
CHAPTER 6 CONCLUSIONS AND FUTURE WORK
6.1 CONCLUSION
6.2 FUTURE WORK
Bibliography
攻读硕士学位期间取得的研究成果
Acknowledgements
附件
本文编号:3865814
本文链接:https://www.wllwen.com/shekelunwen/ljx/3865814.html