OPC UA Object Modeling (2 days)

Training Summary

This module focuses on the modeling power of OPC UA, which allows complex systems (machines, processes, products) to be represented as structured objects in the address space. Participants will explore the OPC UA metamodel, node classes, references, and types. Particular emphasis will be placed on information modeling methodology and the use of Companion Specifications that standardize models for specific industries or equipment.
The goal is to provide participants with the skills needed to design and implement relevant and interoperable information models.

Target Audience

This module is intended for automation engineers, IT engineers, developers, system architects, consultants, and technical-sales profiles with a background in modeling and object-oriented programming.
It is aimed at those who need to design or integrate complex OPC UA systems requiring advanced modeling.

Detailed Training Plan

Day 1: Metamodel and Advanced Concepts

Theory

  • Review of the address space and basic nodes.
  • The OPC UA Metamodel: node classes (Object, Variable, Method, ObjectType, VariableType, DataType, ReferenceType, View).
  • Strong typing in OPC UA: Definition and use of ObjectTypes, VariableTypes, ReferenceTypes, DataTypes.
  • References in detail: semantics and usage. Creating relationships between nodes.
  • Aggregation (Components) and Inheritance (Subtypes) in the OPC UA model.
  • Advanced Data Typing concepts: Structures, Enumerations. Use of ExtensionObjects.

Practical Work

  • Use a modeling tool (potentially a graphical tool or XML/UANodeSet-based).
  • Create new simple ObjectTypes and VariableTypes.
  • Define custom data structures.
  • Represent complex relationships between objects using different types of references.

Day 2: Methodology and Companion Specifications

Theory

  • OPC UA Information Modeling Methodology.
    Key steps: identification of objects, variables, methods, events; definition of types; structuring the address space.
  • Detailed introduction to Companion Specifications.
    Why they are important for interoperability. Major examples:
    DI (Device Integration), ADI (Analyzer Device Integration), PLCopen, Vision, Robotic, MachineTool, etc.
  • How to use companion specifications in your own modeling.
    Dictionary references for interoperability.
  • Compliance with companion specifications and conformance profiles.

Practical Work

  • Define a custom information model for a typical industrial use case (e.g., a simple machine, a sensor, a product).
  • Understand and work with a companion specification:
    Practical case study on an example (e.g., Device Integration, Robotic, Vision).
    Use the types and structures defined by the companion specification in your own model.
  • Check your model’s compliance with a companion specification or a specific profile.
  • Understand OPC UA symbolic schemas and their use.