Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Connector for MQTT Sparkplug

Learn about connector generated quality events

  • Last UpdatedDec 24, 2024
  • 1 minute read

The connector generates quality events in each value stream to mark exceptional conditions. The connector-generated quality events are recorded in the archives of historians in the same manner as measurement values from the data source. Connector-generated events occur under the following conditions:

  • Start and stop data collection (optional).

  • Addition or deletion of a measurement (optional).

PI Connectors use the OPC quality codes in section 6.8 of the OPC Data Access Custom Interface Specification (version 3.0). Additionally, PI Connector for MQTT Sparkplug uses the following quality codes for connector generated quality events:

Code

Description

Cause

32 (decimal) 00 1000 00 (binary)

Waiting for initial data

Initial quality event for all data collection starts.

Initial quality event when a PI point is added or selected.

8 (decimal) 00 0010 00 (binary)

Not connected

Stopped quality event for all streams when data collection stops.

Quality event when a PI point is deselected.

SYSTEM digital states

In order to know when there is an event, the connector writes the appropriate SYSTEM digital state to the tags. SYSTEM digital states are, for example, Shutdown or IO Timeout.

TitleResults for “How to create a CRG?”Also Available in