The Flow-Cal Common File Exchange (CFX) export format enables data to be exported directly from flow computers and other RTUs in the field straight into FLOWCAL application for accounting and further analysis.

When enabled, CFX and associated CFX.MD5 files will be created for each configured meter and new Alarm, Event and PeriodicHistory records will be added to the file.

Files will be stored on the Ignition instance where the driver is installed under these file paths:

For EFM Emerson ROC:

<ignition folder>/data/modules/com.cirrus-link/efmemersonroc/devices/<device id>/meters/<meter id>/

For EFM ABB Totalflow:

<ignition folder>/data/modules/com.cirrus-link/efmabbtotalflow/devices/<device id>/meters/<meter id>/


Files can be published and processed using the MQTT Transmission and MQTT Engine modules.  

Review the Managing files with MQTT Transmission and MQTT Engine to understand how to configure these modules to publish and receive files.

Configuring the Common Exchange Format

The Common Exchange Format (CFX) is configured through either the EFM Emerson ROC Device Connection or the EFM ABB Totalflow Device Connection configuration.

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


Publishing the CFX files

By default, the configuration will not attempt to publish the created CFX files. They will be created and maintained, with new records added to the file, until the device connection is removed.

Publishing the file using MQTT Transmission requires the setup of the File record in Transmission which can be selected as the CFX File Transfer parameter.

For this configuration, you will need to enable the Enable Auto-Publish option in the MQTT Transmission File record configuration and configure the Publish Files Folder tag to specify the directory from which files will be published

 Complete the CFX configuration to publish files by:


When the publish task is configured, the CFX and corresponding MD5 files will be copied or moved to the directory specified by the MQTT Transmission File record Publish Files Folder Tag. 

MQTT Transmission will scan the folder specified in the tag and will publish all files that appear in this directory automatically. When the file is successfully transferred both files will be removed from the file directory.

MQTT Engine will process the received file and place in the location you set as the 'Base File Directory' in your MQTT Engine namespace configuration for Sparkplug B.