Skip to content

OPC UA PubSub Model to Mindsphere Data Model Mapping

Timeseries Data Model Mapping

The mapping of OPC UA PubSub model to Mindsphere data model for 'Timeseries' messages is as below.

The following model is relevant to "c/{clientId}/o/opcua/v3/u/m/t" topic.

Network Message

Network Message With Mapping

Aspect name is {StructureDefinitionName} + "Fields"

If the structure definition name is "SPS", then the Aspect name will be "SPSFields".

Network Message With Mapping 2

If the field name includes slash(s), the string after the last "\" or "/" will be used as the hierarchy asset name.

  • Field Name: "H1/H2/DP1"
  • It is required to create 2 assets where, the type id is OPCUAHierarchyDataType.

If the field name includes slash(s), the string after the last "\" or "/" will be used as the data type asset name.

  • Field Name: "H1/H2/DP1"
  • It is required to create an asset where, the type id is {tenant}.{StructureName}

Note

OPC UA PubSub supports only 2 level hierarchy.

Event Data Model Mapping

The mapping of OPC UA PubSub model to Mindsphere data model for 'Event' messages is as below.

The following model is relevant to "c/{clientId}/o/opcua/v3/u/m/e" topic.

Network Message Event

Event type id is { tenantId } + ".connectivity.event.type." + {StructureDefinitionName}

Asset Management and Event Management resources are created automatically according the mappings above.

Any questions left?

Ask the community


Except where otherwise noted, content on this site is licensed under the MindSphere Development License Agreement.