You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Prerequisites:

 

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

 

MQTT Message Publishing via Ignition Script:

Start by opening an Ignition Designer window and double clicking 'Project-> Gateway Event Scripts' from the Project Browser as shown below:

 

Now select 'Tag Change' click the 'new Tag' icon at the bottom of the window shown below.

Set the name of the script and then select a tag path.  In this case we're using an MQTT Engine tag from an emulated device.

Now select the 'Script' tab near the top.

 

  • No labels