For the complete documentation index, see llms.txt. This page is also available as Markdown.

Variable mapping via HMI configuration

Import variables from the configuration of a Siemens HMI device (.fwx / .fwc)

The HMI devices on a machine show exactly the values that matter for operating it. You can take over that selection directly: the Flex Configuration Extractor reads every variable used on the HMI screens from the configuration of a Siemens HMI device. You pick the display elements you want, give each one a display name and a unit, and register the variables in the ENLYZE Platform.

This works for the following HMIs:

Configuration software
Typical devices
File

WinCC flexible 2005 / 2008

MP 177, MP 277, MP 377, TP/OP 177B, TP/OP 277, Mobile Panels, WinCC flexible Runtime on PC

.fwx

WinCC (TIA Portal) V12 to V17

Basic Panels, Comfort Panels, WinCC Runtime Advanced on PC

.fwc

Your file stays on your computer

The configuration file is read exclusively in your browser. It is neither transferred to ENLYZE nor stored on our servers. Only the variables you select are registered in the ENLYZE Platform.

Identify your HMI device

The order number on the rating plate on the back tells you which file your HMI device uses. It starts with 6AV, or with 6AG1 for SIPLUS variants for harsh environments (e.g. 6AG1 124 instead of 6AV2 124).

Order number starts with
Device family
Configured with
File

6AV6 64…

MP 177, MP 277, MP 377, TP/OP 177B, TP/OP 277, Mobile Panel 177 / 277, 1st generation Basic Panels

WinCC flexible, sometimes also TIA Portal

mostly .fwx

6AV2 123

2nd generation Basic Panels

TIA Portal

.fwc

6AV2 124

Comfort Panels

TIA Portal

.fwc

6AV2 125

2nd generation Mobile Panels

TIA Portal

.fwc

6AV2 128

Unified Comfort Panels

WinCC Unified

not supported

The start screen gives another hint: devices of the WinCC flexible generation show the Loader, Comfort Panels show the Start Center.

The file itself is the definitive answer: a pdata.fwx in the \Flash\Simatic folder means the project comes from WinCC flexible, a pdata.fwc means TIA Portal. Since you copy the entire folder, you do not need to know the generation in advance. The Flex Configuration Extractor handles both files.

Get the configuration file

The configuration file is the compiled runtime project of the HMI device. There are three ways to get it. For existing machines, copying it directly from the HMI device is the standard way, because the engineering project is often not available.

If you, the machine builder, or your maintenance team have the engineering project, the file is created when the HMI device is compiled. No access to the machine is needed.

TIA Portal (.fwc)

  1. Open the project in TIA Portal.

  2. In the project tree, right-click the HMI device and select Compile > Software (rebuild all).

  3. Open the project folder in the file system. The file pdata.fwc is usually located in the subfolder IM\HMI\...\Generates. If the project contains several HMI devices, each device has its own subfolder.

WinCC flexible (.fwx)

  1. Open the project in WinCC flexible.

  2. Select Project > Compiler > Generate.

  3. The .fwx file is located in the same folder as the project file (.hmi) and is named after the project.

If the project is stored as an archive (e.g. .zap in TIA Portal), retrieve it first and then compile the HMI device again. Archives usually do not contain the compiled file.

If the visualization runs on a PC or panel PC (WinCC flexible Runtime, WinCC Runtime Advanced), the file is stored in the computer's file system. You do not need to close the runtime.

  1. Open the WinCC Runtime Loader from the Windows Start menu (Siemens Automation > Runtime Systems).

  2. Settings shows the path of the loaded configuration file.

  3. Copy the file from that path to a USB stick.

If the runtime starts via a shortcut in Autostart, you also find the path in the shortcut's properties. Alternatively, use the Windows search for *.fwc or *.fwx.

Take over the variables

1

Open the Flex Configuration Extractor

In the ENLYZE Manufacturing Data Platform, open the controller's data source and switch to the Variables tab.

  • S7 Classic: click Import variables and select WinCC runtime file (.fwx, .fwc).

  • S7+ and OPC UA: click WinCC runtime file (.fwx, .fwc).

Select relevant variables card with the WinCC runtime file (.fwx, .fwc) button
Opening the Flex Configuration Extractor from an S7+ or OPC UA data source

The Flex Configuration Extractor opens in a new tab with site, machine, and data source already selected.

Choose the data source of the controller the HMI device talks to. Its connector must match the connection in the HMI project: SIMATIC S7 300/400 belongs to S7 Classic, SIMATIC S7 1200 and SIMATIC S7 1500 to S7+, and OPC UA to OPC UA.

If the button is not shown, contact us at support@enlyze.com. We will enable the Flex Configuration Extractor for your account.

2

Upload the configuration file

Drag the .fwx or .fwc file onto Drop your WinCC runtime file here, or click it to select the file. The file is read in your browser.

Upload step of the Flex Configuration Extractor with the drop zone
Uploading the WinCC runtime file

Once the file is read, the extractor shows its name and the number of screens. Continue with Continue to next step: Select screens.

Uploaded runtime file with the number of screens, the Load progress file option, and the button to the next step
Uploaded WinCC runtime file
3

Select screens

Under Select screens, select the HMI screens that belong to your HMI device. Some projects contain screens for several devices or variants.

Screen selection with thumbnails of all HMI screens, two of them selected
Selecting the HMI screens
4

Select and name variables

The selected screens are shown the way they appear on the HMI device.

  • Click a display element to select its variable, then enter a Display name, a Unit, and a Comment if needed.

  • Right-click a selected element to deselect it.

  • Use the search to find variables by address or name. Select all variables from this screen takes over every variable on a screen.

HMI screen with a selected display element, the editor for display name, unit, and comment, and the table of selected variables
Selecting and naming variables on the HMI screen

Save progress saves your work to a file. Use Load progress file on the extractor's start page to continue your selection later.

5

Send the variables to the ENLYZE Platform

Check your selection under Review & export and click Send variables to ENLYZE platform.

Review & export table with the selected variables and the Send variables to ENLYZE platform button
Checking the selection before sending

Choose the state the variables are created with:

  • Evaluating (recommended): the variables are recorded in the Exploration state. You check the values before you activate them.

  • Active: the variables are recorded right away and available to all services.

Confirm with Send variables. The summary shows how many variables were created, updated, or already up to date.

Display elements whose address is only calculated at runtime (e.g. through multiplexing or indirect addressing) cannot be taken over. If you need these values, register them via the STEP 7 project folder or contact support.

Next steps

If you have any questions, feel free to contact us at support@enlyze.com.

Last updated