Skip to content

OPC UA Sample Server based on node-opcua. Showcasing how to implement companion specifications.

License

Notifications You must be signed in to change notification settings

node-opcua/SampleServer-node-opcua

 
 

Repository files navigation

SampleServer-node-opcua

Node.js CI CodeQL Lint Code Base Container Build

OPC UA Sample Server based on node-opcua
the book from the author of node-opcua: node-opcuabyexample
API Docs: 2.32.0

Requirements

Node.js v14 (LTS) or newer
TypeScript globally installed for tsc cli (npm install -g typescript)
pkg globally installed for pkg cli (npm install -g pkg)

Usage

  • download and unpack
  • open folder in VS Code (or in terminal)
  • npm install
  • npm run start

Example Users

User: admin Password: pw1 Role: Supervisor
User: operator Password: pw2 Role: Operator
User: guest Password: pw3 Role: AuthenticatedUser

Ephemeral Dev Environment

  • Click
  • npm run start
  • split terminal: opcua-commander -e opc.tcp://localhost:4840/UA to have a local OPC UA client

Docker

Set "IP" and "PORT" in env:

  • docker run -it -p 5000:5000 -e PORT=5000 -e IP=127.0.0.1 --name sampleserver-node-opcua ghcr.io/andreasheine/sampleserver-node-opcua:main

Online Server Instance

  • opc.tcp://opcua3.umati.app:4840

Implementations of OPC UA Companion Specifications

grafik

License

GitHub

Unless otherwise specified, source code in this repository is licensed under the Apache 2.0 License.

About

OPC UA Sample Server based on node-opcua. Showcasing how to implement companion specifications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 92.2%
  • JavaScript 7.2%
  • Dockerfile 0.6%