Versions Compared

Key

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

...

Transmission is an MQTT module for Ignition that can convert Ignition Tag tag data and tag change events into MQTT messages to be consumed by MQTT Engine or other MQTT clients.  This tutorial will show how to configure MQTT Transmission to send OPC Tag tag data in Ignition as MQTT messages via MQTT Distributor to MQTT Engine where they will be displayed.

The topology of this example shows MQTT Distributor, MQTT Engine, 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 the MQTT Transmission and MQTT Engine would be located on separate machines.

...

This tutorial shows how to use OPC tags and MQTT Transmission to generate MQTT messages based on tag change events.  However, the tag source does not have to be an OPC tag.  Instead, as long as the tag structure for MQTT Transmission is followed, any Ignition Tag tag can be used to generate MQTT messages and/or be controlled via MQTT messages.

...

The first step is to configure the Tag Provider tag provider in Ignition in a way that MQTT Transmission understands.  Start by configuring your OPC server, client, and tags.  This can be done using the Inductive Automation documentation here.  Once this is done, the Tag Provider needs to be set up in Ignition via the Ignition Designer.  Using a Web Browser, browse to the Ignition Gateway on your Ignition Gateway.  If it is running on your development machine, that is: http://localhost:8088.  You should see this:

Image RemovedImage Added

 

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

Image RemovedImage Added

 

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'.

Image Removed

 

 Image Added

In this example we're going to use the 'default' tag provider.  Do so by expanding 'All Providers' in the Tag Browser and select 'default'.

...