Fix: Distributed Safety V1 Library Missing in STEP 7 V5.5

David Krause10 min read
Safety SystemsSiemensTroubleshooting
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

Problem Description

After installing SIMATIC Distributed Safety V5.4 SP5 on a workstation that already runs STEP 7 V5.5 SP2 (Windows 7 Professional 32-bit), the Distributed Safety (V1) library does not appear in the SIMATIC Manager project tree, in the File → Open → Libraries tab, or in the standard library browser. The user has confirmed that Distributed Safety was installed without any visible error and that both STEP 7 and Distributed Safety have been re-installed with no change in behavior. The Safety programming language editor (F-FUP / F-KOP / F-AWL) and the option package entry under Start → SIMATIC → STEP 7 → Distributed Safety are present, yet the library container is empty or absent.

Affected Software / Hardware Configuration
Component Version Confirmed in Source Notes
SIMATIC STEP 7 V5.5 SP2 (+HFx as installed) Base PLC programming environment
SIMATIC Distributed Safety V5.4 SP5 Option package for F-CPU programming
SIMATIC S7-PLCSIM V5.4 SP5 (recommended parity) Optional, but version should match DS for offline test
Operating system Windows 7 Professional 32-bit Officially supported by STEP 7 V5.5
Target F-CPU families S7-300F, S7-400F, ET 200S F-CPU, ET 200pro F-CPU, WinAC RTX F Library V1 is the historical F-library baseline

Root Cause Analysis

SIMATIC Manager stores all standard and option-supplied libraries under a single, version-dependent directory and registers them through a hidden master project list. When the Distributed Safety installer finishes, it must both copy the .s7l container into S7LIBS and add an entry to the user/library list. If the second step fails, the user can still locate the file on disk and open it explicitly. The most frequently observed root causes are:

  1. Library registration was not performed by the Distributed Safety setup. The container file Distributed Safety (V1).s7l exists on disk but is not in the SIMATIC Manager library catalog.
  2. The library is hidden through SIMATIC Manager → File → Manage. This dialog allows the user to suppress specific libraries and projects from the open dialog, so a previously hidden library appears to be missing.
  3. Installation order did not satisfy the option-package requirements: STEP 7 must be installed before Distributed Safety, and the two must be at compatible service-pack levels. DS V5.4 SP5 expects STEP 7 V5.4 SPx or V5.5 SPx.
  4. Windows user rights / UAC prevented the installer from writing to Program Files\Siemens\Step7\S7LIBS. On Windows 7 the installer must be launched with administrator rights even when the user account is in the local Administrators group.
  5. Corrupted S7LIBS index after an upgrade or restore from backup, leading to an empty library list even though the original .s7l files are intact.

Standard Library Location and File Layout

The Distributed Safety V1 library is a standard offline library (file-based) that ships with the option package. SIMATIC Manager opens it as a read-only source for F-blocks such as F-FB, F-DB, and the standard safety function blocks used in F-shield programming.

Default Paths on Windows 7 / Windows XP (32-bit)
Path Content
C:\Program Files\Siemens\Step7\S7LIBS\Distributed Safety (V1).s7l Primary F-library container (V1 baseline)
C:\Program Files\Siemens\Step7\S7LIBS\Distributed Safety (V5) / ... (V6) Optional V5/V6 expansions (if F-CPU is part of S7 Distributed Safety V5/V6 family)
C:\Program Files\Siemens\Step7\S7LIBS\F-Channel Drivers Distributed Safety F-channel driver library
C:\Program Files\Siemens\Step7\S7LIBS\F_Blocks_Library Generic F-block template library
C:\Program Files\Siemens\Step7\S7DATA\ User and global libraries (created on demand)
Note: The path is hard-coded to the English Program Files segment on a 32-bit OS. If the OS language is German, the folder is C:\Programme\Siemens\Step7\S7LIBS\.... On a 64-bit OS running STEP 7 in 32-bit emulation, the same Program Files (x86)\Siemens\Step7\S7LIBS path is used.

Solution 1 — Browse Manually to the Library File

The fastest recovery is to open the library by explicit path, which proves that the container is installed and accessible to SIMATIC Manager. Once opened, the F-blocks can be copied into the user project as a workaround for the missing catalog entry.

  1. Launch SIMATIC Manager.
  2. Select File → Open.
  3. In the Open dialog, switch the tab to "Libraries".
  4. Use the toolbar "Browse" button and navigate to: C:\Program Files\Siemens\Step7\S7LIBS\
  5. Select the file Distributed Safety (V1).s7l (or the localized equivalent).
  6. Confirm with Open. The Distributed Safety F-block tree now appears in the right pane.

