Versions Compared

Key

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

...

 

Overview:

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

...

The first step is to configure the 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.  Start by opening Designer from Ignition by clicking 'Launch Designer' from the upper right corner of the Ignition web console:

 

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

Image Added

 

With 'default' selected, click the 'OPC' icon in the Tag Browser icon list:

Image Added

 

This will open a new window as shown below.  If the OPC server and client were set up and configured properly, you should see something similar to the following:

Image Added

 

Note there is a device with an attached PLC and two sets of registers.  Yours will look different based on the device you are using and how it is configured.  At this point, we can select the device (CLTEST002DIRECTOR in this case) and drag it into the Tag Browser.  This is shown below:

Image Added

 

The first level of folders is very important in terms of layout and how the tags will be represent by MQTT Transmission.  These are the rules:

  • For terminology reference, please review the Sparkplug specification if you have not done so.
  • Under the Tag Provider, the first folder must be exactly 'Edge Nodes'
  • Under the 'Edge Nodes' folder a 'Group ID' must be next.  This can be anything you want but realize it represents a group of edge nodes.  You can have as many group IDs as you want.
  • Under 'Group ID' you can one or more Edge Nodes.
  • Under each Edge Node, you can have one or more devices.
  • Under each device, you can have any depth of