当前位置:网站首页>Node-RED系列(二八):基于OPC UA节点与西门子PLC进行通讯
Node-RED系列(二八):基于OPC UA节点与西门子PLC进行通讯
2022-06-30 03:33:00 【拿我格子衫来】
前言
西门子PLC是一个很常用的协议,在Node-RED中也有类似的节点支持该协议,与硬件进行通信。下面就来介绍一下基于OPC UA节点与西门子PLC进行通讯。
对接流程
安装节点:node-red-contrib-opcua


包含的节点如下:
模块官方文档介绍:
用法:
使用 OpcUa-Item 定义变量。 使用 OpcUa-Client 读取/写入/订阅/浏览 OPC UA 服务器。
编写node-red OPC UA 读写变量的程序:
由于手头没有硬件:
因此采用软件模拟的方式来实现:Kepware KepServer
模拟出一个opc ua服务端,具体的软件模拟过程,本人也不是很清楚。这里暂时不做介绍。
https://img-blog.csdnimg.cn/487b81e156da4c1192f8af4a091afef1.png
节点配置过程:
里面的配置:
边栏推荐
- Selenium environment installation, 8 elements positioning --01
- From 2500 a month, no one wants to go to the programming road of the technical director of a large factory | my ten years
- 【作业】2022.5.25 MySQL 查操作2
- Hash design and memory saving data structure design in redis
- Linked list: insert a node in the head
- 将DataBinding整合到Activity/Fragment的一种极简方式
- Principle of device driver
- Ubuntu20.04 PostgreSQL 14 installation configuration record
- Half a year after joining the company, I was promoted to a management post
- 11: I came out at 11:04 after the interview. What I asked was really too
猜你喜欢
![[QT] QMap使用详解](/img/ee/6e71a3dc5b90d2d1b7f7d3f6b56221.png)
[QT] QMap使用详解

Implementation of property management system with ssm+ wechat applet

图的邻接矩阵存储 C语言实现BFS

Arrangement of language resources of upgraded version

What are outer chain and inner chain?

HOOK Native API

How to view Tencent's 2022 school recruitment salary, the total contract of cabbage is 40W?

Learning cyclic redundancy CRC check

专升本高数(三)

Realization of BFS in C language by storing adjacency matrix of graph
随机推荐
如果辨别我现在交易的外盘股指期货交易平台是否正规安全?
C#【高级篇】 C# 多线程
Global and Chinese markets for active transdermal drug delivery devices 2022-2028: Research Report on technology, participants, trends, market size and share
How does the trading platform for speculation in spot gold ensure capital security?
[ten minutes] manim installation 2022
Usage record of unity input system (instance version)
Mathematical solution of Joseph Ring
Hisense A7 ink screen mobile phone cannot be started
SDS understanding in redis
Simple custom MVC optimization
Auto. JS learning notes 16: save to the mobile phone by project, instead of saving a single JS file every time, which is convenient for debugging and packaging
Huawei interview question: tall and short people queue up
【笔记】2022.6.7 数据分析概论
Feign pit
1152_ Makefile learning_ Pattern matching rules
2021-07-05
Reasons for MySQL master-slave database synchronization failure
TiDB 6.0:讓 TSO 更高效丨TiDB Book Rush
Auto.js学习笔记15:autojs的UI界面基础篇2
laravel9本地安装