Versions Compared

Key

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

...

The first level of folders is very important in terms of layout and how the tags will be represent understood and represented by MQTT Transmission.  These are the rules:

  • For terminology reference, please review the Sparkplug specification if you have not done so.
  • Under the Tag Provider, the first folder must be exactly 'Edge Nodes'
  • Under the 'Edge Nodes' folder a 'Group ID' must be next.  This can be anything you want but realize it represents a group of edge nodes.  You can have as many group IDs as you want.
  • Under 'Group ID' you can one or more Edge Nodes.
  • Under each Edge Node, you can have one or more devices.
  • Under each device, you can have any depth of folder/tag structure to represent the tags.

 

In our example, we have a single Edge Node of 'CLTEST002DIRECTOR', under it a single Device called PLC1, and under it, 15 registers in two different folders.  We could rearrange this by renaming and moving folders and tags to a different representation as desired.  The layout below is also valid as was done simply by moving/renaming the tags shown above.

Image Added

 

Note while the folders and tags were moved and renamed, the basic structure stayed the same with:

  • default
    • Edge Nodes
      • Group ID (1 to n)
        • Edge Node ID (1 to n)
          • Device ID (1 to n)
            • Free form folders and tags

With our tags set up as we want them, we can now install MQTT Transmission.