摘要
在全面推进"中国制造2025"的大背景下,PLC使用率逐渐增长。为了提升我国工业自动化水平,有必要开发自有可编程控制器软件。文中设计是基于VC++的MFC中用来设计框架的CMainFrame类。应用实验表明,此款梯形图编程软件已经实现了以下功能:梯形图的绘制功能、梯形图的图形编辑功能、梯形图的元素属性的标注功能、梯形图的保存功能等。
Under the background of comprehensively promoting " Made in China 2025",PLC usage has gradually increased. In order to improve the level of industrial automation in China,it is necessary to develop our own programmable controller software. The design in this paper is based on the CMainFrame class whic used to design the framework in MVC for VC + +. Application experiments show that this ladder programming software has realized the following functions: the drawing function of the ladder diagram,the graphic editing function of the ladder diagram,the labeling function of the element attributes of the ladder diagram,and the saving function of the ladder diagram.
引文
[1] Hyung S K,Dong S K,Nawhyuck C. Compiling Ladder Diagram into Instruction List to comply with IEC 61131-3[J]. Computers in Industry,2010,61(10):448-462.
[2]Kazuo Y. A study on the generation of silicon-based hardware PLC by means of the direct conversion of the ladder diagram to circuit design language[J]. Manuf Technol,2010,49:615-626.
[3]Asensio J,Ortu1o F,Damas M,et al. Industrial Automation Programming Environment with a New Translation Algorithm among IEC611313 Languages Based on the TC6-XML Scheme[J]. International Journal of Automation and Control Engineering,2013,2(2):47-55.
[4]钟炜.基于单片机的嵌入式PLC软开发[D].贵阳:贵州大学,2015.
[5]李清流.基于以太网接口的PLC上位机通讯系统设计[J].PLC&FA,2005,7:61-64.