OPC-UA

Characteristics - OPC-UA

OPC (Open Platform Communications) enables access to machines, devices and other systems in a standardized way. To learn more about the standard visit the OPC-UA website.

Information Model Requirements

Example Model

Configuration - OPC-UA Client

  1. Select OPC UA Client as Channel Type.

  2. Click the Configure button.

OPC-UA Client Setup
  1. Make sure the root model node is selected to configure the OPC-UA Client

  2. Enter an Application name

  3. Input the TcpConfiguration

  • Enter an IP address

  • Enter the Port

  • Define an Endpoint

  • Set a Request timeout

  1. Configure the defaultSubscriptionAttribute

  • Define a Publishing interval and select the Unit

OPC-UA Client Setup
  1. Configure monitoringParameters

  • Set a Sampling interval and the Unit

  • Enter a Queue size

  • Enable Discard oldest depending on the use case

OPC-UA Client Setup
  1. Enable Subscription Groups depending on the use case

  2. Input the Group name

  3. Define a Publishing interval and select the Unit

  4. Set a Sampling interval and the Unit

  5. Enter a Queue size

  6. Enable Discard oldest depending on the use case

OPC-UA Client Setup
  1. Select the complex variable node.

  2. Enable the Node configuration

OPCUAClientComplexVariableNodeEnableConfig
  1. Assign OPC-UA data block variables to corresponding variables in the Information Model by selecting the variable in the tree

  2. Assign data block

  • Enable the Nodes configuration checkbox

  • Enter the Node Id

OPC-UA Client Setup

Description of configuration properties:

Property

Description

Example

IP Address

Client IP

127.0.0.1

Port

Client port

4840

Endpoint path

Service name at the server endpoint

demo

Publishing interval

Interval in which Notification Messages are sent

1

Sampling interval

Sampling interval of monitored items

10

Queue size

Max number of messages stored in the publish queue

1

Node id

Id of the item

s='DB_Processing_Module'

Configuration - OPC-UA Server

  1. Select OPC UA Server as Channel Type.

  2. Click the Configure button.

OPC-UA Server Setup
  1. Make sure the root model node is selected to configure the OPC-UA Server

  2. Enter an application Name

  3. Configure TCP

  • Enter an Ip Address

  • Enter the Port

  • Define an Endpoint

  1. Configure the NameSpace

  • Provide a Root node name

OPC-UA Server Setup
  1. Configure the variable sampling interval

  • Set the Initial delay in milliseconds

  • Input the Sampling rate in milliseconds

OPC-UA Server Setup

Description of configuration properties:

Property

Description

Example

IP Address

Server IP

127.0.0.1

Port

Server port

4840

Endpoint path

Service name at the server endpoint

demo

Root node name

The name of the top-level node in the OPC UA server’s address space

PLC

Initial delay

The time the OPC UA client/server should wait before attempting to connect to the OPC UA server

10

Sampling rate

The rate at which the OPC UA client/server requests data from the OPC UA server

1