Versions Compared

Key

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

...

Install the four MQTT modules listed in the pre-requisites onto your Ignition system following the Cirrus Link Module Installation guide.

By default, both MQTT Engine and MQTT Transmission are configured to connect to MQTT Distributor on tcp://localhost:1883 and will show as Connected under their respective Servers configuration setting in the Ignition UI. MQTT Transmission will also have an Transmitter configured pointing to a set of tags configured in the Ignition "default" tag provider. 

Review the MQTT Transmission Transmitters and Tag Trees for additional information on the Transmitter configurations interact with Ignition tag trees to publish MQTT messages and tags to an MQTT Server. 

This allows the three modules to automatically connect and provide a starting base for the tutorial.


Step 2: Configure a database connection

Follow the Ignition Connecting to MySQL guide to configure a database connection to your SQL database.

Step 3: Import tags to create Records in the Ignition tag provider

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.

Import the recorder_tutorial_tags.json to build a set of Ignition folders to represent the records.


Step : Configure the MQTT Recorder module