需求:采集OPCUA服务数据
采用:KEPServerEX6获取OPCUA服务数据
1.新建甬道3
2.驱动程序选择:OPC UA client
3.设置UA服务器-端点URL:opc.tcp://ip:502
安装教程:https://blog.csdn.net/weixin_41425107/article/details/140861485
采用nodered采集S7协议/OPCUA服务
1.安装nodered
参考:https://www.cnblogs.com/yaopengfei/p/17159691.html
2.安装opcua节点
参考:https://blog.csdn.net/SugarToffee/article/details/138231603
3.安装S7
参考:https://blog.csdn.net/dongfangxinding/article/details/135263743
4.java程序采集S7
参考:https://blog.csdn.net/XS_YOUYOU/article/details/127775881
部署
node-red
node-v18.15.0-x64
双击node-v18.15.0-x64安装
安装PM2
使用命令启动nodered
pm2 start c:\iot\node-red\node-red\packages\node_modules\node-red\red.js
使用命令保存当前启动任务,关机重启
pm2 save
node-red访问地址
http://IP:1880
数据采集