在工业控制中,需要对PLC进行监控,实现的方式可以是专门的组态软件,也可以是利用微软的应用程序开发工具。对中小型企业而言,后一种方式更显高效和灵活。本文介绍了如何通过 VC++编程,实现计算机与西门子S7-200 PLC之间的自由口通讯。%The monitoring of PLC during the industrial control process is necessary. Using the professional monitoring software or the application software developing tools of Microsoft is feasible. For small and media-sized enterprises, the latter method is more efficient and flexible. In this paper, the communication between PC and PLC through the free port of PLC by using the tool of VC++was introduced.
展开▼