首页 | 本学科首页   官方微博 | 高级检索  
     

基于OPC UA技术的Labview与PLC通信
引用本文:邱云,季振山,张祖超,王勇,许张后. 基于OPC UA技术的Labview与PLC通信[J]. 计算机系统应用, 2017, 26(2): 231-234
作者姓名:邱云  季振山  张祖超  王勇  许张后
作者单位:中国科学院 合肥物质科学研究院, 合肥 230031;中国科学技术大学, 合肥 230022,中国科学院 合肥物质科学研究院, 合肥 230031,中国科学院 合肥物质科学研究院, 合肥 230031,中国科学院 合肥物质科学研究院, 合肥 230031,中国科学院 合肥物质科学研究院, 合肥 230031
基金项目:国家磁约束核聚变能发展研究专项(2014GB103000);中国科学院等离子体物理研究所科学基金(DSJJ-14-GC02);国家自然科学基金(11505239)
摘    要:本文提出了在系统中基于OPC UA技术的上位机Labview与下位机PLC-300的通信实现.该通信是在两台PC机间实现的数据交互.一台PC充当客户机,另一台充当服务机,服务器与PLC-300相连.客户机通过UA与服务器连接,进而实现客户机上的Labview与服务器相连的PLC进行通信.介绍了在Labview中如何创建可以与UA Server进行安全连接的UA Client,最终实现Labview与PLC的安全通信.在Labview中可以实时显示PLC中的数据变化,并把采集到的数据以文本文件的形式保存起来,供后续观察回放.通过实验验证了该方法的可行性,该系统具有开发周期短,灵活性强,系统稳定的优势.充分验证了利用此方法实现数据通信的可行性.

关 键 词:OPC UA  Labview  PLC-300  数据通信
收稿时间:2016-05-11
修稿时间:2016-06-07

Communication Between Labview and PLC Based on OPC UA
QIU Yun,JI Zhen-Shan,ZHANG Zu-Chao,WANG Yong and XU Zhang-Hou. Communication Between Labview and PLC Based on OPC UA[J]. Computer Systems& Applications, 2017, 26(2): 231-234
Authors:QIU Yun  JI Zhen-Shan  ZHANG Zu-Chao  WANG Yong  XU Zhang-Hou
Affiliation:Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China;University of Science and Technology of China, Hefei 230022, China,Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China,Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China,Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China and Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China
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
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号