If the file is found and opens, the library is installed correctly — only the catalog registration is missing. Continue with Solution 3 to re-register it for future sessions.

Solution 2 — Unhide the Library via File → Manage

SIMATIC Manager exposes a list-management dialog that can hide libraries from the Open dialog. This is the most common cause of the symptom when a colleague or a previous installation session has marked the library as hidden.

  1. In SIMATIC Manager, choose File → Manage.
  2. The Manage dialog opens with two columns: visible projects / libraries and hidden ones.
  3. Locate Distributed Safety (V1) in the hidden list.
  4. Select the entry and click Display to move it back to the visible column.
  5. Confirm with OK and re-open the File → Open → Libraries tab to confirm the library is listed.
Field note: The Manage dialog was introduced in STEP 7 V5.4 and persists its state in %APPDATA%\Siemens\Automation\.... If the user has separate Windows accounts (engineer / administrator) the hide-state is per-user and must be cleared in every account.

Solution 3 — Re-register the Library Catalog

When Solution 1 works (file exists) but the catalog does not list it, the S7LIBS master index needs to be rebuilt.

  1. Close SIMATIC Manager completely.
  2. Open Windows Explorer and navigate to C:\Program Files\Siemens\Step7\S7LIBS\.
  3. Verify that Distributed Safety (V1).s7l is present. If absent, re-install the option package.
  4. Delete the file S7LIBR.DIR from the same directory if it exists (it is a transient index cache that SIMATIC Manager recreates on next start).
  5. Re-launch SIMATIC Manager. The next time you select File → Open → Libraries, the indexer reads the directory contents and the Distributed Safety entry is restored.

Solution 4 — Verify F-Block Open Capability

Library registration is a UI feature; the underlying ability to open F-blocks depends on the option package being properly registered with the F-programming tools. The integrity check is:

  1. Create a temporary S7 program on a CPU that supports F-functions (e.g., CPU 317F-2 PN/DP).
  2. Insert an F-FB or F-DB in the safety program.
  3. Double-click the F-block. If the F-AWL / F-FUP / F-KOP editor opens, the option package is functional and the issue is purely catalog-level.
  4. If the editor does not open, the Distributed Safety installation is incomplete — re-run the setup, this time with the target installation path set to the same drive as STEP 7 and with administrator rights.

Solution 5 — Re-install in the Correct Order

Installations performed out of sequence leave the option package unable to integrate with STEP 7. The supported sequence on a 32-bit Windows 7 host is:

  1. Install STEP 7 V5.5 (English or German) with administrator rights.
  2. Apply STEP 7 SP2 and any required hotfixes.
  3. Install Distributed Safety V5.4 SP5. The setup detects the STEP 7 installation and writes the library into the correct S7LIBS folder.
  4. Install S7-PLCSIM V5.4 SP5 (optional, for F-offline simulation) and S7 F-ConfigurationPack matching the F-CPU hardware used.
  5. Reboot. Launch SIMATIC Manager and check the library list before opening any project.
Warning: Never install a newer option package over an older base version (e.g., DS V5.4 SP5 over STEP 7 V5.4) without first confirming the compatibility list on the Siemens Industry Online Support portal. Mismatched service packs are the leading cause of the catalog index being empty after a clean install.

Solution 6 — Workaround: Copy F-Blocks from an Existing Program

If a parallel workstation has the library open and the local installation cannot be repaired in time, F-blocks can be exported as a source file and re-imported:

  1. On the working PC, in the Distributed Safety library, right-click an F-block and choose Generate Source File with STL or F-AWL source format.
  2. Copy the generated .awl / .fup file to the affected PC.
  3. In SIMATIC Manager on the affected PC, open the target F-program and choose Options → Insert → Source File (or drag the source onto the Sources folder).
  4. Compile the source. The F-block is inserted into the program and is fully usable for the F-CPU target.

Compatibility Matrix — STEP 7 / Distributed Safety / F-CPU

