1. Overview
A partial migration from a SIMATIC S5-115U (with ET 200U remote I/O) to a SIMATIC S7-1500 (with ET 200SP) is a classic brownfield retrofit scenario. The challenge is that the existing Profibus DP field devices and the ET 200U/B distributed stations must remain in service while the CPU, program, and engineering platform are swapped within a tight production stop window (often < 4 hours for a single cutover phase).
This reference documents the field-proven procedure for uploading the existing Profibus DP configuration using COM Profibus v5.1, exporting it as a GSD-compatible master configuration, re-creating the ET 200U network under a S7-1500 CM 1542-1 / CM 1542-5 or an IE/PB Link PN IO (6GK1 411-5AB00), and reusing the S5 logic in TIA Portal without re-terminating or re-wiring the field. The end result is a staged migration where the DP slaves remain on the original addresses while the master is swapped in steps.
The information consolidates the procedures published in the Siemens Migration Guide: SIMATIC S5 to SIMATIC S7, the COM Profibus manual, and field experience on staged retrofits.
2. Prerequisites and Licensing
| Item | Order Number / Version | Purpose |
|---|---|---|
| SIMATIC S7-1500 CPU (e.g., CPU 1515-2 PN) | 6ES7515-2AM02-0AB0 | Target CPU for incremental migration |
| CM 1542-5 (Profibus DP master) | 6GK7542-5FX00-0XE0 | Optional DP master in S7-1500 rack; use when ET 200U is hard-wired to the new CPU |
| IE/PB Link PN IO | 6GK1 411-5AB00 | Bridge between PROFINET of S7-1500 and PROFIBUS DP of ET 200U (preferred for staged cutover) |
| COM Profibus v5.1 | 6ES5895-6SE03 | Reads the S5 IM 308C EEPROM / DB1, exports Profibus master configuration. Still listed in the Siemens Industry Mall despite phase-out. |
| STEP 7 V5.5 + S5 migration option | 6ES7810-4CC10-0YA5 | Required for the official S5 → S7-300/400/1500 migration toolchain |
| TIA Portal V16 or later | 6ES7822-1AA06-0YA5 (V16) or higher | Final target engineering platform; supports S7-1500 and ET 200SP |
| ET 200U GSD file (per station) | Download from Siemens Support (ID 113652 / 113304) | Required for TIA Portal to recognize the ET 200U as a DP slave |
| Windows for COM Profibus | Windows 2000 / XP (32-bit) recommended | COM Profibus v5.1 will not install on Windows 7/10/11 in default mode — use a VM or compatibility layer |
3. Identifying the S5 PROFIBUS Master Type
Before any code is touched, the IM (Interface Module) installed in the S5-115U rack must be identified. The IM dictates how the Profibus network was configured and how it can be reused.
| IM Type | Protocol | Configuration Storage | Re-usability on S7-1500 |
|---|---|---|---|
| IM 308C | PROFIBUS-DP master | EEPROM on the module + optional download | Direct — GSD-based DP slave definition in TIA Portal |
| IM 308B | SINEC L2 master (DP-compatible) | DB1 in CPU + EEPROM | Possible but requires translation of L2 parameters |
| IM 308A | SINEC L1 master (ET 100U network) | DB1 only | Not re-usable — ET 100U must be re-engineered |
| IM 318C / IM 318B | SINEC L2 (older S5-95U / S5-115U systems) | EEPROM (IM 318C) or DB1 (IM 318B) | IM 318B is DP-compatible; IM 318B as L2 master is not directly Profibus-DP |
Diagnostic step: Open the S5 rack and read the front-panel MLFB of the IM module. If only a S5-95U is present, the SINEC L2 manual (linked below) describes how the DP parameters live inside DB1. The module type drives the choice of COM Profibus Import versus manual GSD import in TIA Portal.
4. Uploading the PROFIBUS Configuration with COM Profibus
COM Profibus v5.1 is the only tool that natively reads the S5 IM 308C / IM 318C configuration. Procedure:
- Install COM Profibus v5.1 on a Windows 2000/XP-class machine. The installer is shipped on CD with the original 6ES5895-6SE03 package.
- Connect a Siemens MPI/Profibus programming cable to the IM 308C and select Online → Upload PG → PROFIBUS Configuration.
- COM Profibus will read the active DP parameter set from the IM's EEPROM. Save the project as a
*.CPFfile. - Export the configuration as a generic DP master file (CSV / GSD-referenced) using File → Export → DP Master Configuration.
- Note every DP slave address, GSD revision, I/O byte count, and diagnostic address — these will be re-entered in TIA Portal.
5. Importing the GSD File and Building the ET 200U Slave in TIA Portal
For each ET 200U / ET 200B head module present on the S5 network, install the matching GSD file into TIA Portal:
- Download the GSD from the Siemens Support pages — for ET 200U see PROFIBUS GSD files: ET 200U (ID 113652); for ET 200B see PROFIBUS GSD files: ET 200B (ID 113304).
- In TIA Portal, open Devices & Networks → Options → Manage GSD Files and install the GSD.
- Add the ET 200U station to the DP master system (CM 1542-5 or IE/PB Link PN IO). The slots in the DP slave will mirror the I/O modules actually installed in the field.
- Match the I/O addresses (byte/bit) to the original S5 PII/PIQ assignment as recorded in the COM Profibus upload.
| Parameter | Source: S5/IM 308C | Target: TIA Portal / S7-1500 |
|---|---|---|
| DP slave address | Set on the IM 308C DIP switches (1–125) | Set identically on the ET 200U head module; matches DP slave properties in TIA |
| Diagnostic address | Assigned by COM Profibus | Re-enter under "DP slave diagnostics" — keep the same logical address for OB82 mapping |
| PII / PIQ length | Per slot, in COM Profibus | Verified after compile in TIA: should match exactly |
| Watchdog | 10 ms typical in S5 | Match in TIA; tighter values will cause spurious diagnostics |
6. Bridging with IE/PB Link PN IO
When the S7-1500 uses only a PROFINET interface (CPU 1515-2 PN, 1517-2 PN, etc.) and the field remains PROFIBUS-DP, an IE/PB Link PN IO (6GK1 411-5AB00) is the cleanest bridging device. The Link acts as a PROFINET I/O device on the S7-1500 side and as a PROFIBUS-DP master on the field side, forwarding the process image transparently.
6.1 Topology (SVG)
Configuration steps in TIA Portal:
- Add the IE/PB Link PN IO as a PROFINET IO device on the S7-1500 PROFINET subnet.
- Assign a PROFINET device name (e.g.,
iepb-link-01) using Online → Assign PROFINET device name. - Open the Link's DP master port and insert the ET 200U stations at the same Profibus addresses used by the original IM 308C.
- Compile and download the Link configuration. The S7-1500 CPU accesses the ET 200U I/O as if it were a local DP master system.
7. Code Migration Path (S5 → S7-1500)
Siemens provides a toolchain that converts S5 STEP 5 STL source into STEP 7 V5.5 STL/FBD, which is then re-imported into TIA Portal. The procedure follows the Siemens S5 → S7 Migration Guide.
- Open the S5 project in STEP 5 (DOS/Win). Archive the project to a floppy / file.
- Open STEP 7 V5.5 SPx. Use File → Migrate Project → S5 Project to convert blocks into S7-compatible STL.
- Verify the conversion report. Manual rework is required for:
- Direct I/O access (PY/PW) replaced with PII/PIQ
- Time-base functions (T 0..T 31 → IEC timers)
- Counter functions (C 0..C 31 → IEC counters)
- Special function blocks (FB 240, FB 241, etc. — no S5 → S7 1:1 mapping)
- Open the S7 V5.5 project in TIA Portal. Use Project → Migrate project → S7 project to TIA Portal V16+.
- Select a target S7-1500 CPU. The migrator will recreate OBs, FBs, FCs, DBs, and the symbol table.
8. Symbol Table and DB1 Migration
The S5 symbol table (ZIP / SEQ file) carries the field I/O naming. To preserve the I/O names in the new project:
- In STEP 5, export the symbol table to a SEQ file: File → Symbol → Export.
- In STEP 7 V5.5, import the SEQ file via Options → Symbol Table → Import. Map the absolute addresses to the S7 PII/PIQ ranges as converted.
- In TIA Portal, the symbol table is migrated automatically; verify that the I/O symbols resolve to the correct addresses on the IE/PB Link or CM 1542-5.
DB1 (in IM 308B / S5-95U systems) is special: it carries the L2 / Profibus parameters. This DB is not used by the S7-1500. The Profibus parameters are stored inside the TIA Portal hardware configuration of the CM 1542-5 / IE/PB Link. Keep the original DB1 in the S5 archive for reference but do not copy it to the S7-1500.
9. Incremental Slave Activation with D_Act_DP
For staged migration of multiple ET 200U stations, the S7-1500 provides D_Act_DP (FB 733 in the standard library, or via the instruction Distributed I/O — Activate/deactivate DP slave). This instruction activates and deactivates a single DP slave without producing a CPU stop.
| Input | Type | Meaning |
|---|---|---|
| REQ | BOOL | Rising edge starts the activation/deactivation |
| MODE | BYTE | 0 = deactivate, 1 = activate |
| DP_ID | WORD | Diagnostic address of the DP slave (matches TIA Portal DP slave diagnostics address) |
| RET_VAL | INT | Return value (0 = OK, 80A1h = slave not configured, 80A2h = slave failure, etc.) |
| BUSY | BOOL | Operation in progress |
9.1 Sample call in SCL (S7-1500)
// Deactivate ET 200U #3 for offline maintenance
IF "Tag_Slave3_Disable" THEN
"D_Act_DB".REQ := TRUE;
"D_Act_DB".MODE := 0; // 0 = deactivate
"D_Act_DB".DP_ID := 204; // diagnostic address of ET 200U #3
D_Act_DP(REQ := "D_Act_DB".REQ,
MODE := "D_Act_DB".MODE,
LADDR := "D_Act_DB".DP_ID,
RET_VAL := "D_Act_DB".RET_VAL,
BUSY := "D_Act_DB".BUSY);
"D_Act_DB".REQ := FALSE;
END_IF;
IF ("D_Act_DB".RET_VAL <> 0) THEN
// Log error: see section 11 troubleshooting matrix
END_IF;
There is no equivalent function on the S5 family. On the S5-115U, the only way to "disable" a DP slave is to remove it from DB1, which forces a STOP/RUN. Therefore, the partial migration is one-directional: the S7-1500 controls the activation state of the DP network.
10. Verification and Commissioning
- DP slave list comparison. After download, open Online → Online & Diagnostics → DP master system → Station list. The list must match the S5 IM 308C configuration 1:1 (addresses, GSD revisions, diagnostics).
- Process image length check. PII/PIQ length on each ET 200U station must equal the S5 reference. A mismatch typically indicates a wrong slot module type in TIA Portal.
- Watchdog timing. With the S5 reference at 10 ms, do not reduce the S7-1500 watchdog below this value during the migration phase.
- OB82 / OB86 behavior. Briefly pull a DP connector; the CPU should log a station failure (OB86) and, after re-connect, an OB82 station return. Confirm the HMI / SCADA shows the diagnostic event.
- D_Act_DP round-trip. Deactivate and re-activate each ET 200U station in turn. Verify RET_VAL = 0 and that the station returns to data exchange within < 2 s.
- Time-sync / time-tagging. Verify that the S7-1500 time stamps in the diagnostics buffer match the S5 reference log (drift < 100 ms).
11. Troubleshooting Matrix
| Symptom | Probable Cause | Diagnostic Step | Remediation |
|---|---|---|---|
| DP slave does not enter data exchange | Wrong GSD revision or address conflict | Compare TIA slave address with the physical DIP switch on the ET 200U | Re-install matching GSD; correct address |
| Station failure (OB86) immediately after download | Watchdog too short, or termination missing | Check bus termination resistors (ON at both physical ends only) | Set watchdog ≥ 10 ms; enable terminations on first and last station |
| COM Profibus fails to read IM 308C | EEPROM empty or corrupt | Verify with STEP 5 — read DB1 in the CPU | Re-load configuration from DB1 / PG |
| D_Act_DP returns 80A1h | DP_ID not configured at this LADDR | Inspect DP slave diagnostics address in TIA | Use the diagnostic address shown in Device view → Properties → DP slave diagnostics |
| IE/PB Link not visible in PROFINET | PROFINET device name not assigned | Use Online → Assign PROFINET device name in TIA | Assign name from the Link's MAC sticker; reset Link to factory if name table is corrupted |
| Inputs flicker / sporadic | Diagnostic address overlap with PII range | Cross-check addresses in TIA Portal hardware config | Move diagnostic address to an unused range (e.g., 200..255) |
| S5 program compiles in S7 but logic differs | Unconverted S5 special functions (FB 240, FB 241) | Inspect conversion log; check S5 → S7 reference manual | Re-implement affected blocks as IEC FB |
12. Field-Proven Cutover Checklist (4-Hour Window)
| t (min) | Action | Owner |
|---|---|---|
| −30 | Pre-stage S7-1500 rack, CM 1542-5 / IE/PB Link, ET 200SP. Power on cold. | Automation eng. |
| 0 | Production line stop. Disconnect S5 CPU. Leave IM 308C powered if possible (to keep bus segments active). | Production |
| +10 | Replace IM 308C with IE/PB Link PN IO. Connect to PROFINET switch already in the S7-1500 rack. | Automation eng. |
| +20 | Download S7-1500 hardware configuration. Download S7-1500 program. | Automation eng. |
| +30 | Verify station list — every ET 200U in data exchange. | Automation eng. |
| +45 | Hand-validate critical I/O (E-Stop, drives enable, valve commands). | Maintenance + Ops |
| +60 | Production line restart in dry-run mode. | Production |
| +90..+240 | Production ramp-up. Defer ET 200U → ET 200SP swap to next shutdown phase. | All |
13. Frequently Asked Questions
Can COM Profibus v5.1 be installed on Windows 10 or Windows 11?
No — COM Profibus v5.1 (6ES5895-6SE03) was developed for Windows 2000/XP. To use it on a modern PC, run it inside a Windows XP virtual machine on a Windows 10/11 host (e.g., VMware Workstation or Hyper-V Gen 1). The USB MPI/Profibus cable must be passed through to the VM, and Siemens PC adapter drivers must be installed inside the guest OS.
Is the IE/PB Link PN IO required, or can the S7-1500 connect to PROFIBUS directly?
A CM 1542-5 (6GK7542-5FX00-0XE0) installed in the S7-1500 backplane is a direct PROFIBUS-DP master and is a valid alternative. The IE/PB Link is preferred when the S7-1500 is a PROFINET-only CPU or when you want to keep the S5 IM 308C segment alive for a step-by-step cutover. Both approaches are documented in the official Siemens migration guide.
What is the function D_Act_DP and what return codes should I expect?
D_Act_DP is the S7-1500 instruction "Activate/deactivate DP slave". Inputs are REQ, MODE (0=deactivate, 1=activate), and LADDR (diagnostic address). RET_VAL = 0 means success; common error codes include 80A1h (slave not configured at that LADDR), 80A2h (slave failure), 80A3h (DP master reports error), and 80A4h (communication disrupted). The S5-115U has no equivalent function.
Do I need both a STEP 7 V5.5 license and a TIA Portal license?
Yes, for the official Siemens two-step migration (S5 → STEP 7 V5.5 → TIA Portal) you need a STEP 7 V5.5 license (e.g., 6ES7810-4CC10-0YA5) and a TIA Portal license that supports the S7-1500 (V16 or later, 6ES7822-1AA06-0YA5 or higher). A direct S5 → TIA Portal conversion is not supported by Siemens.
What happens to DB1 from an S5-95U SINEC L2 network?
DB1 on the S5-95U holds the L2 / Profibus parameter set. On the S7-1500, this data is replaced by the hardware configuration of the CM 1542-5 or IE/PB Link in TIA Portal. Keep the original DB1 in the S5 project archive for reference (baud rate, HSA, Tslot, min TSDR, etc.) but do not copy it into the S7-1500 — the parameters must be re-entered in the DP master properties.