OPC Foundation
  • Documents
  • NodeSets
  • Search
8.48 StructureDefinition

This Structured DataTypeis used to provide the meta data for a custom Structure DataType. It is derived from the DataType DataTypeDefinition. The StructureDefinitionis formally defined in Table 32.

Table 32– StructureDefinition Structure

Name

Type

Description

StructureDefinition

Structure

DefaultEncodingId

NodeId

The NodeIdof the default DataTypeEncoding for the DataType. The default depends on the message encoding, Default Binary for UA Binary encoding, Default JSON for JSON encoding and Default XML for XML encoding.

If the DataTypeis only used inside nested Structuresand is not directly contained in an ExtensionObject, the encoding NodeIdis null.

BaseDataType

NodeId

The NodeIdof the direct supertype of the DataType. This might be the abstract Structureor the Union DataType.

StructureType

StructureType

An enumeration that specifies the type of Structure defined by the DataType.

The StructureType DataType is defined in 8.49.

Only one of the fields defined for the data type is encoded into a value if the data type is a Union.

Fields

StructureField []

The list of fields that make up the data type.

This definition assumes the structure has a sequential layout.

The StructureField DataTypeis defined in 8.51.

For Structuresderived from another Structure DataTypethis list shall begin with the fields of the baseDataType followed by the fields of this StructureDefinition.

Please report errors or issues with the site to webmaster.

Copyright © 2023 - OPC Foundation