Starting an OPC UA sample server

The easiest way to start a simple OPC UA server is to use the Node.js implementation. From the command line, we can run the following command:

git clone https://github.com/node-opcua/node-opcua-sampleserver.git
cd node-opcua-sampleserver
npm install
npm start

This server publishes three simple random measures called Temperature, Percentage, and MyVariable2. We will use this simple server for the exercises in this book.

A simple Python-based UI interface is available at https://github.com/FreeOpcUa/opcua-client-gui. Alternatively, we can use the edge client, which is available at https://github.com/PacktPublishing/Hands-On-Industrial-Internet-of-Things.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset