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 the Sparkplug EdgeNodes connected at Engine can be found in the Engine Info > Edge Nodes folder in the MQTT Engine tag provider.
where:
Name | Data Type | Description |
---|---|---|
Last Node to Connect | String | The Sparkplug ID of the last node to connect |
Last Node To Disconnect | String | The Sparkplug ID of the last node to disconnect |
NodesOffline | Integer | The number of Sparkplug Edge Nodes offline. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH |
NodesOnline | Integer | The number of Sparkplug Edge Nodes online. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH |
NodeUnitCount | Integer | The total number of Sparkplug Edge Nodes as determined by the received NBIRTH messages |
Offline Nodes | Dataset | A dataset containing the Sparkplug ID and timestamp for all offline Sparkplug edge nodes |
Online Nodes | Dataset | A dataset containing the Sparkplug ID and timestamp for all online Sparkplug edge nodes |
Executing the code below in the Ignition Script Console will print out the values in the Offline Nodes and Online Nodes datasets for review:
...
Example result from the Engine Info > Edge Nodes above
Code Block | ||
---|---|---|
| ||
>>> Online Online Sparkplug EdgeNodes: 21 [['Sparkplug EdgeNode Descriptor', u'MyGroupG1/MyEdgeNodeE1'], ['Last Connect Date', FriTue Sep 2226 1408:0459:4001 CDT 2023]] Offline Sparkplug EdgeNodes: 1 [['Sparkplug EdgeNode Descriptor', u'G1MyGroup/E1MyEdgeNode'], ['Last Connect Date', FriTue Sep 2226 1409:0406:4049 CDT 2023]] Offline Sparkplug EdgeNodes: 0 >>> |
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
...