Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Forum
Cirrus Link Modules Docs for Ignition 7.9.x
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
Details about MQTT Clients connected to MQTT Distributor can be found in the Distributor Info folder in the MQTT Distributor tag provider.
where:
Name | Data Type | Description |
---|---|---|
Connected Clients | Integer | The number of the MQTT Clients currently connected |
Keep Inactive Clients | Boolean | A writeable tag that controls whether to include inactive clients in Distributor Info tags (available 4.0.18 onward) |
MQTT Clients | Dataset String Array String Array String Array Boolean Array DateTime Array DateTime Array | A dataset containing information about each connected client (available 4.0.18 onward). The following Column Names are included the dataset: ClientId Username IP Address Connected Last Connect Time Last Disconnect Time |
Total Clients | Integer | The total number of clients that have connected since the last MQTT Distributor restart (available 4.0.18 onward) |
MQTT Engine has two potential client connections.
One, with ClientId ME-xxxxxxx-xxxx-xxxx, will publish the v3.0.0 Sparkplug™ B STATE message which will be initiated by default.
A second optional client, with ClientId ME-LS-xxxxxxxx-xxxx-xx, is available to publish the legacy Sparkplug™ B STATE message and is disabled by default.
Each Sparkplug Edge Node Descriptor (which is a unique combination of Group ID and Edge Node ID) will create one MQTT client.
Transmission ClientIds are in the format MT-xxxxxxxx-xxxx-xxxx
For example, a single Transmitter configuration with the following Sparkplug Edge Node Descriptors will result in three Sparkplug MQTT clients:
Group1/EdgeNode1
Group1/EdgeNode2
Group2/EdgeNode1
The MQTT Transmission Transmitters and Tag Trees document describes how transmitters and tag trees can be arranged, which in turn will define how many MQTT clients get created from a single Transmission instance.
In addition, MQTT Transmission supports an optional RPC Client, ClientId MT-RPC-xxxxxxxx-xxxx-xxxx, which is used when publishing from Ignition Python scripts. This is enabled by default.
Additional Resources