OPC中国官网
从网上随便一搜就一大堆关于OPC UA协议的概述,不赘述
我们搭建一个OPC UA的服务器和客户端,体会一下OPC UA的使用,参考:https://help.aliyun.com/document_detail/111325.html
服务器# ubuntu16.04 安装依赖库 sed -i 's/archive.ubuntu/mirrors.aliyun/g' /etc/apt/sources.list sed -i 's/security.ubuntu/mirrors.aliyun/g' /etc/apt/sources.list apt update && apt install -y python3 python3-pip wget pip3 install --upgrade pip==9.0.1 -i https://mirrors.aliyun.com/pypi/simple/ pip install opcua==0.98.3 -i https://mirrors.aliyun.com/pypi/simple/ # 下载代码 wget http://iotedge-web.oss-cn-shanghai.aliyuncs.com/public/driverSample/opcua_simulation_server.tar.gz tar -zxvf opcua_simulation_server.tar.gz cd opcua_simulation_server && chmod +x opcua_simulation_server.sh ./opcua_simulation_server.sh客户端
从https://www.unified-automation.com/downloads/opc-ua-clients.html下载UaExpert的最新版本,安装后运行。
在软件上增加对温度的监控:
- open62541: an open source implementation of OPC UA - Python & C
- Free OPC-UA Library - Python & C++
- gopcua/opcua: Native Go OPC-UA library - Go
- NodeOPCUA! the OPCUA sdk for node.js - Typescript
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)