This example shows how to use the mi5-simple-opcua module.
- You need to have installed the newest node.js version.
- Download and unzip this repository to your local machine or having git installed, run
git clone https://github.com/ProjectMi5/mi5-simple-opcua-example.git
- Navigate to this folder in your console and run
npm install
. (Alternatively, you can double-click on01-installation.cmd
, if you are working with Windows.) - Run the server with
node yourServer
(Alternative:02-runServer.cmd
) - Run the client with
node yourClient
(Alternative:03-runClient.cmd
)
- Make yourself familiar with the files
yourServer.js
andyourClient.js
. - For more information refer to the documentation provided by the mi5-simple-opcua module.