![]()
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![]()
When you have the Data Format Type under MQTT Transmission > Servers > Advanced Settings set to Sparkplug_B_v1_0_JSON, MQTT Transmission will parse a Sparkplug command message correctly.
If publishing a command to an Edge Node level tag, the topic structure will be spBv1.0/groupID/NCMD/edgenodeID
If publishing a command to a Device level tag, the topic structure will be spBv1.0/groupID/DCMD/edgenodeID/deviceID
The JSON formatted payload should be in the format below:
{
   "timestamp":1681316577447,
   "metrics":[
      {
         "name":"MyControlTag",
         "timestamp":1681316576446,
         "dataType":"Int32",
         "value":9000
      }
   ],
   "seq":0
}
The "name" should be the full Ignition tag path for example:
"Folder1/Folder2/UDTInstance1/UDTInstance2/Folder3/UDTInstance3/Tag1"
"Folder1/Folder2/MyControlTag"
Additional Resources