计算机科学与应用

Vol.6 No.3 (March 2016)

基于虚拟串口的PLC设备远程监控软件的程序传输方法
Program Transmission Method of PLC Equipments’ Remote Monitoring Software Based on Virtual Serial Port

 

作者:

陈含思 :东南大学自动化学院,江苏 南京

叶桦 , 仰燕兰 :东南大学自动化学院,江苏 南京;东南大学复杂工程系统测量与控制教育部重点实验室,江苏 南京

 

关键词:

虚拟串口PLC程序远程监控串口通信TCP/IPVirtual Serial Port PLC Program Remote Monitoring Serial Communication TCP/IP

 

摘要:

为了方便PLC设备维护人员在设备出现故障时进行问题排查和程序调试,本文设计了基于虚拟串口的PLC设备远程监控的程序传输方法,实现了程序的高效稳定传输。本文使用Microsoft.NET的MFC开发平台编程实现,为用户提供友好的操作界面,并充分利用MFC的多线程技术和串口控件,搭建了基于虚拟串口的串口通信和基于TCP/IP协议的网络通讯的传输结构。本文给出了两种通讯方式下通讯协议的设计和通讯接口的具体实现,并对程序传输进行了测试。

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.

文章引用:

陈含思 , 叶桦 , 仰燕兰 (2016) 基于虚拟串口的PLC设备远程监控软件的程序传输方法。 计算机科学与应用, 6, 110-118. doi: 10.12677/CSA.2016.63014

 

参考文献

分享
Top