###
DOI:
计算机系统应用英文版:2011,20(12):64-69
本文二维码信息
码上扫一扫!
基于Qt的软PLC梯形图编辑软件的设计与实现
(1.中国科学院研究生院,北京 100049;2.中国科学院沈阳计算技术研究所,沈阳 110168)
Design and Implementation of SoftPLC Ladder Diagram Editing Software Based on Qt
(1.Graduate University, Chinese Academy of Sciences, Beijing 100049, China;2.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 2143次   下载 5519
Received:April 03, 2011    Revised:April 28, 2011
中文摘要: 本文重点是软PLC 梯形图编辑软件的设计与实现。采用跨平台能力很强的Qt 作为开发工具,能够将系统应用于多种操作平台,使系统具有更强的开放性;在对梯形图整体结构进行深入分析的基础上,利用面向对象的方法,对系统进行了类层次结构的设计,提高了软件开发的执行效率;采用双层双向链表存储梯形图,使得动态编辑操作更加方便、灵活;通过顺序扫描梯形图程序,将源语言转换为指令表程序,此方法使得转换过程相对简单。最后对软件进行测试,验证了设计方法的正确性与可用性。
中文关键词: Qt  梯形图  指令表  类层次  存储结构
Abstract: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.
文章编号:     中图分类号:    文献标志码:
基金项目:“高档数控机床与基础制造装备”国家科技重大专项(2011ZX04016-071)
引用文本:
陈雪,刘荫忠,徐恩松.基于Qt的软PLC梯形图编辑软件的设计与实现.计算机系统应用,2011,20(12):64-69
CHEN Xue,LIU Yin-Zhong,XU En-Song.Design and Implementation of SoftPLC Ladder Diagram Editing Software Based on Qt.COMPUTER SYSTEMS APPLICATIONS,2011,20(12):64-69