摘要
本文使用跨平台的C++应用程序开发框架(Qt)及其图形视图框架(The Graphics View Architecture)以及信号与槽机制,结合C++标准模板库中的链表结构、运行时类型识别等技术,实现了PLC梯形图编程软件的总体框架设计;梯形图语言的主程序、子程序、中断程序的存储及图元的插入编辑操作等功能。
This paper uses the cross-platform C++ application development framework(Qt) and its Graphics View Architecture, as well as the signal and slot mechanism, combined with the C++ standard template library linked list structure, run-time type recognition technology to achieve the PLC Ladder diagram programming software overall framework design; ladder language main program, subroutine, interrupt program storage and primitive insert editing operation and other functions.
引文
[1]蒲志新,熊永超,熊晓红.PLC梯形图语言编辑功能的软件实现[J].机械,2003,30.
[2]Blanchette H,Summerfield M.C++Programming with Qt4[M].New York:Prentice Hall,2008:6.
[3]陆文周.Qt5开发及实例[M].北京:电子工业出版社,2015,205.
[4]姜琳.基于单片机的PLC设计与实现[D].东南大学,2008.
[5]李洪亮.基于IEC 61131-3标准的PLC仿真系统的研究与设计[D].山东大学,2010.
[6]朱兆斌.嵌入式数控系统软PLC模块的研究与实现[D].南京航空航天大学,2009.
[7]吴盼盼.梯形图与脚本语言互换方法的研究[D].杭州电子科技大学,2013.
[8]万伟.PLC编程语言开发平台的设计[D].武汉理工大学,2007.