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
...
The EFM ABB Totalflow module is capable of polling events from an ABB Totalflow device based on a specified polling rate. With MQTT Transmission, these events can be published as Sparkplug records to an MQTT server. Any client subscribed on Sparkplug RECORD messages can receive these objects. In addition, MQTT Engine when combined with MQTT Recorder can also receive these messages and store these objects in a configured Ignition database. The following drawing shows the general architecture used to do this. This tutorial outlines the process of getting events to the central Ignition gateway.
...
MQTT Recorder requires that a database be set up in Ignition. That can be done as described in the 'Connect to a Database' section here. Note Ignition supports additional database types. For more detailed information about supported types, take a look at the information provided here. Once a database is set up, MQTT Recorder can be configured. Do so by opening the Ignition Gateway Web UI and browsing to the Configure tab at the top of the screen and then selecting 'MQTT Recorder → Settings' as shown in the lower left below.
Once there, select a Datasource as shown in the image below. This drop-down will be populated with any database connections set up in Ignition. Optionally, a Partition Period can be selected to segregated tables by time periods.
At this point, the Central Ignition Gateway with MQTT Distributor, MQTT Engine, and MQTT Recorder is fully configured and ready to receive MQTT Sparkplug messages from the Remote/Edge Ignition Gateway. MQTT Distributor listens on TCP port 1883 by default for inbound MQTT connections. Make sure the Operating System's Firewall, Antivirus, and Malware protection services allow inbound connections on port 1883/TCP before proceeding.
...
Start by configuring the MQTT Transmission module. Do so by opening Ignition Designer and creating a tag structure similar to what is shown below.
Note this structure is based on usage of the 'Default Transmitter' in MQTT Transmission. So, the directory structure is very important. Note the structure.
...
In the MQTT Transmission Settings configuration, click the Servers tab. Then click 'edit' on the Chariot SCADA MQTT Server definition. Modify the URL to match the URL of the Central Ignition Gateway. In this example, MQTT Distributor is installed on a Central Ignition Gateway at the IP address of 192.168.1.2. Once the URL is modified to match the configuration, there should be a '1 of 1' in the Connected column as shown below.
The next step is configuring the ABB Totalflow module. This is done as described in the ABB Totalflow Configuration manual. In going through the basic setup and configuration for Events configuration the following steps must be performed:
...
The second way to do it is to configure scan rates as shown below:
At this point, the EFM ABB Totalflow driver is configured and is polling for Events at the rate specified in the EFM ABB Totalflow device configuration.
MQTT Transmission is connected to the MQTT Server and as a result MQTT Engine is receiving tag change events. In addition, because an EFM ABB Totalflow device has been created and configured with the same Sparkplug Group ID, Edge Node ID, and Device ID, history data will also be pushed to the MQTT server as Sparkplug RECORD objects. When new history data is polled by the EFM ABB Totalflow driver, they will be published to the MQTT server, consumed by MQTT Engine, passed on to MQTT Recorder, and then inserted into the specified database. Below is a view of some events records using a third party database viewing tool.