Click or drag to resize

Reference modeling

Home
Introduction

This topic describes how to model references in OPC UA Address Space Model Designer (ASMD).

Reference modeling concept

References are used to relate nodes to each other. When modeling the real environment and object relationship it is necessary to distinguish two relation kinds of items:

  • Tightly coupled

  • Loosely coupled

Typical examples of the tightly couplet elements are arrays, records, etc. Because any tightly coupled objects can be processed as a large whole, they are called complex, and - to distinguish a strong relationship - we can talk about parent item and its children. (see Children node in ASMD).

An example of loosely coupled elements is shown in the picture below. This reference shows that water flows from an input pipe to the drum.

Reference Modeling
Figure 1: Reference modeling
More details on reference modeling

The concept presented above only seems to be simple but this is a quite powerful solution. It allows us to create a fully meshed address space. Analyze the example below:

Attaching Of The Object To The Root Folder
Figure 2: Attaching of the object to the root folder

The example shows how the Server object is attached to the Objects folder that is attached to the Root folder. The "browse view" shows how the address space becomes available in the OPC UA server during runtime, while "XML" and "model view" show how all those references are available during the modeling step.

As it is shown, during the modeling step the server is not linked as a component of Objects but it becomes available inside the Objects folder at runtime. Those two different views are called the "Model View" and "Browse Model". Currently, "Model View" is available as a default view in the OPC UA Address Space Model Designer. The "Browse view" is currently under development and is not available in the OPC UA Address Space Model Designer. However, thanks to the "coupled nodes" concept it is easy to browse the references during modeling.

See Also

Other Resources