Overview

The MQTT Transmission UNS Transmitter is an agent the monitors tags and publishes them as MQTT Messages with a JSON payload to an MQTT Server. It is ideal for lightweight IT deployments where minimal data points are required by Enterprise consuming clients and is generally used on the IT side of an OT/IT infrastructure


The 'topic per datapoint' strategy is very expensive from a resource perspective on both the MQTT clients as well as the MQTT Server.

Review Which MQTT Transmission Transmitter should I use to make sure you are using the appropriate MQTT Transmission Transmitter for your application.


Configuration

Configuration is set under the MQTT Transmission > UNS Transmitter tab


The configuration sections available are Tag Settings, Publish SettingsHistory Settings and Advanced Settings.

UNS Transmitters - Tag Settings


UNS Transmitters - Publish Settings


UNS Transmitters - History Settings

UNS Transmitters - Advanced Settings


How it Works

For each tag, identified under the configured Tag Path, the UNS Transmitter will publish two MQTT messages:

The UNS Transmitter will use the namespace unsAv1.0 and will prefix this to all publishes from the MQTT Transmission UNS Transmitter

The UNS namespace may be disabled via script using the "UseTopicPrefixToken" parameter 


UNS Messages

UNS Data Message

A single UNS Data Message is published for each tag when the QualifiedValue of the tag changes 

UNS Properties Message

A single UNS Properties Message is published for each tag on every client connection.


Tag properties are only included if different from the default Ignition tag property settings unless configuration property Send All Properties is True