...
- Installing the Java Runtime Environment
- Installing Ignition
- Installing the following MQTT Modules
- MQTT Distributor
- v2.1.X if using Ignition 7.7.x or 7.8.x
- v3.1.0 or greater if using Ignition 7.9.X
- MQTT Engine
- v2.1.X if using Ignition 7.7.x or 7.8.x
- v3.1.0 or greater if using Ignition 7.9.X
Overview:
MQTT Engine provides a mechanism for publishing MQTT Messages from an Ignition script. This can be useful for general messaging outside of Sparkplug. For example, one may want to interface to another system that uses MQTT. This method allows arbitrary MQTT messages to be published based on events that exist in Ignition.
MQTT Message Publishing via Ignition Script:
...
Finally, save and publish the project. At this point every time this tags value, quality, or timestamp changes it will result in a MQTT message being published on topic 'a/b/c' with a payload of 'hello world'.
...
Additional Resources
- Inductive Automation's Ignition download with free trial
- Azure Injector download with free trial
- Questions about this tutorial?
- Sales questions
- About Cirrus Link