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.
| 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:
-
Library registration was not performed by the Distributed Safety setup. The container file
Distributed Safety (V1).s7lexists on disk but is not in the SIMATIC Manager library catalog. - 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.
- 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.
-
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. -
Corrupted S7LIBS index after an upgrade or restore from backup, leading to an empty library list even though the original
.s7lfiles 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.
| 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) |
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.
- Launch SIMATIC Manager.
- Select File → Open.
- In the Open dialog, switch the tab to "Libraries".
- Use the toolbar "Browse" button and navigate to:
C:\Program Files\Siemens\Step7\S7LIBS\ - Select the file
Distributed Safety (V1).s7l(or the localized equivalent). - 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.
- In SIMATIC Manager, choose File → Manage.
- The Manage dialog opens with two columns: visible projects / libraries and hidden ones.
- Locate Distributed Safety (V1) in the hidden list.
- Select the entry and click Display to move it back to the visible column.
- Confirm with OK and re-open the File → Open → Libraries tab to confirm the library is listed.
%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.
- Close SIMATIC Manager completely.
- Open Windows Explorer and navigate to
C:\Program Files\Siemens\Step7\S7LIBS\. - Verify that
Distributed Safety (V1).s7lis present. If absent, re-install the option package. - Delete the file
S7LIBR.DIRfrom the same directory if it exists (it is a transient index cache that SIMATIC Manager recreates on next start). - 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:
- Create a temporary S7 program on a CPU that supports F-functions (e.g., CPU 317F-2 PN/DP).
- Insert an F-FB or F-DB in the safety program.
- 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.
- 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:
- Install STEP 7 V5.5 (English or German) with administrator rights.
- Apply STEP 7 SP2 and any required hotfixes.
- Install Distributed Safety V5.4 SP5. The setup detects the STEP 7 installation and writes the library into the correct
S7LIBSfolder. - Install S7-PLCSIM V5.4 SP5 (optional, for F-offline simulation) and S7 F-ConfigurationPack matching the F-CPU hardware used.
- Reboot. Launch SIMATIC Manager and check the library list before opening any project.
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:
- 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.
- Copy the generated
.awl/.fupfile to the affected PC. - 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).
- 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 | 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
- Open SIMATIC Manager and choose File → Open → Libraries. Distributed Safety (V1) appears in the list without browsing.
- 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-DBtemplates for F-runtime groups -
F-Shieldblocks for safety-related program sections
-
- 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.
- Run a consistency check: Options → Safety Program → Check Consistency. The result is "No errors" for an empty runtime group.
- 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 |
|---|---|---|
| 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.