基于QT的PLC梯形图编辑系统设计与实现
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Design and Implementation of PLC LAD Editing System Based on QT
  • 作者:李驰骎 ; 王庭有 ; 李应春 ; 杨安园
  • 英文作者:LI Chi-qin;WANG Ting-you;LI Ying-chun;YANG An-yuan;Faculty of Mechanical and Electrical Engineering,Kunming University of Science and Technology;Faculty of Mechanical and Automotive Engineering,Kaifeng University;
  • 关键词:可编程控制器 ; 梯形图 ; QT ; 存储结构 ; 图元管理
  • 英文关键词:programmable logic controller;;ladder diagram;;QT;;storage scheme;;primitive management
  • 中文刊名:RJDK
  • 英文刊名:Software Guide
  • 机构:昆明理工大学机电工程学院;开封大学机械与汽车工程学院;
  • 出版日期:2019-01-04 11:05
  • 出版单位:软件导刊
  • 年:2019
  • 期:v.18;No.196
  • 语种:中文;
  • 页:RJDK201902020
  • 页数:4
  • CN:02
  • ISSN:42-1671/TP
  • 分类号:78-81
摘要
为了探索PLC梯形图编辑系统的设计方法,从梯形图编程系统设计需求出发,分析传统梯形图网络的不足,采用一种高自由度的网络拓扑结构描述梯形图网络,并根据该网络拓扑结构提出一种分布式存储方案,实现梯形图图元之间的连接关系存储。基于QT图形框架采用面向对象的软件方法实现梯形图标准图元创建、连接关系建立、图元删除等功能。完成梯形图编辑系统设计后,对图元管理、各种指令调用进行编辑测试,结果表明该系统设计方法可行。
        In order to explore the design method of PLC ladder diagram(LAD)editor system,we start with the overall requirements of LAD editor system,analyze the shortcomings of the traditional LAD network,and use a high-degree-of-freedom network topology to describe LAD network. According to the network topology,a distributed storage scheme is proposed to implement the storage of connec?tion relationships between LAD primitives. The object-oriented software method based on the QT graphics framework is used to realize the functions of creating ladder diagram standard primitives,establishing connection relationships and deleting primitives. After com?pleting the design of the ladder diagram editing system,we tested the management of graphic elements and various instructions. No problems were found during the process. The results shows that the method of designing the ladder diagram editing system proposed in this paper is feasible.
引文
[1]欧阳三泰,周琴,欧阳希.软PLC控制技术综述[J].电气传动,2005(9):52-54.
    [2] GREGOR K,GIOVANNI G,STANKO S. A new approach to PLC soft?ware design[J]. ISA Transactions,2003,42(2):167-171.
    [3]赵雨生,高美凤.一种梯形图编程系统的研究与实现方法[J].工业控制计算机,2008(6):34-35.
    [4] MILIK A. Multiple-core PLC CPU implementation and programming[J]. Journal of Circuits,Systems and Computers,2018,27(10):162-185.
    [5] PRAHOFER H,ANGERER F,RAMLER R,et al. Static code analy?sis of iec 61131-3 programs:comprehensive tool support and experi?ences from large-scale industrial application[J]. IEEE Transactionson Industrial Informatics,2017,13(1):37-47.
    [6] DEVEZA T,MARTINS J F. PLC control and Matlab/Simulink simula?tions:a translation approach[C]. Mallorca,Spain:Emerging Tech?nologies&Factory Automation,2009.
    [7] KIM H S,KWON W H,CHANG N. A translation method for ladderdiagram with application to a manufacturing process[C]. Detroit,MI,USA:International Conference on Robotics and Automation,1999.
    [8] MOONGA K H,LINRU Y,SHAOJUN L. Algorithm for compiling un?restricted ladder diagram to IEC 61131-3 compliant instruction list[J]. Lecture Notes in Engineering and Computer Science,2011,2191(1):949-954.
    [9] FEN G,NING W. A transformation algorithm of ladder diagram into in?struction list based on AOV digraph and binary tree[C]. Hong Kong:IEEE Region 10 Conference,2006.
    [10] YAN Y,ZHANG H. Compiling ladder diagram into instruction list tocomply with IEC 61131-3[J]. Computers in Industry,2010,61(5):448-462.
    [11] ASENSIO J,ORTU?O F,DAMAS M,et al. Industrial automationprogramming environment with a new translation algorithm amongIEC 61131-3 languages based on the TC6-XML scheme[J]. Interna?tional Journal of Automation and Control Engineering,2013(2):47-55.
    [12]李慧亮.基于IEC61131-3标准的IL语言编译器的设计与实现[D].西安:西安电子科技大学,2014.
    [13]韩江,段少磊,夏链,等. PLC梯形图向指令表转化的算法研究与实现[J].组合机床与自动化加工技术,2013(11):61-63
    [14]吴盼盼.梯形图与脚本语言互换方法的研究[D].杭州:杭州电子科技大学,2013.
    [15]黄健.基于ARM与FPGA的PLC及其梯形图编程系统设计[D].广州:华南理工大学,2016.
    [16]杨观赐,陈占杰,李少波,等.面向智能控制的软PLC中梯形图的动态解析方法[J].贵州大学学报:自然科学版,2016,33(6):43-47.
    [17]韩兵兵. PLC梯形图编程系统研究与实现[D].广州:华南理工大学,2013.
    [18]吴玉香,郭建勋,周建香.嵌入式软PLC编程系统的设计[J].控制工程,2010,17(3):363-366.
    [19]胡飞虎,傅亮,刘乐.基于表格技术的软PLC梯形图编辑软件[J].微计算机信息,2009,25(19):227-229.
    [20]徐德刚,黄江波,刘育峰,等.基于能流的梯形图到指令表转换方法研究[J].控制工程,2017,24(2):243-249.
    [21] BLANCHETTE J,SUMMERFIELD M. C++GUIQt4编程[M].第2版.北京:电子工业出版社,2008.
    [22]苏淑芝.软PLC梯形图编程系统的研究与实现[D].广州:华南理工大学,2012.
    [23] SUMMERFIELD M. Qt高级编程[M].北京:电子工业出版社,2011.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700