Versions Compared

Key

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

The number of connected clients is available as an Ignition tag Details about MQTT Clients connected to MQTT Distributor can be found in the Distributor Info folder in the MQTT Distributor tag provider.


Image Added


where:

Name

Data Type

Description

Connected ClientsIntegerThe

...

number of the MQTT Clients currently connected
Keep Inactive ClientsBooleanA 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 ClientsIntegerThe total number of clients that have connected since the last MQTT Distributor restart (available 4.0.18 onward)


MQTT Engine Clients

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.

MQTT Transmission Clients

Each Sparkplug Edge Node Descriptor (which is a unique combination of a Group ID and Edge Node ID is ) 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 Nodes Node Descriptors will result in 3 three Sparkplug MQTT clients:

Group1/EdgeNode1
Group1/EdgeNode2
Group2/EdgeNode1

...

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.



Excerpt Include
CLD80:FAQ: Ignition ModulesCLD80:
FAQ: Ignition Modules
nopaneltrue

...