Versions Compared

Key

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

...

Ignition is an Industrial Application Platform that can be used to create SCADA and HMI solutions. A fully functional Ignition system can be downloaded and run in a trial mode running for two hours at a time with unlimited restarts. Using Ignition as a tool in this way allows us to install the Sparkplug MQTT Modules and observe everything working.

Ignition Edge is a leaner version of Ignition made specifically for use in on edge-of-network devices. Ignition comes with unlimited Tags, Clients, and database connections, while Ignition Edge comes with unlimited Tags, two Clients (one local and one remote) and no database connectivity.

...

  • Ignition can run on a laptop, in the cloud via an AWS EC2 instance or some other development computer.
  • Ignition Edge can run on one of many supported embedded edge of network gateways, a laptop or development computer, a Raspberry Pi (load ARMHF version), or also in a cloud service.

Architecture

Image RemovedImage Added

Tutorial

Step 1: Download the Cirrus Link MQTT Modules

...

Once the Ignition installer has been downloaded, follow the instructions provided by Inductive Automation to install and start Ignition.

...

Tip
Take note of your user/password you create as part of this installation process as you will need these credentials to load modules and configure this instance.


Note
For this test infrastructure, MQTT Distributor will be installed as an Ignition module. On your primary machine, remember to either turn off firewalls or at a minimum allow inbound connections to TCP/IP port #1883 and port #8883, as remote MQTT Clients will need to be able to establish a TCP/IP socket connection to these ports.


Step 3: Secondary machine - download and install Ignition or Ignition Edge

...

Once the Ignition installer has been downloaded, follow the instructions provided by Inductive Automation to install and start either Ignition or Ignition Edge

Instructions for Installing and Upgrading IgnitionImportant Note:

Tip
Take note of your user/password you create as part of this installation process as you will need these credentials to load modules and configure this instance.

Step 4a: Primary machine - install the MQTT Modules on Ignition Gateway

...

By default, MQTT Engine is already configured to point to an MQTT Server at tcp://localhost:1883 and this means it will automatically connect to the MQTT Distributor which is installed with it.

View To verify the connection status, select the Config tab on the left side bar and scroll to the bottom of the page and click on the "MQTT ENGINE | Settings" link and then open . Open the Servers tab and confirm the Status shows Connected.

Example below showing default MQTT Distributor Settings:

...

Once configured, MQTT Transmission will automatically connect, and you can confirm by checking the Connected status on the Servers tab.


Step 6: Primary and secondary machine - Launch Designer

...

At this point are ready to edit the default tag, created as part of the MQTT Transmission installation, to send to MQTT Engine using the MQTT protocol and to do this we will use the Ignition Designer tool.

On both the primary and secondary machine, select Select the Get Designer button from Ignition web portal to download, install and launch the Design Launcher. 

...

Expand the MQTT Tags folder in the Tag Browser window until you have exposed the PLC 1 folder with the Example Tag.

Step 7: Test Connection

To test your connection, make a change to the tag value on the secondary machine with MQTT Transmission installed. Double click on the Example Tag value '1', change the value, and watch it update at the Ignition Designer connected to the MQTT Engine provider.

Note

...

The Ignition Designer tool is not by default in Read/Write mode so your first attempt to write a new value to this Example Tag will ask you to select

...

either Cancel | Enable Read/Write Mode | Write Once.  Select Write Once or Read/Write to allow Tag value changes.

For more detail on how the MQTT Transmission Transmitter configurations interact with the Ignition tag trees to publish MQTT messages and tags to an MQTT Server, see the MQTT Transmission Transmitters and Tag Trees tutorial.

...

...