摘要
本文基于OPC(OLE for Process Control)技术的基本原理,重点介绍了通过组态软件RSView实现VC 应用程序与PLC的通信方法;详细介绍了RSView32作为OPC服务器的设置方法和VC作为PC客户的实现代码。
Based on the basic principle of OPC, data communication between VC application program and PLC is introduced in this paper. Especially the method to set RSView32 fbr OPC server and the code to make VC for OPC client are illustrated in detail.