Table of Contents

Objective

Step 1 - Understand what OPC-UA is

According to the OPC Foundation: “The OPC Unified Architecture (UA), released in 2008, is a platform independent service-oriented architecture that integrates all the functionality of the individual OPC Classic specifications into one extensible framework.”

In short, it is an architecture to allow various vendors and manufacturers to put their applications in the same system and be able to talk to one another in some way. Like HTTP for industry.

Step 2 - Connect OPC-UA client to PLC

Now that we know what it is, let’s use a common OPC-UA client, called UAExpert to connect to our existing PLCs and see what data they are producing.

On the virtual machine created within our project in Workshop Exercise 3.2 - Adding Virtual Machine Templates and run the UaExpert application, which can be found on the desktop. UaExpert VM

Once opened, we can add a new server by clicking on the blue + sign at the top: UaExpert Add Server

For the connection, use the service name created in Step 3.1, pointing it to opc.tcp://:4840.

Once connected, we should be able to click on the plug and view variables exposed on the PLC’s OPC server. UAExpert variables

This concludes this workshop stream. What we have managed to do:


Navigation

Previous Exercise

Click here to return to the Workshop Homepage