OPC UA Sample Server based on node-opcua
the book from the author of node-opcua: node-opcuabyexample
API Docs: 2.32.0
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
)
download and unpack
open folder in VS Code (or in terminal)
npm install
npm run start
User: admin
Password: pw1
Role: Supervisor
User: operator
Password: pw2
Role: Operator
User: guest
Password: pw3
Role: AuthenticatedUser
- Click
npm run start
- split terminal:
opcua-commander -e opc.tcp://localhost:4840/UA
to have a local OPC UA client
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
opc.tcp://opcua3.umati.app:4840
Unless otherwise specified, source code in this repository is licensed under the Apache 2.0 License.