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

Compare with Current View Page History

« Previous Version 5 Next »

Prerequisites:

Overview:

This tutorial shows how to configure MQTT Transmission to generate custom records and send them as MQTT messages via MQTT Distributor to be stored in a 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.


Loading Cirrus Link Modules:

The first step is to load and configure the following Cirrus Link modules:

  • MQTT Distributor
  • MQTT Engine
  • MQTT Transmission
  • Record Store

To load the modules, launch the Ignition Gateway and open HTTP connection to it.  If Ignition Gateway is running on your development machine, use http://localhost:8088 to connect.  You should see this:

To load and configure modules, click the "CONFIGURE" configure tab to go to the 'Configuration Section'. Ignition will ask you to sign; use the admin/password as your credentials.

After signing in, you will see the screen shown below. Go to 'SYSTEM' on the left hand side of the screen and select 'Modules'. 

At this point, the module configuration page will appear. Scroll down and click the 'Install or Upgrade a Module' link to install 



The second step is to configure the Tag Provider in Ignition in a way that MQTT Transmission understands. The Tag Provider needs to be set up in Ignition via the Ignition Designer.  Here is how to do this...

  • Near the upper right corner, click 'Launch Designer'.  This will open the following window after downloading the JNLP file and executing it.  Note the default username/password is admin/password.  Type those into the appropriate fields and click 'Login'.


  • This will bring you to a new Window where you can select an Ignition Project or create a new one.  Create a new project by giving it a name and clicking 'Create New Project'.

  • In this example we're going to use the "default" tag provider within Ignition Enterprise.  Expand 'All Providers' in the Tag Browser and select 'default' as shown below:
  • asdas


  • No labels