Siemens STEP 7 HW Config: MLFB Lookup and GSD File Integration

David Krause13 min read
SiemensTechnical ReferenceTIA Portal
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Siemens STEP 7 Hardware Configuration: MLFB Lookup and GSD File Integration

Engineers working on SIMATIC S7-300, S7-400, ET 200, and C7 systems frequently need to verify a rack/station layout against the latest Siemens catalog numbers (MLFBs) without breaking a working STEP 7 installation. This reference consolidates the configuration tools shipped with STEP 7 V5.x and TIA Portal, explains the GSD file lifecycle, documents the MLFB numbering scheme, and identifies the official online resources Siemens publishes for module lookup and pre-order validation.

1. Overview of Siemens Hardware Configuration Surfaces

Siemens provides three distinct configuration surfaces, each with a different scope and lifecycle:

Tool Version Range Target PLC Family Offline / Online GSD Import
STEP 7 HW Config V5.4, V5.5, V5.6 (Classic) S7-300/400, C7, ET 200M/200S, WinAC Offline editor with online diagnostic buffer read Imports GSD/GSDML for PROFIBUS DP and PROFINET IO
TIA Portal — Devices & Networks V13 → V19 S7-1200/1500, ET 200SP/MP, S7-300/400 (limited) Offline editor with online topology scan Imports GSDML only; legacy GSD via converter
TIA Selection Tool / TIA Selection Tool Cloud Continuous web service Cross-portfolio (S7, SINAMICS, SIMOTION) Online browser / desktop client Catalog data, not GSD import

STEP 7 V5.x HW Config is a 32-bit Windows application delivered on the SIMATIC Manager DVD. It stores station data inside the S7 project database (S7_PROJ folder) and writes module parameters back to the project, not to the PLC, until a download is executed.

2. STEP 7 V5.x HW Config Tool Capabilities

HW Config is the integrated editor invoked from SIMATIC Manager via Options → Edit Station → Open HW Config or by double-clicking the Hardware object in the project tree. It supports the following operations relevant to validating a configuration without modifying the project:

  • Insert rail (0), insert/remove modules by drag-and-drop from the Hardware Catalog.
  • Edit module properties (address, diagnostic interrupts, parameter sets).
  • Assign PROFIBUS DP and PROFINET IO device names and IP addresses.
  • Compile and verify the station (Station → Consistency Check).
  • Export the station to a CDF (Configuration Description File).
  • Import GSD/GSDML files for third-party DP/PN slaves.

The Consistency Check evaluates slot rules, address conflicts, parameter set consistency, and PG/PC assignment. It does not validate against an online target unless an Upload Station to PG has been performed.

2.1 Hardware Catalog Tree

The Hardware Catalog pane is populated from two sources:

  1. Built-in catalog shipped with the STEP 7 installation DVD (typically a hware.dbf file in ...\S7WB\S7CAT\).
  2. User-installed GSD/GSDML files added via Options → Install HW Updates → Install GSD File… or Options → Install GSD File… (label differs between V5.4 and V5.6).

STEP 7 V5.4 + SP5 expanded the catalog by importing hot-fix updates from HWUpdates.exe packages. After the import, modules are sorted under PROFIBUS DP → Additional Field Devices → ... or PROFINET IO → I/O → ....

Note: Each STEP 7 release ships a frozen catalog snapshot. A module released after the DVD cut-off date is invisible in HW Config until its GSD/GSDML is imported separately. Conversely, a future module imported from a later STEP 7 DVD can sometimes be brought into an older version by copying the catalog directory and re-running the consistency check.

3. MLFB Numbering System Explained

MLFB (Maschinenlesbare Fabrikate-Bezeichnung — machine-readable product designation) is Siemens' standardized order number. It encodes family, function, variant, and revision into a 12- to 18-character alphanumeric string.

3.1 S7-300 MLFB Anatomy (Example: 6ES7 315-2AH14-0AB0)

Position Characters Meaning Example Value
1-4 6ES7 Product family prefix 6ES7 = SIMATIC S7 module
5 space Separator —
6-9 315- Module class and function 315 = CPU 315
10-11 2A Sub-function / firmware group 2A = integrated DP, MPI/DP interface
12-13 H1 Sub-sub-function (memory, features) H1 = work memory, type spec
14 4 Firmware version 4 = FW V4.x
15 - Separator —
16 0 Front panel design 0 = standard
17-19 AB0 Hardware revision / variant AB0 = design release AB

