Troubleshooting Station Manager Connection Errors (Index 125) During PCS 7 OS Configuration Downloads
The error 'Unable to establish connection to module Station Manager (Index 125)' occurs during network or station configuration download when the Engineering Station (ES) cannot establish an inter-process communication handshake with the Station Manager service on either the local ES or the remote Operator Station (OS). In SIMATIC NET architecture, Index 125 designates the internal Station Manager service ('s7oiehsx.exe'). Common causes include an unconfigured local PC Station on the ES, mismatched computer names between SIMATIC Manager and Windows System Properties, incorrect PG/PC Interface settings (such as using 'PC internal' instead of the terminal bus network card), or firewall restrictions blocking TCP port 135 and dynamic DCOM ports. To fix this, verify local ES Station Configuration, ensure exact NetBIOS name matching, set PG/PC interface to the terminal bus network adapter, or manually import the station configuration XDB file.
Table of Contents
- Executive Summary
- Architecture and Fundamental Mechanics
- Step-by-Step Implementation Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
In SIMATIC PCS 7 distributed architectures, deploying OS Server, OS Client, or Engineering Station configurations relies on the SIMATIC NET Station Configuration Editor and its underlying Station Manager service. When an engineer downloads the station or network configuration from SIMATIC Manager, Step 7 communicates with Station Manager at virtual Index 125. If the ES itself has not been downloaded, if the ES lacks the physical communications processor (e.g., CP 1623) specified in its hardware configuration, or if name resolution across the terminal bus fails, the transfer aborts with 'Unable to establish connection to module Station Manager (Index 125)'. Resolving the issue involves aligning the ES local station configuration, verifying network interface assignments, or performing manual XDB configuration imports.
Architecture and Fundamental Mechanics
The SIMATIC NET Station Configuration Editor manages the virtual backplane of a PC Station, treating software applications (WinCC Application, OPC Server) and hardware communications cards (CP 1623, IE General) as modular components in virtual slots (indexes):
- Index 125 - The Station Manager Core: In the SIMATIC NET component model, Index 125 is reserved for the Station Manager daemon (
s7oiehsx.exe). It orchestrates slot assignments, validates station names, and coordinates remote configuration downloads originating from SIMATIC Manager'sConfigureandDownloadcommands. - The Configuration Handshake Workflow:
* When downloading from an ES to an OS, the ES first verifies its own local PC Station status. If the ES's own configuration is invalid or missing, it cannot initialize the download client stack.
* The ES then connects over the terminal bus to the target OS station using RPC/DCOM and the Siemens Station Management Protocol.
* The target Station Manager receives the station description (contained ins7cfg.xdb), validates that the target station name in the project matches its local Windows Computer Name, and maps the components to their respective slots. - Why the Error Occurs:
* Unconfigured ES: If the ES has not been successfully downloaded locally (for instance, if an engineer is using a temporary ES without the configured CP 1623 hardware installed), the local Station Manager refuses configuration commands.
* PG/PC Interface Misconfiguration: Setting the PG/PC interface toPC internal.local.1restricts communication strictly to local inter-process calls. Downloading to a remote OS requires setting the access point to the physical terminal bus network adapter (<NIC>.TCPIP.1).
* Name and IP Mismatches: If DNS or NetBIOS name resolution fails between the ES and OS, or if the PC Station name in SIMATIC Manager does not match the Windows computer name exactly (case-sensitive), connection to Index 125 fails.
Step-by-Step Implementation Procedure
Follow these procedures to resolve Station Manager Index 125 connection failures:
- Verify and Correct PC Station Computer Names:
* In SIMATIC Manager, right-click the OS PC Station and select Object Properties.
* Verify that the Computer name field exactly matches the Windows Computer Name of the physical target OS station (case-insensitive in Windows, but exact spelling required).
* Check the ES PC Station properties and verify its name matches the ES computer name. - Configure the Local ES PC Station:
* Open the Station Configuration Editor on the ES.
* If the ES project requires a CP 1623 but the physical ES machine only possesses standard network cards, adjust the ES hardware configuration in SIMATIC Manager: replace the CP 1623 with an IE General card assigned to the ES plant bus IP.
* Save and compile the ES PC Station in SIMATIC Manager, right-click the ES station, and selectPLC > Configurefollowed byPLC > Download. - Set the Correct PG/PC Interface on ES and OS:
* OpenSet PG/PC Interfaceon both machines.
* EnsureS7ONLINE (STEP 7)is set to the physical network card connected to the terminal bus (e.g.,Intel(R) Ethernet Connection...TCPIP.1), NOTPC internal.local.1. - Test Network Connectivity and Firewall Settings:
* From the ES, runping <OS_Computer_Name>andping <OS_IP_Address>to verify bidirectional name resolution.
* Ensure the SIMATIC NET firewall rules are active or temporarily test with Windows Firewall disabled on both machines. - Alternative Manual XDB Import Workflow:
* If remote station configuration download continues to fail across routers or security boundaries, generate the station configuration file manually.
* In SIMATIC Manager, open the OS PC Station properties, select the Configuration tab, and note the path to the generated.xdbfile (or click Browse to export it).
* Copy the.xdbfile to the target OS station via network share or USB.
* On the target OS, open Station Configuration Editor, click Import Station, select the.xdbfile, and confirm.
* Once imported, open the OS project directly in WinCC Explorer, navigate toComputer Properties, update the computer name to the local OS name, and activate Runtime.
Verification
Verify successful station configuration by opening the Station Configuration Editor on the target OS. Confirm that the WinCC Application and network adapters display solid green RUN status icons without warning glyphs. In SIMATIC Manager on the ES, right-click the OS PC Station and execute PLC > Download; verify that the progress bar finishes and reports 'Download completed successfully' without prompting Index 125 errors.
Limitations and Operational Precautions
Ensure that the Station Configuration Editor on the target OS is not locked by an active WinCC Runtime instance. If WinCC is running, the Station Manager will lock the configuration database and reject incoming station downloads. Always deactivate WinCC Runtime before downloading station configurations or network configurations.
Engineer FAQ
What is Index 125 in the Station Configuration Editor?
Index 125 is the fixed internal virtual slot reserved for the SIMATIC NET Station Manager service (s7oiehsx.exe), which manages the PC station configuration and module mapping.
Can I download to a remote OS if the ES PG/PC interface is set to 'PC internal'?
No. 'PC internal.local.1' is strictly for local on-machine communications. Remote downloads over the terminal bus require binding S7ONLINE to the physical network card (<NIC>.TCPIP.1).
Why did the project download succeed partially even when Index 125 failed?
Network configuration download (Station Manager) and WinCC OS project file copying use different communication channels. Project files copy via Windows SMB shares, but station configuration requires SIMATIC NET Station Manager RPC communication.
Can I use CP 1623 in an ES that does not have the physical PCI-Express card installed?
No. The Station Configuration Editor will fail to initialize the CP 1623 module if the physical hardware is not present. Use an 'IE General' card in the hardware configuration for machines with standard NICs.
Technical References
- SIMATIC PCS 7 PC Configuration (V9.0 SP3) Manual (A5E41356024-AC)
- SIMATIC NET Commissioning PC Stations - Manual and Instructions
- Siemens Industry Online Support Entry 109780813 - PCS 7 Licensing and Engineering Guidelines
Related Articles
- Downloading PC Station Configurations from an ES to an OS Single Station in SIMATIC PCS 7
- Resolving 'Station Is Locked' Errors in the SIMATIC NET Station Configuration Editor
- Architectural Role and Operational Mechanics of WinCC Application Reference Stations in PCS 7
Related Tags
- Station Manager
- Index 125
- Station Configuration Editor
- CP 1623
- OS Download
- PC Station