The OPC UA Simulation Server
In this section, we will simulate a very simple industrial data flow to implement data acquisition through a simple edge device. To simulate the industrial data flow, we will use an OPC UA Simulation Server to generate the signals. OPC UA is managed by the OPC Foundation (https://opcfoundation.org/) and is the most common industrial operability standard. Several vendors have implemented their own solutions according to the OPC UA standard. We can find other open source drivers for the most common languages, such as Node.js, Python, and Java.
OPC UA Server Node.js
The OPC UA implementation for Node.js (http://node-opcua.github.io/) is one of the most popular libraries. It supports both the client and the server. In this exercise, we will use the library indirectly when we work with Node-RED. We will also reuse it when we work with AWS and Azure.
Starting an OPC UA sample server
The easiest way to start a simple OPC UA server is to use the Node...