The final three characters (0AB0) carry the hardware release state. Siemens archives each variant in the Industry Online Support (SIOS) entry under Product support → Product details → Article number history.

3.2 Common MLFB Prefixes

Prefix Product Family
6ES7 SIMATIC S7-300/400/C7 I/O and CPUs
6ES7 5 series ET 200 distributed I/O
6GK SIMATIC NET (CP, SCALANCE, switches)
6AV HMI panels (TP, OP, MP, Comfort, Unified)
6SL SINAMICS drives
6FC SIMOTION / SINUMERIK
6EP SITOP power supplies
3RV / 3RT SIRIUS motor protection contactors

4. GSD and GSDML File Lifecycle

GSD (General Station Description) is the PROFIBUS device description language defined in IEC 61784. GSDML is its XML-based successor for PROFINET. Siemens distributes them as either:

  • GSD files — text files with extensions .gsd and .gs* (bitmap references).
  • GSDML files — XML schema conforming to the PROFINET specification.
  • HSP (Hardware Support Package) — TIA Portal ZIP archive containing multiple GSDML plus firmware containers.

4.1 STEP 7 V5.x GSD Import Path

  1. Download the GSD archive from the device vendor's product page (Siemens publishes them under Support → Downloads → Drivers & Tools).
  2. Close all running STEP 7 editors.
  3. In HW Config, select Options → Install GSD File…
  4. Browse to the .gsd or .gsdml file and click Install.
  5. Restart HW Config to refresh the catalog.

For PROFINET IO devices in V5.5 and V5.6, the equivalent path is Options → Install GSD File… followed by selecting the .xml file. V5.4 does not include PROFINET support — STEP 7 V5.4 + SP5 with the optional PROFINET CBA / IO Add-On DVD is required.

4.2 TIA Portal HSP Import Path

  1. Extract the HSP ZIP to a known folder.
  2. In TIA Portal, open Options → Support Packages → Install.
  3. Select the folder containing the .x.x.x.x.hsp files and confirm.
  4. Restart TIA Portal.

HSPs also deliver new firmware versions for CPU/IM/CP and module type data that the catalog tree does not list otherwise.

Critical: A GSD/GSDML that targets a later STEP 7 or TIA Portal release may be rejected with the diagnostic "GSD file is not compatible with the installed STEP 7 / TIA Portal version." Open the GSD header and verify the GSD_Revision or SchemaVersion value against your tool's supported range. Siemens documents the matrix in the SIOS KB article 109750437.

5. Configuring Without Installing New GSD Files

The field report centers on a recurring engineering constraint: the engineer does not want to install new GSD packages because the existing STEP 7 installation is approved for the project. Several legitimate workflows satisfy this requirement:

5.1 Using the Built-in Catalog

If the module was released before the STEP 7 DVD cut-off, the entry is already present under the catalog tree. Open the catalog filter (View → Filter), uncheck Show only valid modules, and search by partial MLFB.

5.2 Catalog Update via Service Pack / DVD Refresh

STEP 7 V5.5 and V5.6 ship cumulative catalog updates. Apply the latest Service Pack first; many late-released modules are added without requiring a separate GSD. Service packs are available on the SIOS download portal under Support → SIMATIC S7 STEP 7 → Service Packs.

5.3 Catalog File Copy Between PCs

The HW Catalog is a collection of *.dbf / *.dbt / *.bmp files located at:

...\Program Files (x86)\Siemens\Automation\S7WB\S7CAT\

Copying the catalog directory from a PC with the desired STEP 7 version into a similarly versioned installation on the engineering workstation adds new module entries without invoking GSD import. Verify consistency by opening HW Config on the test project and re-running Station → Consistency Check.

5.4 Stand-Alone TIA Selection Tool (Offline Mode)

The TIA Selection Tool is offered as a desktop installer that pulls catalog data directly from Siemens' cloud. Launching it without an active STEP 7 project allows engineers to build a virtual station, validate rack layout, derive the bill of materials, and export the result as a CSV or PDF — all without touching the live PLC or STEP 7 installation.

