Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Group ID

    • This identifies a logical grouping of Edge nodes and devices. This can be a region, a facility name, or any meaningful grouping of Edge Nodes within your application.

  • Verb
    • This provides an indication on how to handle the payload of the message. This includes whether the message is a birth certificate, death certificate, data message, command message, etc.
    • Options include

      NBIRTH: Edge node BIRTH certificate. This is a startup message from an Edge node to announce its presence and share its configurations. 

      NDEATH: Notification of an edge node’s disconnection or failure.

      DBIRTH: Device BIRTH certificate. This is a startup message from a device to announce its presence and share its configurations.

      DDEATH: Notification of a device’s disconnection or failure.

      NDATA: Data messages from an edge node which include edge node metric data.

      DDATA: Data messages from a device which include device metrics.

      NCMD: Command to an edge node.

      • Also used for REBIRTH requests to an edge node 

      DCMD: Command to a device.

      STATE: It represents the state of the primary host application. Edge nodes subscribe to it to get the online status of the host.

  • Edge Node ID
    • The ID of the logical Edge Node. This is often the name of the system running Ignition with MQTT Transmission or Injectors.
  • Device ID (Optional)
    • The ID of a device attached to the Ignition instance. This can be a PLC or logical grouping of tags that represent a physical or logical device connected to Ignition.

...

Note
MQTT Transmission transmitters or the Injector Tag Agents are designed to use the Ignition tag folder hierarchy (Tag Path) in combination with any configured Sparkplug IDs to dynamically build the Group ID, Edge Node Id and Device ID used in the topic.

...

  • timestamp
    • The time stamp the payload was created
  • metrics
    • An array containing the metrics being published.
    • For each metric parameters include:
    • name
      • Metric name when aliasing not used
      • For Ignition tags this is the tag folder hierarchy not used in the topic namespace
    • alias
      • Numeric value representing the metric when aliasing is used
    • timestamp
      • Timestamp associated with the last metric change event
    • dataType
      • DataType associated with the metric
    • isHistorical
      • Set to True to denote the metric represents a historical value
    • isTransient
      • Currently not used by MQTT Modules
      • Set to null
    • metaData
      • Used for customisation on top of the Sparkplug B protocol
      • Used by MQTT Modules for file transfers and custom decoding information for example: UDTsthe metric
    • properties
      • Used for Ignition tag properties. See the Ignition Tag Properties reference for all available properties.
      • Included in BIRTH messages if values have been changed from the Ignition default or if they are custom properties. 

        Tip
        Cirrus Link modules often optimise payloads by excluding Good metric qualities from a payload. If the payload is missing the quality property, it should be considered to be Good


    • value
      • Value associated with the meticmetric
      • If Ignition User Defined Types (UDTs) are being used, and MQTT Transmission is configured to Publish UDT Definitions in BIRTH definitions are included in NBIRTH messages 
    • isNull
      • Flag denoting the metric has a null value
  • seq
    • The message sequence number used to ensure that messages are processed in the correct order
  • uuid
    • Currently not used by MQTT Modules
    • Set to null
  • body
    • Currently not used by MQTT Modules
    • Set to null

...