摘要
在工业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 ClientServer mode,adopts OPC UA software hierarchical architecture,develops in Qt environment,uses the crossplatform 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.
作者
闵晓霜
杨鑫
Min Xiaoshuang;Yang Xin(The 6th Research Institute of China Electronics Corporation,Beijing 102209,China)
出处
《信息技术与网络安全》
2018年第12期71-74,86,共5页
Information Technology and Network Security
基金
核高基重大专项(2017ZX01030-202)