F-CPU Support and Library Version
F-CPU Min. STEP 7 Distributed Safety Option Library Used
S7-300 CPU 315F-2 DP / PN V5.3 + SP3 DS V5.2 or higher Distributed Safety (V1)
S7-300 CPU 317F-2 PN/DP V5.4 + SP3 DS V5.4 SPx Distributed Safety (V1) / (V5)
S7-400 CPU 416F-2 / 416F-3 PN/DP V5.4 + SP4 DS V5.4 SPx Distributed Safety (V1)
ET 200S F-CPU IM151-7 F-CPU V5.4 + SP4 DS V5.4 SPx Distributed Safety (V1)
ET 200pro F-CPU IM154-8 PN/DP V5.5 DS V5.4 SP5 Distributed Safety (V5)
WinAC RTX F 2010 V5.4 + SP5 DS V5.4 SP5 Distributed Safety (V1)

Verification — Confirm the Library is Operational

  1. Open SIMATIC Manager and choose File → Open → Libraries. Distributed Safety (V1) appears in the list without browsing.
  2. Open the library and expand Blocks. The catalog should contain at minimum:
    • F-FB GEN_DP / F-FB GEN_F (failsafe blocks for PROFIsafe and F-I/O)
    • F-DB templates for F-runtime groups
    • F-Shield blocks for safety-related program sections
  3. Create a new F-runtime group in any S7 program; the F-program editor accepts the library blocks without raising "Block not found" or "F-CPU does not support block" errors.
  4. Run a consistency check: Options → Safety Program → Check Consistency. The result is "No errors" for an empty runtime group.
  5. Open a previously working F-block in the F-FUP / F-KOP editor. The block is opened, compiled, and downloaded to the F-CPU via Target System → Download without raising dialog "Distributed Safety not installed".

Troubleshooting Matrix

Symptom → Probable Cause → First Action
Symptom Probable Cause First Action
Library not in Open → Libraries, file present on disk Catalog registration missing Browse to file (Solution 1), then rebuild index (Solution 3)
Library not in Open → Libraries, file missing on disk Setup did not write S7LIBS Re-install DS V5.4 SP5 as administrator (Solution 5)
Library not listed but Manage shows it Library is hidden Unhide via File → Manage → Display (Solution 2)
Library opens but F-block double-click does nothing Option package damaged or wrong SP level Verify F-block open capability (Solution 4); re-install in correct order
Library opens, blocks visible, but F-CPU rejects block on download F-CPU firmware / F-ConfigurationPack mismatch Install matching F-ConfigurationPack for the target F-CPU
Multiple user accounts, library visible in one but not the other Per-user Manage hide state Clear hide state in each Windows user account (Solution 2)

FAQ

Where is the Distributed Safety V1 library stored on disk?

The library file Distributed Safety (V1).s7l is installed in C:\Program Files\Siemens\Step7\S7LIBS\ (English 32-bit) or C:\Programme\Siemens\Step7\S7LIBS\ (German 32-bit). It can be opened directly via File → Open → Libraries → Browse even if it is not registered in the catalog.

Why is the library not shown in the SIMATIC Manager "Open" dialog after a clean install?

Two reasons dominate: (1) the File → Manage dialog has the library in the hidden column — move it to the visible column; (2) the option package finished copying the file but did not register it in the catalog — browse to the .s7l manually and rebuild the S7LIBS index by deleting S7LIBR.DIR and restarting SIMATIC Manager.

Do I need to re-install STEP 7 to make the Distributed Safety library appear?

No. Re-installing STEP 7 will not register a missing option-package library. Re-install Distributed Safety V5.4 SP5 with administrator rights and in the correct order (STEP 7 first, option second). If the file is already on disk, the Browse workaround in Solution 1 is sufficient for a single session.

Is Distributed Safety V5.4 SP5 compatible with STEP 7 V5.5 SP2 on Windows 7 32-bit?

Yes. The combination STEP 7 V5.5 SP2 + Distributed Safety V5.4 SP5 + Windows 7 Professional 32-bit is the certified baseline for legacy S7-300F / S7-400F projects. Newer F-CPU families (ET 200pro F, CPU 151xF) require the F-ConfigurationPack for the TIA Portal environment and are not part of this option package.

Can I copy F-blocks from another PC if my library is empty?

Yes. Export the F-block as a source file (.awl) on the working PC, copy it to the affected PC, and insert it via Options → Insert → Source File. The block can then be compiled and used in your F-runtime group as a temporary workaround while the option package is being repaired.

Back to blog