23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OPC UA 57-5<br />

OPC UA server<br />

Server application<br />

OPC UA AddressSpace<br />

Real<br />

objects<br />

Monitored<br />

item<br />

Node<br />

View<br />

Node<br />

Node<br />

Node<br />

Node<br />

Subscription<br />

OPC UA Server API<br />

OPC UA stack<br />

Rsp Msg<br />

Req Msg Notif Msg Publ Msg<br />

To OPC UA<br />

client<br />

From OPC UA<br />

client<br />

To OPC UA<br />

client<br />

From OPC UA<br />

client<br />

FIGURE 57.6<br />

UA server architecture.<br />

To finish the implementation, one has to realize publisher/subscriber entities, which offer a <strong>communication</strong><br />

mechanism for informing a data change or an event/alarm occurrence that is modeled<br />

by MonitoredItems. MonitoredItems are entities in the server created by the client that monitors<br />

AddressSpace Nodes and their real-world counterparts. When they detect a change or an alarm occurrence,<br />

they generate a Notification that is transferred to the client by a Subscription. A Subscription is an<br />

endpoint in the server that publishes Notifications to clients. Clients control the rate at which publishing<br />

occurs by sending Publish Messages.<br />

57.3 Overview of UA AddressSpace<br />

AddressSpace is an important concept in OPC UA. It provides a standard way for UA servers to<br />

represent objects to UA clients. The OPC UA object model (Figure 57.7) defines objects in terms<br />

of Variables and Methods. It also allows relationships to other objects to be expressed, as shown in<br />

Figure 57.7.<br />

The elements of this model are represented in the AddressSpace as Nodes. Each Node is assigned to a<br />

NodeClass and each NodeClass represents a different element of the object model. The Node Model that<br />

is used to define a NodeClass is illustrated by Figure 57.8:<br />

Attributes are data elements that describe Nodes. Clients can access Attribute values using Read,<br />

Write, Query, and Subscription/MonitoredItem services. These services are detailed in Part 4 of the UA<br />

specifications. Attributes are elementary components of NodeClasses. Each Attribute definition consists<br />

of an attribute id1, a name, a description, a data type, and a mandatory/optional indicator. The set of<br />

Attributes defined for each NodeClass shall not be extended by UA clients or servers.<br />

When a Node is instantiated in the AddressSpace, the values of the NodeClass Attributes are provided.<br />

The mandatory/optional indicator for the Attribute indicates whether the Attribute has to be<br />

instantiated.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!