ABB Totalflow Device Connection

Device connection for the ABB Totalflow module can be configured via OPC UA configuration.  Begin by selecting OPC UA → Device Connections on the left as shown below:

This opens the configuration page as shown below:

A new ABB Totalflow device can be created by following the 'Create new Device...' link and choosing 'EFM ABB Totalflow' device as shown below and clicking 'Next' at the bottom of the page.

This opens the 'New Device' configuration page for EFM ABB Totalflow Device. The configuration sections available are General, Device, Connectivity, Auto Setup, Import Policies, DB2 Protocol, RBAC, Date/Time, Records, Records Signature, Common File Exchange (CFX), Sparkplug and Advanced Settings.

General

Device

Connectivity

Auto Setup

Import Policies

Import Policies

DB2 Protocol

RBAC

Date/Time

Records

Records Signature

Common Exchange Format (CFX) 

Available in release 4.0.15 and newer


To view all the CFX parameters below, MQTT Transmission must be installed.

MQTT Transmission is not required to create and maintain the CFX files for each meter. It is required to configure the CFX File Transfer and, if not installed, the "CFX Publish Time Expression", "CFX Cutoff Time Expression" and "CFX File Transfer" fields will not be available. 

The CFX Cutoff Time Expression should be greater than the CFX Publish Time Expression


Sparkplug

To publish Records such as Alarms, Events or History, a configured MQTT Transmission Transmitter is used.

If you do not have a Transmitter configured, create an MQTT Transmitter and set the Sparkplug Settings to the unique Group and Edge Node ID values generated by the Device Connection configuration.

If a Transmitter already exists, for example to publish the polled/live data, you can edit the Group and Edge Node IDs to match the existing Sparkplug Edge Node created by the Transmitter.

Advanced


With the device now established you must configure the Totalflow Applications, Totalflow Application Definitions, Array-Register Definitions, Array-Register Templates and Poll Groups to use.  

Totalflow Applications

The Totalflow Applications view is populated by the auto-discovery process that takes place on device startup or re-configuration. To view, click the 'More' drop-down button and select 'Totalflow Applications'.

An example of the display is shown below and the user can enable or disable polling on any listed application and save the changes.

Polling on all 'Tube' applications is enabled by default.

If the device is configured with auto-discovery disabled, use the Import Configuration button to import application information from a 'Totalflow Applications' CSV file that contains correct information on applications instantiated on the Totalflow device the driver is connected to.

Totalflow Application Definitions

If there are any uploaded global Totalflow applications definition files, they can be applied to this device connection. Do so by clicking the 'More' drop-down button and selecting 'Totalflow Applications Definitions'.

You should now see an empty list of Totalflow applications definitions unless you used the Add All Totalflow Applications Definitions setting.  Click the 'Add Row' link that is shown below. 

This will show a new Totalflow application definition with a select box to allow you to select which global application definition you want to associate with this device. Add as many as are appropriate for your device as shown below and select Save.

Array-Register Definitions

If there are any uploaded global Array-Register definitions, they can be applied to this device connection. Do so by clicking the 'More' drop-down button and selecting 'Array-Register Definitions'.

You should now see an empty list of Array-Register definitions unless you used the Add All Array-Register Definitions setting.  Click the 'Add Row' link that is shown below. 

This will show a new Array-Register definition with a select box to allow you to select which global Array-Register definition you want to associate with this device. Add as many as are appropriate for your device as shown below and select Save.

Array-Register Templates

With the Array-Register definitions now defined for this device we can create some Array-Register templates to allow creation of Application-Array-Register (AAR) poll groups.

Do so by clicking the 'More' drop-down button and selecting 'Array-Register Templates'.

Note that the ABB Totalflow driver is capable of generating default Array-Register templates - one per each enabled application type (i.e. application enumeration). If ABB Totalflow device connection was created with the 'Auto-generate Templates and Poll Group' setting turned on, the following default Array-Register templates will be generated for the Totalflow applications configured.

These default templates for each application type will contain all Array-Register points obtained from applied Array-Register definitions that are applicable for this application enumeration. An example of this default template entry page is shown below:

Now you can configure these default Array-Templates as needed for your application. Options are:

  1. Make no changes. This approach will potentially create too many tags that are not really needed.

  2. Edit default template by either deleting or disabling rows.

  3. Export default templates as CSV file, edit this file (i.e. remove unwanted data points), and import it back. This approach can result in either:
    1. New Array-Register template if original template name was modified in CSV file. In this case original default template will remain untouched.
    2. Same Array-Register template will have less data points given that template name has not been modified in edited CSV file.

  4. Delete default Array-Register template and create a new one from scratch.
The best practice is to disable the 'Auto-generate Templates and Poll Group' option in device configuration before deleting any templates. Otherwise the driver will attempt to regenerate default template for application enumeration if the following is true:
  1. The 'Totalflow Application' configuration panel contains at least one application of this type (i.e. enumeration) with polling enabled.
  2. There is no other custom Array-Register template defined for this application. 


If the device is configured with Auto Generate Templates and Poll Group disabled, use the Import Configuration button to import template information.

There are two 'export' options for Array-Register Templates:

Export Configuration 

Using this option will export the Array-Register template as an INI backed templates This means that user can only change the following fields: 'Array', 'Register', 'Tag Name', and 'Enabled'. Other fields such as 'Access', 'Data Type', 'Category', and 'Register Name' are read only and obtained from INI files. Reference the ABB Totalflow: Array-Register Templates for an example of an INI-backed_ArrayRegisterTemplate.csv file

Export as 'Free Form'

Using this option will export the Array-Register template that can be used without an INI file. Reference the ABB Totalflow: Array-Register Templates for an example of an free form ArrayRegisterTemplate.csv file

To replace an INI backed Array-Register template by the 'Free-Form' one as shown below:

Poll Groups

With Array-Register templates already defined, you can now create Application-Array-Register (AAR) poll groups. 

Do so by clicking the 'More' drop-down button and selecting 'Poll Groups'.

If the ABB Totalflow device connection was created with the 'Auto-generate Templates and Poll Group' setting turned on, the driver will create a default poll group. This default poll group will have one entry per each application enabled on the Totalflow Applications Configuration Panel as shown below:

Each poll group entry has the following fields:


If the device is configured with Auto Generate Templates and Poll Group disabled, use the Import Configuration button to import poll group information.

When a poll group entry is enabled a polling thread is spawned, and this thread polls for data points defined in the Array-Register template this entry points to. And as with Array-Register templates, if a default poll group entry or entire poll group needs to be deleted, it is the best practice to turn the 'Auto-generate Templates and Poll Group' device configuration option off first.