6. Finding the Latest MLFB Numbers

Siemens maintains the canonical MLFB database on SIOS. Engineers should treat the database, not the printed catalog, as the authoritative source.

6.1 SIOS Product Search

Navigate to support.industry.siemens.com and enter the MLFB or product name in the top search box. Each product page exposes:

  • Current article number and predecessor mapping.
  • Article number history (down to 0AA0 design release).
  • Downloads (firmware, manuals, GSD, GSDML, HSP).
  • Associated manuals (operating instructions, function manuals, list manuals).

6.2 Siemens Industry Mall

The Industry Mall (mall.industry.siemens.com) lists the commercial product catalog with pricing tiers, configurator links, and spare-parts availability. It is the correct reference for ordering rather than engineering validation.

6.3 Catalog CA01 and SIMATIC Catalog Files

Siemens periodically publishes SIMATIC Catalog CA01 as an interactive PDF and a CSV export. The CSV is useful for scripting cross-references against an internal BOM. Download paths are linked from the SIOS page SIMATIC Automation Systems → Catalog CA01.

6.4 TIA Selection Tool Cloud

The TIA Selection Tool Cloud is browser-based and requires no installation. It auto-updates from the Siemens catalog feed and supports BOM export. Engineers can validate a station without licensing a TIA Portal installation.

7. Online Configuration Workflow

The following end-to-end workflow validates a hardware configuration before any STEP 7 install changes are required.

  1. Collect target MLFBs: Pull the desired module list from the project BOM. Use SIOS search to confirm each MLFB is the current production release.
  2. Open TIA Selection Tool Cloud: Add the S7-300, S7-400, or ET 200 station template. Drop each module into the appropriate slot.
  3. Validate slot rules: The tool flags invalid combinations (e.g., FM insertion in slot 3 of an S7-300 rack, redundant PS pairing in slot 1/2).
  4. Export the BOM: Choose Export → CSV / PDF / TIA Portal project. The CSV can be compared against the existing STEP 7 bill of materials via Excel.
  5. Diff against STEP 7 project: In SIMATIC Manager, run Station → Save and Compile → Open Module Information on each CPU to dump the actual fitted hardware to a CSV-like text report. Reconcile against the BOM.
  6. Optional — Generate TIA Portal project: TIA Selection Tool can emit a starter .ap19 project for migration validation, useful for S7-300 projects slated for later porting.

8. Configuration Verification Procedure

After the catalog or station has been updated, the engineer must verify the configuration has not regressed.

Step Action Expected Result
1 Open the station in HW Config No warning icon on any module
2 Run Station → Consistency Check Dialog reports No errors
3 Run PLC → Compile and Download Objects → Compile SDB generation completes; system data is rebuilt
4 Cross-check via PLC → Module Information Each module responds with correct order code in diagnostic buffer slot entry
5 Compare S7_CON system data block size against project baseline No more than ±1 KB drift unless modules changed
Tip: After import of a new GSD/GSDML, regenerate the system data with Station → Save and Compile before any online operation. Stale SDBs are the leading cause of SF (System Fault) LEDs lighting with the diagnostic "Parameter assignment error" after a configuration change.

9. Troubleshooting Catalog and GSD Issues

Symptom Root Cause Resolution
New module missing from catalog tree after GSD install HW Config was not closed before import Close all HW Config instances and re-import
"GSD file is not compatible" during install GSD revision exceeds STEP 7 version Install latest Service Pack first; otherwise request older GSD from vendor
Module visible in catalog but not insertable into slot Slot rules violated (e.g., analog module in digital slot) Confirm slot number and module class match; consult hardware manual
PROFINET device appears with yellow warning Device name or IP missing Right-click → Properties → Assign PROFINET device name
Catalog shows duplicate entries after update Hotfix catalog layered on top of older catalog Delete S7CAT directory contents and re-install Service Pack
Consistency Check reports address overlap Manual address offset exceeds input range Use the auto-address feature (Edit → Addresses → Auto-address)

10. Migration Path: STEP 7 V5.x → TIA Portal

