Skip to content

OPC UA ModelDesign Cheat Sheet & Graphical Annotation

Last updated on April 10, 2022

Summary of the most important pieces of information and advice as a quick reference for modelers.

This Post is part of the OPC UA Information Model Tutorial.


Objects, Variables, Properties

source: (graphical representation is missing in source!)

Variables vs. Properties vs. Attribute

DataVariables can contain other Variables, Properties can not.

Properties (and Attributes)


As another example, function blocks in control systems might be represented as Objects. The parameters of the function block, such as its setpoints, may be represented as DataVariables. The function block Object might also have Properties that describe its execution time and its type.

Properties vs. DataVariables

How to implement structured data

Many Variables and / or structured DataTypes

ObjectType, VariableType and DataType

Every Object, Variable or Data has a base type and any number of instances of these types. It can be seen as Object-Oriented Programming.

You can create your own types by subtyping any existing OPC UA Types


_source: _

source: (graphical representation is missing in source!)

Organizes ReferenceType

The source object has to be a folder or a view. _

HasChild, Aggregates and HasComponent ReferenceType

HasChild is an abstract ReferenceType

Aggregates is an abstract ReferenceType

Consequently, HasComponent ReferenceType ( ) should be most commonly used to hierachically structure nodes.

Visualization Tools

To create a graphical visualization of your OPC UA Model, the OPC Foundation defines different shapes and arrow types which sould be used.

You can use MS Visio and the provided Template to draw your models.
Note that on some downloadable MS Word specification files, the corresponding visual drawings are embedded Visio files.
The Template is available here as UA Shapes Visio Template

Alternatively, you can also use Graphviz to create a similar looking visualization.
See: Visualization of OPC UA Information Models using Graphviz

Published inInformation Modeling

Be First to Comment

Leave a Reply

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.