论文部分内容阅读
使用Visual C++设计了一个基于C/S模式并用于过程控制的对象链接和嵌入(OPC)的客户端.通过该客户端成功地实现了Visual C++与SIEMENS Windows控制中心(WinCC)之间的动态数据交换.利用Visual C++中的ActiveX数据对象(ADO)数据库接口,把WinCC中的数据存储到结构化查询语言数据库服务器(SQL server)中,实现了实时过程数据从WinCC到标准数据库的转存,解决了WinCC自带数据库中的数据访问困难的问题,为用户访问提供了标准数据源.最后给出了具体的实现步骤.
A client based on C / S mode and used for process control object linking and embedding (OPC) was designed by using Visual C ++, through which the dynamic data between Visual C ++ and SIEMENS Windows Control Center (WinCC) was successfully realized Exchange. The use of ActiveX Data Objects (ADO) database interface in Visual C + +, the data stored in WinCC to the SQL database query server to achieve real-time process data from WinCC to the standard database dump, solve The problem of data access in WinCC own database is provided, which provides a standard data source for user access.Finally, the concrete implementation steps are given.