基于Qt的软PLC梯形图编辑软件的设计与实现  被引量:7

Design and Implementation of SoftPLC Ladder Diagram Editing Software Based on Qt

在线阅读下载全文

作  者:陈雪[1,2] 刘荫忠[2] 徐恩松[1,2] 

机构地区:[1]中国科学院研究生院,北京100049 [2]中国科学院沈阳计算技术研究所,沈阳110168

出  处:《计算机系统应用》2011年第12期64-69,共6页Computer Systems & Applications

基  金:"高档数控机床与基础制造装备"国家科技重大专项(2011ZX04016-071)

摘  要:本文重点是软PLC梯形图编辑软件的设计与实现。采用跨平台能力很强的Qt作为开发工具,能够将系统应用于多种操作平台,使系统具有更强的开放性;在对梯形图整体结构进行深入分析的基础上,利用面向对象的方法,对系统进行了类层次结构的设计,提高了软件开发的执行效率;采用双层双向链表存储梯形图,使得动态编辑操作更加方便、灵活;通过顺序扫描梯形图程序,将源语言转换为指令表程序,此方法使得转换过程相对简单。最后对软件进行测试,验证了设计方法的正确性与可用性。This paper mainly introduces the design and performance of SoftPLC Ladder Diagram editing software. Adoppting Qt as the developing tool which applied in multi-operating system, so the system is more opening. Based on in-depth analysis of the ladder diagram's overall structure, the systerm's class hierarchy is designed using object-oriented method, which enhances the efficiency of the software. Applying the storage structure of double layer and double linked list makes the dynamic editing operations more flexible and convenient. The source language converted to instruction list through sequential scanning the ladder diagram makes the process simpler. At last, the experimental results in testing the software show that the design method is accurate and feasible.

关 键 词:QT 梯形图 指令表 类层次 存储结构 

分 类 号:TP273[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象