Configure an OPC-UA client to collect IoT data from Pareto Anywhere.
Learn how to configure an OPC Connection in Ignition to collect data from Pareto Anywhere.
Ignition and Pareto Anywhere (with barnacles-opcua) both installed.
* Add the /barnacles-opcua module to act as OPC-UA server.
Connect Ignition as an OPC-UA client to Pareto Anywhere.
Browse to the Gateway, for example at localhost:8088, if Ignition is running on the local machine.
See Accessing the Gateway for details.
From the menu bar at left, select Config.
From the submenu, under OPC CLIENT, select OPC Connections.
From the OPC Connections page, click Create new OPC Connection...
Select the OPC-UA option and, click Next.
Enter the Endpoint URL of the Pareto Anywhere OPC-UA server. If Pareto Anywhere is running on the same machine, by default this will be opc.tcp://localhost:4840/UA/ParetoAnywhere. Else change localhost to the IP address of the remote machine. Then click Next.
If the Endpoint URL is valid, the Pareto Anywhere OPC-UA server should appear. Click Next.
Choose the security policy/mode* or leave as the default of None. Click Next.
* If security is selected, consult the Security Certificate documentation of barnacles-opcua to create/add the necessary certificates.
Confirm the connection settings and click Finish.
A configuration page should appear, enabling fine-tuning of the OPC Connection parameters. Aside from perhaps the Name and Description, most parameters can be left as default.
Click Create New OPC Connection at the bottom of the page. The Ignition OPC-UA client for Pareto Anywhere should now connect automatically, as will be validated in Step 2, below.
Confirm using the OPC Quick Client that data is received from Pareto Anywhere.
Following the creation of a new OPC Connection in Step 1, above, the list of OPC Connections should appear with an entry for the Pareto Anywhere OPC-UA client. Confirm that the status is Connected.
From the menu bar at left, select Config.
From the submenu, under OPC CLIENT, select OPC Quick Client.
The OPC Quick Client should appear, displaying the valid OPC Connections, including the Pareto Anywhere OPC-UA Server. Expand the Pareto Anywhere OPC-UA Server and expand its Devices folder to see the IoT devices named by their wireless identifier signatures.
To observe sensor data, expand any Device folder and Property subfolder, such as BatteryPercentage in the screenshot above, and click on [r] in the ACTION column to read the device property.
The Value, Quality and Timestamp of the device property will appear above the table.
Our cheatsheet details the standard properties of the dynamb JSON output from Pareto Anywhere.
Tutorial prepared with ♥ by jeffyactive.
You can reelyActive's open source efforts directly by contributing code & docs, collectively by sharing across your network, and commercially through our packages.Continue exploring our open architecture and all its applications.