Configure with Plantmodel

Configure a Plantmodel as the data source for the Sparkplug B EoN Node.

It is assumed, that you already modelled your plant within the Plantmodel Editor.

  1. Inside the Northbound Manager interface, create a new connection with the connection name, that has been added to the JavaScript Manager, see Basic Configuration.
  2. Select Plantmodel as the data source in the Northbound Manager.
  3. Click the entry point selector and choose the desired view as the entry point.
  4. Set the Group ID and Node ID as required.
  5. Configure access rights for the nodes and datapoints as needed.
  6. Click Apply to save the configuration.

The configured nodes are now available for the broker communication.

The metric names for the examples above are "ProductionLine:FanSpeed", "ProductionLine/FanSpeed", and "ProductionLine/Temperature". If the option Incl. system name in metric name is enabled, an additional prefix with the system name, such as "System1/", is added.

In a Distributed System, the Plantmodel can include datapoints from remote systems. Enabling the system name prefix is recommended in distributed setups to clearly identify the source system of each metric.

Quality Mapping

The Northbound Manager supports quality mapping for Sparkplug B data publishing. When enabled, the WinCC OA _invalid attribute is mapped to the Sparkplug B quality property of each metric.

Table 1. Quality Mapping
WinCC OA _invalid Sparkplug B Quality Behavior
false (valid) GOOD (192) Quality property omitted (per Sparkplug B specification)
true (invalid) BAD (0) Quality property included in metric
  1. Set "usequalitymapping": true in the datasource configuration on the DPE .Config.Datasource:
    {
      "entrypoint": {
        "node": "Views/SparkplugB",
        "includesystemname": false,
        "usequalitymapping": true
      }
    }
  2. Restart the Northbound Manager for the change to take effect.