摘要
介绍了可编程控制器与计算机进行串行通信链接的硬件配置、上下位机的通信协议,并对PLC和计算机的各种通信方式及旋压机的通信要求进行了比较和分析后,确定了旋压机控制系统的通信方式,着重阐述了基于VC++ 6.0的通信实现过程,最后给出了以旋压机控制系统应用为例的详细通信程序。
It introduces the hardware configuration of serial communication link and the communic - ation protocol between programmable logic controller and host computer. Through comparing and analyzing the various communications between computer and PLC, and the communication requirements of the spinning machine, it designs the communication about the control system of spinning machine and expounds the realization of communication based on the VC + +. It shows the detail communication program about the application of the spinning machine control system.