基于虚拟串口的PLC设备远程监控软件的程序传输方法
Program Transmission Method of PLC Equipments’ Remote Monitoring Software Based on Virtual Serial Port
DOI: 10.12677/CSA.2016.63014, PDF, HTML, XML,  被引量 下载: 2,735  浏览: 6,573 
作者: 陈含思:东南大学自动化学院,江苏 南京;叶桦, 仰燕兰:东南大学自动化学院,江苏 南京;东南大学复杂工程系统测量与控制教育部重点实验室,江苏 南京
关键词: 虚拟串口PLC程序远程监控串口通信TCP/IPVirtual Serial Port PLC Program Remote Monitoring Serial Communication TCP/IP
摘要: 为了方便PLC设备维护人员在设备出现故障时进行问题排查和程序调试,本文设计了基于虚拟串口的PLC设备远程监控的程序传输方法,实现了程序的高效稳定传输。本文使用Microsoft.NET的MFC开发平台编程实现,为用户提供友好的操作界面,并充分利用MFC的多线程技术和串口控件,搭建了基于虚拟串口的串口通信和基于TCP/IP协议的网络通讯的传输结构。本文给出了两种通讯方式下通讯协议的设计和通讯接口的具体实现,并对程序传输进行了测试。
Abstract: In order to facilitate trouble shooting and program debugging for the PLC equipment maintenance personnel when the equipments malfunction, the program transmission method of PLC equipments’ remote monitoring software based on virtual serial port is designed. And this method realizes the efficient and stable transmission of the program. This software is developed based on the MFC (Microsoft Foundation Classes) platform in Microsoft.NET, which provides users a friendly operation interface. This software makes full use of multi-thread technique and serial communication control, building the transmission structure which is made of serial communication based on virtual serial port and network communication based on the TCP/IP protocol. The design of communication protocols and the concrete realization of communication interface are given with program transmission tested in this paper.
文章引用:陈含思, 叶桦, 仰燕兰. 基于虚拟串口的PLC设备远程监控软件的程序传输方法[J]. 计算机科学与应用, 2016, 6(3): 110-118. http://dx.doi.org/10.12677/CSA.2016.63014

参考文献

[1] 刘天浩. 可编程控制器PLC的现状及应用分析[J]. 科技信息(科学教研), 2007(13): 318-456.
[2] 张全伟. Plc设备应用与维护[J]. 数字技术与应用, 2010(3): 20.
[3] CP1H型PLC产品规格书. 欧姆龙自动化(中国)有限公司[EB/OL]. http://www.fa.omron.com.cn, 2014, 12.
[4] CX-Programmer使用指南. 欧姆龙自动化(中国)有限公司[EB/OL]. http://www.fa.omron.com.cn/products/family/1605/download/manual.html
[5] 江西财经大学国贸学院. 南昌. 开发虚拟串口驱动程序[N]. 计算机世界, 2005-01-03C15.
[6] 董红政, 王忠勇, 史晓鹏. 基于MSComm控件实现串行通信的方法[J]. 网络与通信, 2007, 23(27).
[7] Yang, L.F. (2008) The Programming Technique of Multi-thread Based on MFC. Journal of Yangzhou Polytechnic Col- lege, 12, 38-41(Ch).
[8] 徐建, 贾民平, 许飞云, 等. 基于TCP/IP的状态监测系统通讯模块的研发[J]. 机械制造与自动化, 2007, 36(2): 85-87.
[9] 邓素杰. 基于Socket的TCP/IP网络通讯模式研究[J]. 计算机光盘软件与应用, 2013(20): 302-302, 304.