0.9.1 • Published 8 months ago
node-red-opcua-x v0.9.1
node-red-opcua-x
What is
A package that handles OPC UA Client request like read, browse, write, ...
Versioning
The following package use the semantic versioning template
X.Y.Z
- X is the
Majorversion, when the following number change, the package can be not compatible with the previous versions - Y is the
Minorversion, when the following number change, the package is compatible with the previous version with the same Major version - Z is the
Patchversion, when the following number change, has the same purpose of Minor but is used for no codes change (update pipeline, wiki, references, ...)
By now the package is only use the Minor because is in prerelease state.
The first stable version will start from 1.0.0
Features
- Read
- Write
- Browse
- Check connection status
- Subscription
- Events
- Methods
- Connection security access
- Simple Server (sample server for testing)
- Advanced Server
Getting started
From node-red search for node-red-opcua-x
Run command on Node-RED installation directory.
npm i node-red-opcua-xor run command for global installation.
npm i -g node-red-opcua-xGetting started - Developing
Requirements
- Node-RED version: v4.0.9
- Node.js version: v20.18.0
OPC Server simulation
For testing I use the following OPC UA Server simulator
OPC Server Simulator - Integration Objects
Setup
Import Library
- From the cloned folder run
npm i - Open a new terminal inside the node-red source folder
- Execute the following command
npm i <local folder node-red-opcua-x installation> - Restart node-red
- You should be able to see the imported package
Setup
Start the OPC UA Server Simulator and copy the
Server Endpoints URLsurlSelect the
opcua-client-stateor just import theclient-state.jsonsampleOpen the
opcua-client-statenode and setup the client with endpoint, name, username, ...Deploy the flow!