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
...
Now we have the three modules connected, we can setup the file publish configuration.
...
Now we can configure the MQTT Engine module to process the published files.
Navigate to the MQTT Engine > Settings in the left side of the Ignition Gateway UI and select the Namespaces tab. From the Default tab, edit the Sparkplug B namespace shown below:
...
Now select the 'Files' tab and set the following
When complete, it should look similar to the following. Save the changes after confirming.
...
Now we can configure the MQTT Transmission module to publish files using the existing MQTT client created by the Example Transmitter. Navigate to the MQTT Transmission > Settings in the left side bar of the Ignition Gateway UI and select the Transmitters tab. Make note of the Sparkplug IDs configured for your transmitter.
For our example we have the Group ID as My MQTT Group and the Edge Node ID as Edge Node faec7e
Now on the
...
...
'Files' tab, select the Create new Files... link and configure the following fields
When complete, it should look
...
similar to the following. Save the changes after confirming.
After the configuration is saved, it should look
...
similar to below:
At this point, everything should be configured to send files from MQTT Transmission to MQTT Engine. Open Ignition Designer on the system running MQTT Transmission. You should see a new set of tags there the control and information tags created in the specified tag provider and folder as shown below.:
At this point, we just need to tell MQTT Transmission which file to send. Download this sample_file.zip which contains two text files. The two text files are:
...
With both files in place, we can now set the 'Publish File Path' tag. This path must be the full path to the target file to publish over MQTT. In this example, we're using the path of '/tmp/transmission/sample_file.txt'. However, on a Windows system that would look something like 'C:\full\path\to\my\sample_file.txt'. When this is set, you should see something like this
...
You should also now see the file on the Ignition system with MQTT Engine installed. The file will be saved to the location you set as the 'Base File Directory' in your MQTT Engine namespace configuration for Sparkplug B.
At this point you have a fully functional system which can be expanded or modified as required. There is also an option to 'automatically' publish files using MQTT TransmissionBelow are some addition configuration options to try:
...
...
...
...
...
...
...
...
...
...
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
...