本文已被:浏览 2554次 下载 9039次
Received:May 11, 2016 Revised:June 07, 2016
Received:May 11, 2016 Revised:June 07, 2016
中文摘要: 本文提出了在系统中基于OPC UA技术的上位机Labview与下位机PLC-300的通信实现.该通信是在两台PC机间实现的数据交互.一台PC充当客户机,另一台充当服务机,服务器与PLC-300相连.客户机通过UA与服务器连接,进而实现客户机上的Labview与服务器相连的PLC进行通信.介绍了在Labview中如何创建可以与UA Server进行安全连接的UA Client,最终实现Labview与PLC的安全通信.在Labview中可以实时显示PLC中的数据变化,并把采集到的数据以文本文件的形式保存起来,供后续观察回放.通过实验验证了该方法的可行性,该系统具有开发周期短,灵活性强,系统稳定的优势.充分验证了利用此方法实现数据通信的可行性.
Abstract:In this paper, we put forward the communication implementation of the upper computer with the software of Labview and lower computer PLC-300 based on OPC UA technology. The communication is data exchanging between two PC machines. One PC acts as a client, the other one acts as a server, and the server is connected to the PLC-300. The client connects to the server through UA, and then it can realize the communication between Labview and PLC on the client machine. This paper introduces how to create UA Client which can be safely connected with UA Server, and how to finally realize the secure communication between PLC and Labview. In Labview, the data can be displayed in real time when it changes in PLC, and the collected data can be save in the form of text files for follow-up observation and playback. The feasibility of this method is verified by experiments. The system has the advantages of short development period, strong flexibility and system stability. Finally, we fully validate the feasibility of using this method to data communications.
keywords: OPC UA labview PLC-300 data communications
文章编号: 中图分类号: 文献标志码:
基金项目:国家磁约束核聚变能发展研究专项(2014GB103000);中国科学院等离子体物理研究所科学基金(DSJJ-14-GC02);国家自然科学基金(11505239)
引用文本:
邱云,季振山,张祖超,王勇,许张后.基于OPC UA技术的Labview与PLC通信.计算机系统应用,2017,26(2):231-234
QIU Yun,JI Zhen-Shan,ZHANG Zu-Chao,WANG Yong,XU Zhang-Hou.Communication Between Labview and PLC Based on OPC UA.COMPUTER SYSTEMS APPLICATIONS,2017,26(2):231-234
邱云,季振山,张祖超,王勇,许张后.基于OPC UA技术的Labview与PLC通信.计算机系统应用,2017,26(2):231-234
QIU Yun,JI Zhen-Shan,ZHANG Zu-Chao,WANG Yong,XU Zhang-Hou.Communication Between Labview and PLC Based on OPC UA.COMPUTER SYSTEMS APPLICATIONS,2017,26(2):231-234