基于Winform框架的OPC UA通信方法研究与实现
The Research and Implementation of OPC UA Communication Method Based on Winform Framework
DOI: 10.12677/IaE.2023.111012, PDF,   
作者: 陈 刚, 李洪强, 叶志坚, 周 闯, 刘小华:武汉船用机械有限责任公司,湖北 武汉
关键词: WinformOPC UA消息订阅事件Winform OPC UA Message Subscription Event
摘要: 本文提出并实现了一种基于C#和Winform框架的OPC UA通信方法与系统。介绍了OPC UA通信协议的工作原理,利用基于C#语言的OPC UA开源客户端OPCUaHelper开源库,作为监控系统中OPC UA客户端开发工具,实现对西门子OPC UA服务器的访问。采用消息订阅机制实现对OPC服务器状态数据的实时读取,同时利用数据改变触发事件机制实现控制数据的实时写入。最后,该通信方法在化学品船智能液货系统中进行了试验验证,数据通信实时性满足项目要求。
Abstract: This paper proposes and implements an OPC UA communication method and system based on the C# and Winform framework. The working principle of the OPC UA communication protocol is in-troduced, and the OPCUaHelper open source library of the OPC UA open source client is used based on C# language as the development tool of the OPC UA client in the monitoring system to realize the access to Siemens OPC UA server. The real-time reading of OPC server status data is realized by the message subscription mechanism and the real-time writing of control data is realized by the data change triggering event mechanism. Finally, the communication method is tested and verified in the intelligent liquid cargo system of the chemical tanker, and the real-time data communication meets the project requirements.
文章引用:陈刚, 李洪强, 叶志坚, 周闯, 刘小华. 基于Winform框架的OPC UA通信方法研究与实现[J]. 仪器与设备, 2023, 11(1): 86-93. https://doi.org/10.12677/IaE.2023.111012

参考文献

[1] 石朝阳, 徐世许, 史世良. 基于OPC UA技术的物料搬运监控系统设计[J]. 制造业自动化, 2022, 44(3): 59-62.
[2] 郑斯琪, 沈斌. 基于OPC UA的污水泵站监控系统设计[J]. 机电一体化, 2021, 27(6): 19-24. [Google Scholar] [CrossRef
[3] 顾小红, 胡洋, 陈旭, 韩毅, 钱陈虎, 张辉, 彭斌. 基于OPC UA的电厂水务数据采集系统设计开发[J]. 工业控制计算机, 2022, 35(6): 114-115+118.
[4] 范晋伟, 杨跃, 潘日, 李伟华. 基于OPC UA的数控机床远程监控系统开发[J]. 机床与液压, 2022, 50(18): 44-48+54.
[5] 周雯. 基于WinForm的移动基站设备管理系统的设计与实现[D]: [硕士学位论文]. 成都: 电子科技大学, 2014.