Open Automation Software
Moving Data From Anywhere to Anywhere
1-303-679-0898

Getting Started OPC UA

Open Automation Software Tags can be defined to connect to OPC UA Servers with the built in OPC UA Driver Interface.

The following steps can be used to setup communications with OPC UA Servers.

Step 1

Getting Started-Tags 1Start Configure OAS application from the program group Open Automation Software.

 

 

Step 2

Select Configure-License and verify that OPCUA is one of the available Drivers in the lower left of the form. If you do not see the OPCUA driver update your Open Automation Software to the latest version.

OPC UA Driver

Note: You will need to be running Open Automation Software Version 10.0.0.12 or greater to support OPC UA communications. You can download the latest version from our Open Automation Software Download page.

Step 3

Select Configure-Drivers.

Getting Started Modbus 2

Step 4

Select localhost or the remote service you wish to modify with the Select button to the right of the Network Node list.

Getting Started Modbus 3

Note: Optionally select the Live Data Cloud node if you are hosting OPC UA data over the Internet with a standard Internet connection.

Step 5

Enter a meaningful Driver Interface Name that you will refer to this physical connection when defining Tags with an OPCUA Data Source.

Define the properties for the connection to the OPC UA server.

OPC UA Configuration

Set the Driver to OPC UA.

Note: If you enable security the certificate path is C:\ProgramData\OpenAutomationSoftware\pki.

You can use the Browse button if you have installed the OPC UA Local Discovery Service from the OPC Foundation to find all available server names.

You can manually enter in your server if you have not installed the OPC UA LDS from the OPC Foundation.

Step 6

Select the Add button in the lower part of the form to add the Driver Interface as an available selection when defining Tags in the next step.

Getting Started Modbus 6

Note: If you need to define several Driver Interfaces you can use the CSV Export and CSV Import on the toolbar in the upper right together with Microsoft Excel.

Step 7

Select Configure-Tags.

Getting Started Modbus 7

Select localhost or the remote service you wish to modify with the Select button to the right of the Network Node list.

Getting Started Modbus 3

Note: Optionally select the Live Data Cloud node if you are hosting Modbus data over the Internet with a standard Internet connection.

Step 8

Select to Add a Tag.

Note: You can also add organizational Groups as many levels deep as you prefer and add tags to groups.  To do this first add a Group to the root level, then right click on the Group in the right window to add additional Groups or Tags.

Getting Started-Tags 8

Step 9

Change the Data Source Tag property to OPCUA.

OPC UA Data Source

Step 10

If you have more than one OPC UA Server defined in the Driver Interfaces select the desired Driver Interface.

OPC UA Server

Step 11

Specify the desired Polling Rate for the Tag.
Use the Browse button to browse the OPC UA Server for the IdType, NodeId, Namespace, and Data Type or manually set them.

OPC UA Properties

OPC UA Browse

Step 12

To define multiple tags use the CSV Export and CSV Import on the toolbar in the upper right together with Microsoft Excel.

Note: You can also programmatically define Tags using the free to use OPC Systems component as demonstrated in the Form FormConfigureCSV in the WinForm Example Code application that installs with Open Automation Software in the Program Group Open Automation Software.  This component can be used in any .NET application includes Web Services, Windows Services, WPF Applications, and ASP.NET Web Applications.

You can also view the programmatic code for setup tags for .NET in Programmatic Access CSV Import and Export.

Step 13

Select the Save button on the toolbar at the top.

Getting Started-Tags 19

Step 14

Create a directory on the local C: drive with the name OPCSystemsDemo.

Save the file DemoTags.tags in the directory C:OPCSystemsDemo.

Getting Started-Tags 20

Step 15

Under Configure – Options set the Default Tag Configuration File so when the computer restarts the tag file will automatically be loaded.