Abstract

为了方便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.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call