Versions Compared

Key

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

...

  • Knowledge of Ignition and Module installation process: Cirrus Link Module Installation
  • Install the following MQTT Modules
    • MQTT Distributor
      • v4.0.X if using Ignition 8.0.x
    • MQTT Engine
      • v4.0.X if using Ignition 8.0.x
      Transmission
      MQTT Tranmission
      • v4.0.X if using Ignition 8.0.x

...

  • serverName: The server name as shown in the MQTT Engine Transmission Settings configuration shown below
  • mqttTopic: The MQTT Topic to publish on
  • payload: The MQTT payload
  • qos: The MQTT quality of service to publish on
  • retain: Whether or not to set the retain flag in the MQTT message

...

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


Note

MQTT Transmision currently has a max inflight message limit of 10. Depending on the frequency of MQTT publishes and the QOS selected, you may see the error "Too many publishes in progress" in the Ignition logs.

There are a couple of options to work around this now:

  • Slow down the publish rate if possible
  • Use QoS0 for publishing
  • Set up multiple clients and spread the load across them

Additional Resources