引用本文:张俊彪,王鸿辉,何长安.基于OPC Server的PC与S7-300/400的通信[J].电力自动化设备,2007,27(4):83-86
.Communication between S7-300/400 and OPC Server-based PC[J].Electric Power Automation Equipment,2007,27(4):83-86
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3900次   下载 2023 本文二维码信息
码上扫一扫!
基于OPC Server的PC与S7-300/400的通信
张俊彪,王鸿辉,何长安
作者单位
摘要:
西门子S7-300/400系列可编程逻辑控制器(PLC)是基于现场总线网络的节点控制器,其通信协议不开放增加了在Lab Windows/CVI等平台上开发通信驱动软件的难度。提出利用OPC(OLE for Process Control)接口技术解决应用软件与各种设备驱动程序的通信。在PC机上创建OPC服务器,使用Simatic NET软件建立Profibus-DP网络实现OPC服务器与S7-300/400系列PLC输入、输出接口点对点的连接。叙述了配置PC站、设置主/从机、与PC机建立连接的步骤。该方案已成功地应用于某控制系统中。
关键词:  可编程逻辑控制器,OPC服务器,通信
DOI:
分类号:TN915
基金项目:
Communication between S7-300/400 and OPC Server-based PC
ZHANG Jun-biao  WANG Hong-hui  HE Chan-gan
Abstract:
As S7-300/400 series PLC(Programmable Logic Controller) is node controller based on field bus net,it is difficult to develop the communication software on Lab Windows/CVI platform for its privacy of communication protocol.It is proposed to implement the communication between application software and device driver using OPC interfacing technology.An OPC(OLE for Process Control) server is built on local PC,and then a Profibus-DP net is created using Simatic NET software to realize the point-to-point connections between OPC server and inputs/outputs of S7-300/400.Steps to configure PC station,master/slave system and connections between PC and PLC are presented in detail.The method has been successfully applied in a control system.
Key words:  PLC,OPC Server,communication

用微信扫一扫

用微信扫一扫