摘要
在工业4. 0时代,OPC UA为各种数据交互提供基础技术支撑。基于国产化软硬件平台,设计并实现了一种OPC UA服务器,并在PLC控制系统中进行应用。该服务器基于客户端服务器模式,采用OPC UA的软件分层架构,在Qt环境开发,利用Qt的跨平台特性以及对标准C++的支持,首先将SDK移植到Linux系统,在此基础上进行应用开发,该服务器封装了与控制器通信的接口,通过将控制器数据映射到OPC UA地址空间并进行管理,实现了统一的数据访问接口,通过在PLC系统中测试证明该服务器能够满足现场数据交互需求。
In the era of Industrial 4. 0,OPC UA provides basic technical support for various data interactions. OPC UA server is designed and implemented based on localization software and hardware platform. The server is based on Client-Server mode,adopts OPC UA software hierarchical architecture,develops in Qt environment,uses the cross-platform characteristics of Qt and the support of standard C ++,firstly ports SDK to Linux system,and then develops application. The server encapsulates the communication interface with controller,and achieves a unified data access interface by mapping the controller data to OPC UA address space and managing it. The test in a PLC system proves that the server can meet the needs of field data interaction.
引文
[1]贝加莱工业自动化(中国)有限公司. OPC UA互联工厂方案[J].国内外机电一体化技术,2016(4):26-28.
[2]华镕.使用OPC UA的十个原因[J].中国仪器仪表,2013(3):55-57.
[3]陈柳松. OPC UA服务器时间管理及订阅功能模块[D].北京:华北电力大学,2011.
[4]任伟,林海波,杨晓明,等.工业物联网关键技术OPC UA分析[J].信息技术与标准化,2017(10):35-38.
[5]孙建华. OPCUA服务器数据管理与订阅功能模块研究与开发[D].北京:华北电力大学,2011.
[6]加舒娟.基于全国产化PLC的OPC UA Server系统的设计与实现[D].西安:西安电子科技大学,2017.
[7]赵艳领,闫晓风,刘丹.基于SDK嵌入式OPCUA服务器设计与实现[J].制造业自动化,2017,39(1):49-52.