Versions Compared

Key

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

...

 


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