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

Compare with Current View Page History

« Previous Version 3 Next »

MQTT Engine automatically creates a known set folders containing tags for Engine Control, Engine Info and Message Diagnostics.

For each connected Edge Node, a Node Control and Node Info folder containing tags is created along with a Device Info folder for each connected device.

The tables below describes these tags.

Node Control

The tags in each Node Control folder are created based on a supplied metric within the NBIRTH message from the Edge Node. These will only appear if the Edge Node implementation supports them. It is up to the Edge Node implementation (MQTT Transmission for example) to support any functionality it supplies via the NBIRTH. If the Edge Node does not support the specific control, it should not include it in the NBIRTH payload.


NameDescription
Next ServerRequests the Edge Node to walk to the next MQTT server
RebirthRequests the Edge Node to resend its NBIRTH and DBIRTH messages without disconnecting or sending DEATH messages first

Node Info

The tags below are general information tags with respect to Sparkplug Edge Nodes. These are created, managed and updated by MQTT Engine based on messages arriving from each given Edge Node.


NameDescription
bdSeqThe last bdSeq number sent by the Edge Node in an NBIRTH message

Birth Count

The number of NBIRTH messages since the last time the info metrics were reset via the Node Info/Reset Info tag

Current ServerThe current MQTT Server the Edge Node is connected to
Data Latency

The time in milliseconds between MQTT Engine receiving of the last message and the payload's reported time. Note: For this to be very accurate the edge node's clock and the system clock running MQTT Engine should be synced

Death CountThe number of NDEATH messages since the last time the info metrics were reset via the Node Info/Reset Info tag
Message SchemaThe schema associated with the Edge Node (e.g. Sparkplug B)
Offline DateTimeThe time at which the last NDEATH message was received by MQTT Engine
OnlineWhether or not the Edge Node is online. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH
Online DateTimeThe time at which the last NBIRTH message was received by MQTT Engine
Reset InfoWritable tag to 'reset' the Node Info metrics
seqThe last Sparkplug seq number received from the Edge Node
Total Bytes RecvdThe number of bytes received from the Edge Node since the last time the info metrics were reset via the Node Info/Reset Info tag
Total Bytes Xmit

The number of bytes sent to the Edge Node since the last time the info metrics were reset via the Node Info/Reset Info tag

Device Info

The tags below are general information tags with respect to Sparkplug Devices. These are created, managed and updated by MQTT Engine based on messages arriving from each given Device.


NameDescription
Birth CountThe number of DBIRTH messages since the last time the info metrics were reset via the Device Info/Reset Info tag
Data Message CountThe number of DDATA messages since the last time the info metrics were reset via the Device Info/Reset Info tag
Death CountThe number of DDEATH messages since the last time the info metrics were reset via the Device Info/Reset Info tag
Last Command SizeThe size in bytes of the last DCMD that was sent from MQTT Engine
Last Data Message SizeThe size in bytes of the last DDATA that was received from the Device
Offline DateTimeThe time at which the last DDEATH message was received by MQTT Engine
OnlineWhether or not the Device is online. This is determined by whether the last lifecycle message was an DBIRTH or NBIRTH
Online DateTime

The time at which the last DBIRTH message was received by MQTT Engine

Reset Info

Writable tag to 'reset' the Device Info metrics

Engine Control

Primary Host

The tags below give general information with respect to the primary host configuration.


NameDescription
EnabledWhether or not the Primary Host has been enabled in MQTT Engine
IDThe Primary Host name defined at MQTT Engine

Engine Info Tags

The tags below provide information regarding the MQTT Engine Devices, Edge Nodes, Latches, MQTT Client as well as information on MQTT Engine.


NameDescription
Redundancy RoleThe redundancy configuration of the Ignition system that MQTT engine is installed on. Options are Independent, Master and Backup
Redundancy StateThe redundancy status of the Ignition system that MQTT engine is installed on. Options are Active or Cold
System-Wide Reset InfoWriteable tag to 'reset' all Engine metrics
Total Bytes RecvdThe number of bytes received by Engine since the last time the info metrics were reset via the System-Wide Reset Info tag
Total Bytes XmitThe number of bytes sent from Engine since the last time the info metrics were reset via the System-Wide Reset Info tag
Total Data Mesg CountThe number of messages received by Engine since the last time the info metrics were reset via the System-Wide Reset Info tag
VersionThe version MQTT Engine currently installed

Devices

The Devices folder tags provide information on the connected devices.


NameDescription
DeviceCountThe number of Sparkplug edge devices as determined by the received DBIRTH messages
DevicesOfflineThe number of Sparkplug edge devices that are offline. This is determined by whether the last lifecycle message was an DBIRTH or DDEATH
DevicesOnlineThe number of Sparkplug edge devices that are online. This is determined by whether the last lifecycle message was an DBIRTH or DDEATH

Edge Nodes

The Edge Nodes folder tags provide information on the connected Edge Nodes


NameDescription
Last Node to ConnectThe Sparkplug ID of the last node to connect
Last Node To DisconnectThe Sparkplug ID of the last node to disconnect
NodesOfflineThe number of Sparkplug Edge Nodes offline. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH
NodesOnlineThe number of Sparkplug Edge Nodes online. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH
NodeUnitCountThe total number of Sparkplug Edge Nodes as determined by the received NBIRTH messages
Offline NodesA dataset containing the Sparkplug ID and timestamp for all offline Sparkplug edge nodes
Online NodesA dataset containing the Sparkplug ID and timestamp for all online Sparkplug edge nodes 

Latches

The Latches folder tags provide a tag path to any configured tag latches in the MQTT Engine configuration


NameDescription
TagName as defined in the MQTT Engine configurationWriteable tag to 'reset' the tag latch

MQTT Clients

The MQTT Clients folder tags provide information on the connected MQTT Clients.


NameDescription
Latency Check PeriodFrequency in milliseconds that the message latency for each MQTT Client is checked if the Enable Latency Check is checked

For each identified MQTT Client, the following tags are available

NameDescription
Primary Host State
Connected NodesNumber of currently connected Sparkplug Edge Nodes to this MQTT Client 
Enable Latency CheckWritable tag to enabled message latency checking for each MQTT Client 
Message Processing LatencyThe amount of time to process the last Sparkplug message
Messages Per SecondThe number of MQTT messages received by Engine per second 
MQTT Client IDThe Client ID for the MQTT Client
Offline DateTimeThe last time at which the MQTT Client successfully disconnected from the MQTT Server
OnlineA read-only tag showing the connection status of the MQTT Client
Online DateTimeThe last time at which the MQTT Client successfully connected to the MQTT Server
Server LatencyThe amount of time that it takes for a test MQTT message to be sent and received back by MQTT Engine
Target Server URLThe URL of the target MQTT Server to connect to


Message Diagnostics

The Message Diagnostics folder tags ...........

NameDescription
Message
Selected Node
  • No labels