Errata exists for this version of the document.

The OPC UA Server architecture models the Server endpoint of client/server interactions. Figure 5 illustrates the major elements of the Server and how they relate to each other.

image006.png

Figure 5 – OPC UA Server architecture

Real objects are physical or software objects that are accessible by the Server application or that it maintains internally. Examples include physical devices and diagnostics counters.

The Server application is the code that implements the function of the Server. It uses the Server API to send and receive OPC UA Messages from Clients. Note that the “Server API” is an internal interface that isolates the Server application code from an OPC UA Communication Stack.

The AddressSpace is modelled as a set of Nodes accessible by Clients using OPC UA Services (interfaces and methods). Nodes in the AddressSpace are used to represent real objects, their definitions and their References to each other.

Part 3 contains the details of the meta model “building blocks” used to create an AddressSpace out of interconnected Nodes in a consistent manner. Servers are free to organize their Nodes within the AddressSpace as they choose. The use of References between Nodes permits Servers to organize the AddressSpace into hierarchies, a full mesh network of Nodes, or any possible mix.

Part 5 defines OPC UA Nodes and References and their expected organization in the AddressSpace. Some Profiles will not require that all of the UA Nodes be implemented.

A View is a subset of the AddressSpace. Views are used to restrict the Nodes that the Server makes visible to the Client, thus restricting the size of the AddressSpace for the Service requests submitted by the Client. The default View is the entire AddressSpace. Servers may optionally define other Views. Views hide some of the Nodes or References in the AddressSpace. Views are visible via the AddressSpace and Clients are able to browse Views to determine their structure. Views are often hierarchies, which are easier for Clients to navigate and represent in a tree.

The OPC UA AddressSpace supports information models. This support is provided through:

  1. Node References that allow Objects in the AddressSpace to be related to each other.
  2. ObjectType Nodes that provide semantic information for real Objects (type definitions).
  3. ObjectType Nodes to support subclassing of type definitions.
  4. Data type definitions exposed in the AddressSpace that allow industry specific data types to be used.
  5. OPC UA companion standards that permit industry groups to define how their specific information models are to be represented in Server AddressSpace.

MonitoredItems are entities in the Server created by the Client that monitor AddressSpace Nodes and their real-world counterparts. When they detect a data change or an event/alarm occurrence, they generate a Notification that is transferred to the Client by a Subscription.

A Subscription is an endpoint in the Server that publishes Notifications to Clients. Clients control the rate at which publishing occurs by sending Publish Messages.

The Services defined for OPC UA are described in Clause 6.4, and specified in Part 4.

Request/response Services are Services invoked by the Client through the OPC UA Service Interface to perform a specific task on one or more Nodes in the AddressSpace and to return a response.

The Publish Service is invoked through the OPC UA Service Interface for the purpose of periodically sending Notifications to Clients. Notifications include Events, Alarms, data changes and Program outputs.

Server to Server interactions in the Client Server model are interactions in which one Server acts as a Client of another Server. Server to Server interactions allow for the development of servers that:

  1. exchange information with each other on a peer-to-peer basis, this could include redundancy or remote Servers that are used for maintaining system wide type definitions (see Figure 6),
  2. are chained in a layered architecture of Servers to provide:
  3. aggregation of data from lower-layer Servers,
  4. higher-layer data constructs to Clients, and
  5. concentrator interfaces to Clients for single points of access to multiple underlying Servers.

Figure 6 illustrates interactions between Servers.

image007.png

Figure 6 – Peer-to-peer interactions between Servers

Similar peer-to-peer interactions can also be accomplished using the OPC UA PubSub model where each peer Application is both a Publisher and a Subscriber.

Figure 7 extends the previous example and illustrates the chaining of Servers together for vertical access to data in an enterprise.

image008.png

Figure 7 – Chained Server example