Although the field report targets V5.4, most sites will at some point migrate to TIA Portal (V16 / V17 / V18 / V19). The migration preserves the MLFBs but requires re-laying out the station in the TIA Portal Devices & Networks editor. Helpful Siemens utilities:

  • STEP 7 V5.x Migration Tool: Imports S7-300/400 programs into TIA Portal as V18 / V19 projects. CPU type must be in the TIA Portal device list.
  • PRONETA: Siemens free-of-charge PROFINET commissioning and analysis tool. Verifies station topology without TIA Portal.
  • SIMATIC Automation Tool (SAT):strong> Performs mass firmware updates, name assignments, and diagnostics across a SIMATIC fleet.
Important: A STEP 7 V5.4 project that uses a CPU module type not yet listed in TIA Portal (e.g., early SIPLUS variants) will require either a manual hardware rebuild in TIA Portal or a STEP 7 → STEP 7 conversion inside the V5.6 tool chain first.

11. Engineering Best Practices

  • Treat the SIOS product page for each MLFB as the single source of truth; record the URL in the project README.
  • Keep the STEP 7 DVD's catalog snapshot and a tagged GSD archive inside the project repository; future engineers must be able to reproduce the station without internet access.
  • Avoid mid-project GSD updates unless a real module has been added. Each import is a configuration baseline change and must be reviewed.
  • Use SET (Standard Toolbox for Engineering) – Siemens' collection of diagnostic utilities – for fast online comparison of station state.
  • Store redundant catalog backups on a network share with read-only access; protect against accidental edits to the S7CAT directory.

12. Field Commissioning Checklist

  1. Verify each fitted MLFB matches the BOM via Module Information → Identification.
  2. Confirm firmware version against project requirement (CPU → FW version).
  3. Confirm PROFIBUS DP slave GSD matches fitted module design release.
  4. Confirm PROFINET device name and IP align with TIA Selection Tool output.
  5. Save and recompile system data; download to AS.
  6. Cycle power; verify SF / BF / RUN LEDs match expected states.
  7. Archive project ZIP including catalog backup with date-stamped filename.

Does Siemens provide an online hardware configurator that does not require installing new GSD files?

Yes. The TIA Selection Tool Cloud at siemens.com is a browser-based, catalog-driven configurator that validates stations and produces a BOM without requiring a STEP 7 installation or GSD import. It can export the result as CSV/PDF or as a starter TIA Portal project. For STEP 7 V5.x environments, install the latest Service Pack (V5.5 or V5.6) to obtain a frozen but comprehensive catalog snapshot.

Where can I find the latest MLFB numbers for SIMATIC S7 modules?

The authoritative source is the Siemens Industry Online Support portal at support.industry.siemens.com. Enter the article number or product name to retrieve the current production release, predecessor mapping, firmware version, and downloadable manuals. The Industry Mall (mall.industry.siemens.com) provides ordering data, while the SIMATIC Catalog CA01 provides CSV export suitable for spreadsheet cross-referencing.

How do I add a new PROFIBUS or PROFINET device to HW Config without breaking an existing STEP 7 V5.x install?

Close all HW Config instances, then select Options → Install GSD File… (or Install HW Updates… for GSDML on V5.5/V5.6). Choose the vendor-supplied .gsd or .gsdml file and confirm. Re-open HW Config and verify the device now appears under PROFIBUS DP → Additional Field Devices or PROFINET IO → I/O. Re-run Station → Consistency Check before downloading.

What is the difference between a GSD file and a GSDML file?

A GSD file is a text-based device description for PROFIBUS DP as defined in IEC 61784. A GSDML file is its XML-based equivalent for PROFINET IO and supports richer parameter sets, multiple AR (Application Relations), and modular submodules. STEP 7 V5.4 supports GSD natively and GSDML only with the PROFINET IO add-on; TIA Portal V13 and later supports GSDML and converts legacy GSD files for PROFIBUS-only devices.

Why does my newly imported module show "not compatible with installed STEP 7 version"?

The GSD/GSDML header contains a revision field that the receiving tool checks against its supported range. If the file targets a later STEP 7 release, the import is rejected. Resolve by applying the latest Service Pack first, or by requesting an older revision of the GSD from the device vendor. Siemens documents compatibility requirements in SIOS KB entry 109750437.

Back to blog