基于 OPC 技术的 LabVIEW 与 PLCs 通信摘 要讨论虚拟仪器软件 LabVIEW 与可编程控制器 S7-200 PLC 的数据接口技术。应用美国国家仪器公司的 OPC 服务器和 LabVIEW 的 DSC 模块技术建立工作站与 PLC 软件的数据通信方式, 为 LabVIEW 环境下 PLC 软件控制系统的动态监控提供一种通用方法。OPC 接口技术的出现使工业自动化系统中独立单元之间的互联趋于标准化, 顺应了自动化系统向开放、 互操作、 网络化、 标准化方向进展的趋势,是自动化控制系统中很有进展前景的一种数据交换标准。美国国家仪器公司的 LabVIEW 是一种应用于领先工业软件的工具测试设计、 测量和工业控制系统。可编程逻辑控制器( PLC) , 或可编程序控制器是一个数字化的计算机用于自动化的工业生产过程, 如控制机械的工厂装配生产线。对于过程控制的对象连接与嵌入( OPC) 是一种标准进展的原始命名经过工业自动化的工业任务。NI OPC Servers 是一个 32 位的 Windows 应用窗口, 它能提供一种从工业设备和系统带入信息和数据进入到客户端的 PC 上。该论文探讨了如何利用 LabVIEW 数据记录和监控模块(DSC)和 OPC技术开发监控软件。LabVIEW8.6 DSC 既可作为 OPC Client 从现场设备猎取数据, 又可作为 OPC Server 为其它的应用软件提供一种便捷的数据访问方式。LabVlEW DSC 和 OPC 技术的结合为系统集成提供了一种高效的解决方案。关键词: LabVIEW, OPC,PLC,数据通信Based on OPC between LabVIEW and PLCs CommunicationAbstractA new technique of data exchange between LabVIEW and PLCs is presented in this paper.By using the OPC(OLE for Process Contro1)server of NI and the DSC technique of LabVIEW, a communication mode between LabVIEW and PLCs is built up.This paper provides a general means to monitor PLC control system on LabVIEW environment.National Instruments LabVIEW is an industry-leading software tool for designing test, measurement, and control systems.A programmable logic controller (PLC), or programmable controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines.OLE...