You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Prerequisites

Overview

Within MQTT Transmission, a record is a collection of tags under an Ignition folder which are treated as a single entity and published on demand. They are usually used for, but not restricted to, sending flow computer records such as events, alarms and history data.

Records are published via an MQTT client using a Sparkplug-like format such as spBv1.0/Group/NRECORD/Edge or spBv1.0/Group/DRECORD/Edge/Device with a JSON payload.

Records received at MQTT Engine are passed to MQTT Recorder which automatically generates database tables and populates the rows within the tables with records as they are received. 

This tutorial shows how to configure the MQTT Transmission module to generate records and publish them as MQTT messages via MQTT Distributor to be passed through MQTT Engine and passed to MQTT Recorder and stored in an MySQL database.

The topology of this example shows MQTT Distributor, MQTT Engine, Record Store, and MQTT Transmission all running in the same Ignition instance.  This is done for simplicity of the tutorial, but this isn't required or even intended to be a real use case.  In a more realistic scenario MQTT Transmission and MQTT Engine would be located on separate machines.
  • No labels