Overview: The SIMATIC S5-115U and Its Programming Toolchain
The SIMATIC S5-115U is a modular mid-range PLC from Siemens introduced in the mid-1980s as part of the U-series upgrade to the original S5-110S, S5-130S, and S5-150S lines. Despite sharing the SIMATIC brand with the later S7-300/S7-400 generation, the S5-115U is a completely different hardware and software architecture. It cannot be programmed, read, or commissioned with the STEP 7 (TIA Portal or classic) engineering suite. The only officially supported programming environment for the S5-115U — and the entire S5 family (S5-90U, S5-95U, S5-100U, S5-115U, S5-135U, S5-155U) — is STEP 5.
This article explains why STEP 7 cannot be used with an S5-115U, identifies the STEP 5 software versions and programmer (PG) hardware required, walks through the physical and logical steps to upload (read) a program from the PLC, and documents the firmware, memory module, and CPU-variant constraints that field engineers routinely encounter. Migration paths to S7-300/S7-1500 are also summarized for engineers tasked with modernizing legacy S5-115U cells.
Software Compatibility: Why STEP 7 Cannot Read the S5-115U
STEP 7 and STEP 5 were developed against incompatible instruction sets, file formats, and runtime kernels. The naming convention misled several generations of engineers because both products carry the "STEP" prefix, but the underlying architectures are completely separate.
| Tool | Target PLC Family | File Format | Instruction Set | Operating System |
|---|---|---|---|---|
| STEP 5 (V6.x / V7.x) | S5-90U, S5-95U, S5-100U, S5-115U, S5-135U, S5-155U | S5D / INI / SEQ / BES / STL source | STEP 5 operations (A, AN, O, S, R, =, JU, JC, ...) | DOS, Windows 3.1, Windows 95/98/NT/2000/XP |
| STEP 7 (classic) | S7-200, S7-300, S7-400 | S7P / S7L / AWL source | STEP 7 operations (A, AN, O, S, R, =, U, UN, O, ...) | Windows NT/2000/XP/7 |
| STEP 7 Micro/WIN | S7-200 (and Smart) | .mwp / .awl | STEP 7 Micro operations subset | Windows XP/7 |
| TIA Portal (STEP 7 V15+) | S7-1200, S7-1500, S7-300/400 (limited) | .ap15 / .ap16 / .ap17 / .ap18 / .ap19 | STEP 7 operations + extended | Windows 7/10/11 |
The S5-115U runs the STEP 5 firmware interpreter. Its program memory stores instructions encoded in the S5 operation set, organized into blocks (OB = Organization Block, PB = Program Block, FB = Function Block, SB = Sequential Block, DB = Data Block). STEP 7 has no decoder for any of these block types and no AS511 / SINEC L1 driver stack to communicate with the S5-115U's serial programming port.
S5-115U CPU Family and Variants
The S5-115U was offered in five standard CPU models and several sub-variants. Each has different memory sizes, instruction execution times, and integrated I/O. The CPU model determines the maximum uploadable program size and the memory module footprint.
| CPU Model | MLFB (6ES5 ...-...) | Program Memory (statements) | Scan Time (bit op) | Comments |
|---|---|---|---|---|
| CPU 941 | 6ES5 941-0AC11 / 0AC21 / 0AC31 | 2 KB | ≈ 8 ms / 1 K statements | Entry-level; no integrated I/O |
| CPU 942 | 6ES5 942-0AC11 / 0AC21 | 2.5 KB | ≈ 5 ms / 1 K statements | Common in machine control |
| CPU 943 | 6ES5 943-0AC11 / 0AC21 / 0AC31 / 0AC41 | 4 KB | ≈ 2.5 ms / 1 K statements | Most widely deployed 115U CPU |
| CPU 944 | 6ES5 944-0AC11 / 0AC21 / 0AC31 / 0AC41 | 8 KB | ≈ 1.5 ms / 1 K statements | High-performance; PID ready |
| CPU 945 | 6ES5 945-0AC11 / 0AC21 | 16 KB (some up to 32 KB) | ≈ 1 ms / 1 K statements | Flagship 115U CPU; integrated DP (CPU 945-0AC21) |
Special suffixes identify options and form factors:
- CPU 943-0UA12 / CPU 944-0UA12: Compact form factor for SIMATIC S5-115U compact chassis (no expansion racks).
- CPU 945-...-...B: Enhanced diagnostic buffer and time-of-day clock accuracy.
- -F variants: Fail-safe / safety-related logic, documented in the S5-115F manual set; not interchangeable with the standard -U CPU.
- -C co-processor modules (6ES5 922-...): Plug-in coprocessors for computing-intensive tasks (e.g., closed-loop control, ASCII/3964R protocol conversion).
For a complete matrix of CPU features, scan times, integrated I/O counts, and memory-module slot counts, refer to the official SIMATIC S5-115U Programmable Controller manual (6ES5 998-0UF23) on Siemens Industry Online Support.
Prerequisites: Hardware and Software Required to Read an S5-115U
To read a program from a S5-115U you need four things: a STEP 5 license, a compatible programmer (PG), the correct serial cable, and access to the PLC's programming port.
2.1 STEP 5 Software Versions
Siemens released STEP 5 in several versions. The most common versions still encountered in field service are STEP 5 V6.6 (DOS, English/German) and STEP 5 V7.2 (Windows 3.1/95/98). Both versions use the same AS511 serial protocol to talk to the S5-115U. Versions V7.23 and V7.24 added S5-95U/100U support and minor bug fixes.
| STEP 5 Version | Host OS | Supports S5-115U? | Notes |
|---|---|---|---|
| V6.5 / V6.6 | DOS | Yes | Most stable under DOSBox on modern PCs |
| V7.0 / V7.1 | Windows 3.1/3.11 | Yes | Requires 16-bit Windows |
| V7.2 / V7.23 / V7.24 | Windows 95/98/NT 4.0 | Yes | Common on older PGs |
| PG-2000 (bundled) | Windows XP | Yes (S5-115U subset) | Bundled with Siemens PG field programmers |
2.2 Programmer Hardware
Siemens PGs that natively support AS511 for the S5-115U include:
- PG 730, PG 740, PG 750 (laptop form factor, internal AS511)
- PG 760 (ruggedized)
- PG 685 / PG 750 (legacy)
Any DOS/Windows laptop with a built-in RS-232 (COM1) port and STEP 5 V6.6 / V7.x installed can also read the S5-115U when paired with the correct serial cable (Siemens part number 6ES5 734-1BD20 or 6ES5 734-1BF20, 15-pin sub-D to 25-pin sub-D).
2.3 Required Cable (AS511 Interface)
The S5-115U exposes the AS511 programming interface on a 15-pin sub-D female connector on the CPU front panel. Pin assignments per the S5-115U manual:
| Pin (15-pin male to PG cable) | Signal | Direction (PLC side) |
|---|---|---|
| 2 | TxD (transmit data, RS-232 levels) | PLC → PG |
| 3 | RxD (receive data) | PG → PLC |
| 4 | RTS (request to send) | PG → PLC |
| 5 | CTS (clear to send) | PLC → PG |
| 7 | Signal ground (GND) | — |
| 8..15 | Not connected / reserved | — |
Use only a fully shielded cable. AS511 is a current-loop-friendly RS-232 variant with a 20 mA nominal drive; cable lengths beyond 15 m risk signal degradation, particularly in cabinets with VFDs or welding supplies.
Connecting the Programmer to the S5-115U
Follow this sequence to establish a stable AS511 session:
- Power down the S5-115U chassis. Confirm the PS 951 power supply output LEDs (5 VDC, 24 VDC) are extinguished before plugging the programming cable.
- Plug the 15-pin connector into the S5 CPU's "PG" or "AS511" socket. On CPUs 941–944 this is on the front faceplate; on the CPU 945 it is on the right-hand side of the front cover.
- Connect the 25-pin (or 9-pin, depending on cable variant) end to the programmer's COM1.
- Set the CPU's mode selector to RUN-P (or STOP if you do not need to observe live I/O). In STOP the upload is faster and the PLC will not execute the program during the transfer.
- Power up the PLC and wait for the CPU's "RUN" / "STOP" / "BASP" LEDs to stabilize.
- Boot the PG into STEP 5.
Reading (Uploading) the PLC Program with STEP 5
Once STEP 5 is loaded, configure the COM port and start the upload:
- Start STEP 5 and open an empty project file. Set the PLC interface to "AS511" and the COM port to COM1 (or COM2 if you reassigned the cable).
- From the STEP 5 main menu, choose File → Read PLC → Program (German: Datei → AG lesen → Programm) or the equivalent in V7.2's Project menu.
- STEP 5 will perform a handshake with the CPU. If the handshake fails, verify the cable, the mode switch position, and the COM port assignment.
- Select which blocks to read: organization blocks (OB1, OB21, OB22, OB31, OB34, OB251), program blocks (PB0–PB255), function blocks (FB0–FB255), data blocks (DB0–DB255), and sequential blocks (SB0–SB255). For a full image select all block types.
- Click Start. STEP 5 will request each block in turn. A 4 KB program on a CPU 943 typically uploads in under 30 seconds on a serial port at 9600 bit/s.
- Save the result. STEP 5 will offer Save Project As in the working directory (default
C:\STEP5\PROJECTS). The resulting file carries the extension.S5D.
2.1 Reading the Program from a Memory Module
If the program resides on an EPROM, EEPROM, or Flash module (e.g., 6ES5 371-0AA11 EPROM 16 KByte, 6ES5 374-1KH21 Flash 256 KByte, 6ES5 372-0AA11 EEPROM 16 KByte), the module must be physically removed and read with a separate memory programmer — for example, the Siemens PG 605 U / PG 610 EPROM writer, a Data I/O 29B/UniSite, or a modern Xeltek SuperPro 610P. The PLC cannot upload a block that lives only in a memory module back to the PG unless the same module is mirrored to internal RAM and the PLC is configured to copy it at restart.
Memory Module and Firmware Constraints
Memory modules for the S5-115U come in two form factors — 32-pin DIP and the later 40-pin ZIP — and three technologies:
| MLFB | Type | Capacity | Notes |
|---|---|---|---|
| 6ES5 371-0AA11 | EPROM (UV-erasable) | 16 KB / 32 KB | Reprogrammable only with EPROM eraser + programmer |
| 6ES5 372-0AA11 | EEPROM | 16 KB | In-circuit re-programmable via STEP 5 "write to EEPROM" |
| 6ES5 374-1KH21 | Flash EPROM | 128 KB / 256 KB | Used on CPU 945 and later 943/944 firmware ≥ 6ES5 943-7AA11 |
| 6ES5 375-0LA11 | RAM with battery | 16 KB / 32 KB / 64 KB | Backed up by a 3.6 V lithium battery on the CPU |
The lithium backup battery (typically a 3.6 V, 1.7 Ah primary cell, MLFB 6ES5 974-1AA11 or 6ES7 971-1AA00) must be present and healthy for RAM-resident programs to survive a power loss. A depleted battery is the single most common cause of "lost program" incidents on S5-115Us that have been powered off for weeks or months.
Program File Formats Produced by STEP 5
After upload, the program is stored in STEP 5's native .S5D project container, which holds:
- STL source files (.STL or .AWL): Statement-list listings, human-readable.
- Cross-reference (.XRF): Symbol and operand usage list.
- Assignment list (.ASS): I/Q/M/T/C mapping.
- Symbol table (.SYM): Symbolic names for operands.
- Documentation file (.DOK): Free-form text attached to blocks.
For migration to S7, export the STL source from STEP 5 (File → Generate STL Source) and convert it with the Siemens S5 to S7 Converter (file S7-CONV.EXE) included with STEP 7 classic. The converter handles the syntactic transformation (STEP 5 U → STEP 7 U, etc.) but does not preserve comments or symbols; manual rework is mandatory for production-grade code.
Verification: Confirming a Successful Read
Validate the upload by comparing block-by-block:
- Open the offline project in STEP 5's Program Display (German: Programm-Anzeige) and check OB1, OB21, OB22 first — these are always present in a working S5-115U and confirm the basic program structure.
- Verify block checksums. STEP 5 will report an internal block error in the diagnostic buffer (fehlerhafter Bausteinzugriff) if any block failed CRC. Inspect Information → Diagnostic Buffer (German: Diagnose-Puffer) for codes 0x7Fxx.
- Compare the cross-reference against the expected I/O map. Discrepancies usually point to a partial upload caused by a noisy cable or a CPU that was in RUN (not RUN-P) when the read began.
- Diff the STL against a previously archived copy if one exists. STEP 5 has no built-in diff tool; an external tool such as
fc / nordiff -uworks against two text exports.
Troubleshooting Matrix
| Symptom | Likely Root Cause | Action |
|---|---|---|
| STEP 5 reports "No response from AG" | Wrong COM port / cable wired incorrectly / CPU in STOP without RUN-P | Verify pinout, switch mode to RUN-P, try a different COM port |
| Handshake completes but block read aborts partway | Battery dead → RAM content corrupted; or memory module missing/loose | Check battery voltage (>3.4 V); reseat memory submodule |
| Blocks present in PLC but not in offline project | Some blocks live in a memory module, not in RAM | Read the memory module externally or perform an "AG read all" cold restart |
| STEP 5 displays garbage characters in STL | Wrong baud rate (default 9600) or parity mismatch | Set STEP 5 link parameters to 9600/8/E/1 |
| CPU 945 reads OK but FB/DB checksum differs from prior backup | Battery replacement performed without backup; program is now blank | Stop, re-upload from EPROM backup, replace battery under power |
| STEP 7 opens a .S5D file and reports "Unknown format" | Wrong tool used | Switch to STEP 5 — STEP 7 cannot read S5 files under any version |
| Cannot install STEP 5 on Windows 10/11 64-bit | STEP 5 is a 16-bit DOS/Windows 3.1 application | Use DOSBox, PCem, or Windows XP Mode VM |
Migration Considerations: S5-115U to S7
When the read program is destined for a migration to S7, plan the following:
- CPU target: An S7-315-2 DP (MLFB 6ES7 315-2AG10) or S7-315T-2 DP is the typical drop-in replacement for a CPU 943 or 944 in terms of program size and I/O density. For CPU 945 programs (16 KB+), an S7-317-2 DP or S7-319-3 PN/DP is recommended.
-
Conversion tool: Use
S7-CONV.EXEshipped with STEP 7 V5.5 SP4+. It produces an S7 source file in AWL/STL that you then compile in STEP 7 / TIA Portal. - Memory module transfer: RAM and EPROM modules are not hardware-compatible with S7 MMC cards. The program must be downloaded to the S7 CPU via Ethernet (PN/PN coupler) or MPI/DP.
-
Symbolic names and comments: STEP 5's
.SYMsymbol table can be imported by the S7 conversion tool, but cross-symbol references and many S5-specific operands (timers T0–T31, counters C0–C31) require manual cleanup. - Field wiring: S5-115U uses 20-pin front connectors. S7-300 uses 20-pin or 40-pin connectors. Re-termination or pre-wiring adapters (Siemens 6ES7 292-1AB00) are usually required.
For official Siemens conversion documentation and migration guides, refer to the entry point at Siemens Industry Online Support (search term: "S5 to S7 conversion"). The S5-115U manual itself remains the authoritative source for block semantics and instruction set details.
Safety and ESD Precautions
The S5-115U is no longer in production and many spares are obsolete. When handling memory modules and CPUs:
- Power down the rack and wait 60 seconds for capacitor discharge before removing any module.
- Use a grounded ESD wrist strap; CMOS EPROM/EEPROM modules are sensitive to static discharge above 100 V.
- Replace the lithium backup battery only with the PLC under power; otherwise, the RAM-resident program is lost. The recommended battery is 3.6 V, ≥ 1.5 Ah, type AA.
- Never insert or remove the memory submodule while the CPU is in RUN. Always switch to STOP first.
FAQ
Can STEP 7 read a program from an S5-115U?
No. STEP 7 is designed exclusively for the S7-200, S7-300, and S7-400 (and, in TIA Portal, S7-1200/S7-1500). It cannot read the S5-115U's AS511 protocol, decode S5 block formats, or open S5D project files. Use STEP 5 V6.6 (DOS) or V7.2 (Windows) with an AS511 cable and a compatible PG.
Which STEP 5 version works with the S5-115U?
STEP 5 V6.5 / V6.6 (DOS) and V7.0 / V7.1 / V7.2 (Windows 3.1/95/98/NT) all support the S5-115U. There is no native 64-bit Windows build; run V7.2 inside a Windows XP Mode VM or DOSBox on a modern PC.
What cable do I need to connect a PG to an S5-115U?
A Siemens 6ES5 734-1BD20 (15-pin sub-D to 25-pin sub-D) or 6ES5 734-1BF20 cable carries the AS511 protocol. On modern PCs without a built-in COM port, use a USB-to-serial adapter with the FTDI FT232R chipset plus a virtual-COM-port bridge, or a dedicated AS511-over-USB adapter such as INAT CP-S5 USB.
How do I read a program from a memory module rather than CPU RAM?
STEP 5's "Read PLC" only pulls from RAM. To copy a memory submodule, power down the PLC, remove the EPROM/EEPROM/Flash module, and read it in a standalone EPROM programmer (Data I/O, Xeltek SuperPro, or Siemens PG 605 U). For an EEPROM, you can also re-issue "write to EEPROM" after uploading the program to RAM, then re-insert the module into the PLC.
Can the S5-115U program be migrated to a S7-300 or S7-1500 CPU?
Yes. Export the STL source from STEP 5 (File → Generate STL Source) and convert it with the S5-to-S7 Converter tool (S7-CONV.EXE) bundled with STEP 7 V5.5 SP4. The output is an S7 source file that you compile in STEP 7 or TIA Portal. Comments, symbols, and S5-specific operand quirks require manual rework. Typical target CPUs are the S7-315-2 DP (replacing CPU 943/944) and the S7-317-2 DP or S7-319-3 PN/DP (replacing CPU 945).
Why does my S5-115U lose the program after a power cycle?
Almost always a depleted 3.6 V lithium backup battery (MLFB 6ES5 974-1AA11 or 6ES7 971-1AA00). Replace the battery with the PLC under power, then re-upload the program from EPROM or an archived project file. Check battery voltage with the PLC powered on: a healthy cell reads above 3.4 V; replace below 3.0 V.
Is there an offline simulator for S5-115U programs?
STEP 5 V6.6 / V7.2 includes a built-in PLC simulator (S5-PG simulation mode) that emulates the S5-115U instruction execution offline. It accepts the same STL source and provides a virtual I/O window, making it suitable for logic verification after upload without a live PLC. For more advanced simulation (S5-135U, S5-155U only), Siemens offered the S5-DOS simulator add-on.