Complex Variables and stuctured DataTypes

There are basically three different approaches to model structured data in OPC UA.

  • Create several simple Variables using simple DataTypes always reflecting parts of the simple structure. Objects are used to group the Variables according to the structure of the data.

  • Create a structured DataType and a simple Variable using this DataType.

  • Create a structured DataType and a complex Variable using this DataType and also exposing the structured data structure as Variables of the complex Variable using simple DataTypes.

UA Part 3: Address Space Model - A.4.3 Many Variables and / or structured DataTypes (opcfoundation.org)