Overview
The SIMATIC S5 family — including the compact S5-90U and S5-95U programmable controllers and the modular S5-115U — relies on removable memory submodules to retain user programs across power cycles. Unlike modern S7 controllers with integrated MMC cards, the S5 series separates working RAM from non-volatile backup storage. This division produces three operationally critical behaviors that every commissioning engineer and maintenance technician must internalize:
- All memory modules and I/O modules must be inserted or removed only in the de-energized state.
- After backup-battery loss, the CPU does not retain the RAM-resident program; it loads automatically from a plugged memory submodule on the next restart.
- The same status LED is reused for two distinct meanings — a steady blink indicates an error condition (commonly: no valid program on the submodule), while a rapid flicker indicates an active load or copy operation.
This reference consolidates the operating procedures documented in the S5-90U/S5-95U System Manual (chapter 5) and the S5-115U Programmable Controller manual into a single field-ready procedure covering module selection, hot-swap rules, LED interpretation, and EEPROM copy-button workflows.
SIMATIC S5 Family Background
Siemens released the SIMATIC S5 line beginning in 1979 as a successor to the SIMATIC S3 and S4 ranges. The series spans several form factors intended for different control hierarchies:
| Model | Form Factor | Memory Submodule Slot | Programming Software |
|---|---|---|---|
| S5-90U | Compact (block I/O) | 1 submodule socket | STEP 5 |
| S5-95U | Compact (block I/O) | 1 submodule socket | STEP 5 |
| S5-100U | Modular (small) | 1 submodule socket on CPU | STEP 5 |
| S5-115U | Modular (mid-range) | 1 submodule socket on CPU | STEP 5 / STEP 5-ST |
| S5-135U / S5-155U | Modular (high-end) | Multiple memory cards per CPU | STEP 5 / STEP 5-ST / SCL |
Across the entire family the LED signaling scheme on the CPU front panel remains consistent, which is why a single diagnostic table applies regardless of the chassis. The compact S5-95U in particular is documented extensively in the S5-90U/S5-95U System Manual, and the operations vocabulary (AN, A, L, KT, SF, etc.) referenced in the S5-115U manual applies equally to all STEP 5 CPUs.
Prerequisites
Before performing any module handling or program-copy operation, confirm the following:
- The S5 programmer (PG) is loaded with a STEP 5 version compatible with the target CPU firmware. PG 605, PG 615, PG 635, PG 685, PG 710, PG 720, PG 730, PG 740, PG 750, PG 760, and modern Field PG installations with STEP 5 ≥ V6.x are all acceptable for offline programming.
- A backup battery of the correct type is installed and verified. The S5-95U uses a lithium backup battery for RAM retention; without it the program in volatile RAM is lost on power-down.
- An EEPROM programming device (for the S5-90U/S5-95U the integrated copy button procedure, or for older CPUs the external PG with an EPROM/EEPROM driver) is available.
- Anti-static precautions are in place — the S5 submodules are MOS devices sensitive to ESD.
- Documentation for the specific CPU is at hand. The S5-90U/S5-95U System Manual (order number 6ES5 998-8MA22) is the canonical reference for the compact line.
Memory Module Types: EPROM vs EEPROM
S5 memory submodules are not interchangeable. Mis-selecting the technology is the single most common cause of "CPU will not load program" faults after commissioning.
| Property | EPROM | EEPROM |
|---|---|---|
| Erase method | Ultraviolet light (windowed package) | Electrical (in-circuit) |
| Program with PG | Yes, via EPROM programmer | Yes, via PG or via CPU copy button |
| Program via CPU copy button | No | Yes (≥ 3 s press) |
| Typical capacity (S5-95U) | 2 KB / 4 KB / 8 KB / 16 KB | 2 KB / 4 KB / 8 KB / 16 KB / 32 KB |
| Write cycles | Limited (UV erase required) | ≥ 10 000 typical |
| Use case | Production-floor master copy, write-once | Field backup, rapid duplication, prototype iteration |
Module Insertion and Removal Rules
The single most important mechanical rule for S5 hardware is:
Modules must be inserted or removed only when the CPU is de-energized.
Hot-plugging any module — memory submodule, digital input, digital output, analog module, communications processor, or interface module — can result in:
- Destruction of the submodule's EPROM/EEPROM cell due to supply rail transients.
- Damage to the backplane connector pins.
- CPU entering an undefined fault state requiring a manual restart.
- In the worst case, blown fuses on the CPU power supply section.
Step-by-Step: Safe Module Handling
- Place the controller in STOP mode via the mode selector on the CPU front panel.
- Open the cabinet disconnect and verify zero voltage at the 24 V supply terminals with a calibrated meter.
- Wait at least one minute to allow DC link capacitors to discharge.
- Don an ESD wrist strap bonded to the cabinet ground bar.
- Remove or insert the submodule using the ejector/insert tool where provided.
- Close the cabinet, restore mains power, and observe the CPU LED for the expected boot pattern.
LED Status Indicators and Their Meaning
The S5-95U and S5-115U CPUs use a small cluster of front-panel LEDs. For memory and program-load diagnostics the relevant indicator is the red status LED adjacent to the mode selector. Its two principal modes are:
| LED Behavior | Meaning | Required Action |
|---|---|---|
| OFF | CPU in RUN or STOP, no memory activity | None |
| Continuous ON | CPU in STOP with diagnostic message pending | Read ISTACK / read out error flags via PG |
| Slow blink (~1 Hz) | Error — most commonly "no valid program on submodule" after backup-battery loss | Insert a programmed submodule or reload from PG |
| Rapid flicker | Active operation: RAM load from submodule in progress, or EEPROM copy operation in progress | Wait — do not power down until LED returns to OFF or steady blink |
Backup Power Loss and Automatic Reload
The S5 CPU architecture splits program storage into two physical locations:
- Working RAM on the CPU module, retained by the lithium backup battery. Holds the executable program plus data blocks, timers, counters, flags, and process-image tables.
- Memory submodule in the front-panel socket. Holds a non-volatile copy of the program.
When the backup battery fails or is removed while mains is also absent, the working-RAM contents are erased. On the next power-up the CPU detects that the working RAM is empty and automatically attempts to copy the program from the plugged submodule into working RAM. The behavior sequence is:
- Mains power applied. CPU executes POST.
- CPU checks working RAM. If empty AND a submodule is plugged, CPU begins auto-load.
- Status LED enters the rapid-flicker state ("load in progress").
- On successful load the CPU performs a cold restart and enters RUN (or STOP, depending on the mode selector position and the OB21/OB22 configuration in the program).
- If the submodule is absent, empty, corrupted, or unreadable, the LED enters the slow-blink error state.
Workaround: Forcing a Reload from the Submodule
If the working RAM still contains a (possibly corrupted) program but you need to overwrite it from the submodule:
- Place the mode selector in STOP.
- Power down the CPU.
- Wait 30 seconds for capacitor discharge and any RAM self-decay.
- Remove the backup battery for at least 60 seconds (this guarantees RAM erasure on the next boot).
- Reinsert the battery, restore mains.
- Observe the rapid-flicker LED — the CPU is now reloading from the submodule.
Copying a Program to an EEPROM Submodule
The S5-95U (and S5-90U) CPU front panel includes a recessed copy button that initiates an in-CPU transfer from working RAM to the plugged EEPROM submodule. This is the canonical procedure for field backup when no PG is available.
Procedure
- Verify the plugged submodule is labeled EEPROM, not EPROM. Inspect the device package for the quartz erase window; EEPROMs have an opaque (no window) package, EPROMs have a clear window.
- Confirm the working RAM contains a valid, fully debugged program: the CPU is in RUN with the process operating as expected.
- Place the mode selector in STOP. The RAM image becomes the source.
- Press and hold the recessed copy button on the CPU front panel for at least 3 seconds. Use a non-conductive tool (e.g., a PG stylus or insulated screwdriver) to reach into the recess.
- Release the button. The status LED transitions to the rapid-flicker state, indicating the write is in progress.
- Wait until the LED returns to OFF (or to its previous state). Write duration depends on program size and EEPROM technology; allow up to 30 seconds per 8 KB.
- Verify the copy by powering down the CPU, waiting for capacitor discharge, then powering up and confirming auto-load from the submodule proceeds without an error blink.
Error Conditions During Copy
| Symptom | Likely Cause | Remediation |
|---|---|---|
| LED remains slow-blink after button press | Submodule is EPROM, not EEPROM | Replace with EEPROM submodule; erase and reload via PG |
| LED remains slow-blink after button press | Submodule write-protect engaged (older types) | Check write-protect jumper on submodule |
| LED rapid-flickers then returns to slow-blink | Submodule capacity insufficient for current program | Use a larger-capacity submodule |
| LED rapid-flickers then returns to slow-blink | Checksum mismatch mid-write (submodule failing) | Replace submodule; consider environmental cause (heat, vibration) |
| No LED change on button press | Button held less than 3 s, or button contact dirty | Retry with a longer hold; clean recess with compressed air |
STEP 5 Operations Reference (S5-115U Excerpt)
The S5-115U programming manual introduces the STEP 5 instruction set with the following illustrative sequence — a timer pulse generator — useful as a verification program after a cold load:
:AN I 2.5 // AND-NOT input I2.5 (reset)
:A I 2.6 // AND input I2.6 (start)
:L KT 5.2 // Load time constant 5.2 s into accumulator
:SF T 1 // Start timer T1 as off-delay
:A T 1 // AND timer contact T1
:= Q 4.0 // Assign to output Q4.0
Operation semantics:
-
:AN— AND-NOT (inverse) of a Boolean operand. -
:A— AND of a Boolean operand. -
:L— Load accumulator from constant or operand. -
:KT— Constant of type Time; here 5.2 seconds. -
:SF— Start timer as off-delay (Stored Off-delay). -
:=— Assignment to a Boolean operand.
Use this snippet as a known-good test program when verifying that an EEPROM copy operation preserved the program intact: if the timer pulses output Q4.0 with the expected 5.2-second period, both RAM and submodule images are confirmed valid.
Troubleshooting Matrix
| Observed Symptom | Probable Cause | Diagnostic Step | Corrective Action |
|---|---|---|---|
| Red LED slow-blinks at power-up, CPU will not enter RUN | No valid program in working RAM and no submodule, or unreadable submodule | Power down, inspect submodule socket | Insert programmed EEPROM/EPROM submodule OR load from PG |
| Red LED slow-blinks intermittently during RUN | Backup battery low; RAM write failure imminent | Check BAT LED; measure battery voltage | Replace backup battery within 4 weeks |
| CPU enters STOP with ISTACK code 0001–000F | Submodule-to-RAM auto-load failed | Read ISTACK via PG; compare with chapter 5 of S5-90U/S5-95U System Manual | Reload from PG, re-burn submodule, or replace submodule |
| Copy button has no effect | Submodule is EPROM | Inspect submodule window | Replace with EEPROM submodule |
| Program runs after manual reset but not after power cycle | Backup battery dead, RAM not retained | Measure battery under load | Replace battery; verify auto-load completes from submodule |
| Outputs chatter on power-up | Process image not initialized; cold restart not configured | Check OB21/OB22 in STEP 5 program | Add OB21/OB22 with desired initial state |
| PG cannot connect via serial | TTY/RS-232 interface parameters mismatch | Verify baud rate (9600 typical), AS511 protocol | Match PG settings; check cable pinout per manual |
Field Commissioning Sequence
For a green-field or replacement S5-95U installation, follow this condensed procedure:
- Visual inspection: Verify all submodules, battery, and I/O modules are seated fully. Confirm no bent pins on the backplane connectors.
- Power-on smoke test: Apply 24 V supply with no program loaded. Expect slow-blink LED if no submodule is present.
- Submodule insert: Power down, insert the production EEPROM submodule carrying the validated program.
- Auto-load verification: Power up. Confirm rapid-flicker LED for the load duration, then transition to RUN (or STOP if OB21 not configured).
- Backup creation: With CPU in STOP and the program confirmed in RAM, press the copy button ≥ 3 s to write the program to a fresh EEPROM submodule. Verify by cold-restarting the CPU with the new submodule.
- I/O loop check: Force each input and read back the corresponding process image; force each output and verify field-side voltage with a meter.
- Documentation: Record program version, submodule serial number, battery install date, and ISTACK baseline on the cabinet door card.
Verification Checklist
After any module-handling or copy operation, confirm:
- Mode selector returns to the operating position (RUN or RUN-P).
- Status LED behavior matches the table above (no slow-blink error).
- BAT LED is OFF (battery healthy).
- Cycle-time LED (where fitted) shows a normal scan period.
- ISTACK cleared of any error entries (read via PG).
- A known-good test program — for example the timer snippet from the S5-115U manual — executes as expected after a power-cycle.
Notes on Long-Term Storage of S5 Spares
S5 systems remain in service globally decades after their official end-of-production. When warehousing spare submodules, observe:
- Store EPROM/EEPROM submodules in anti-static foam at 15–30 °C and < 60 % relative humidity.
- For EPROMs, opaque tape must remain over the erase window to prevent UV-induced data loss.
- Rotate spares into service every 24 months and re-verify contents against the master copy, as long-term data retention on aged EEPROM cells degrades.
- Keep at least two independent backup copies of each production program: one EEPROM stored at the machine, one EPROM stored off-site. This dual-media strategy insulates the install from a single point of failure on either technology.
Migration Considerations
When an S5 installation is replaced with an S7-1200, S7-1500, or ET 200 substitute, the S5-95U copy-button procedure and submodule handling rules described above do not carry over. Modern S7 CPUs use the SIMATIC Memory Card (MMC) or System Memory Card (SMC) with file-system-based storage, hot-pluggable under defined conditions, and load via a different mechanism (boot loader rather than ISTACK-driven cold restart). Consult the specific S7 manual rather than assuming procedural continuity.
What does a slow-blinking red LED on an S5-95U mean at power-up?
A slow blink (~1 Hz) is the error indicator and most commonly signals that the CPU cannot find a valid program — either the working RAM has been erased (dead backup battery) and no submodule is present, or the plugged submodule is unreadable or empty. Insert a programmed submodule, replace the backup battery, or reload the program from the PG.
Can I use the CPU copy button to write to an EPROM submodule?
No. EPROMs require ultraviolet erasure and a dedicated EPROM programmer; the in-CPU copy button only writes EEPROMs. Attempting the copy on an EPROM produces a slow-blink error without damaging the device, but no data is written. Verify the submodule label and package window before pressing the button.
How long must I hold the copy button to start an EEPROM write?
Hold the recessed copy button on the S5-95U front panel for at least 3 seconds. Releasing before 3 s is treated as a no-op. Once released, the status LED transitions to rapid flicker, indicating the write is in progress. Wait until the LED returns to its previous state before powering down.
Why does my program run after a manual reset but disappear after a power cycle?
Almost always the backup battery has failed. Without battery support the working RAM loses its contents the moment mains is removed, so the next power-up finds empty RAM and auto-loads from the submodule — but only if the program is present there. Replace the lithium backup battery and verify that an EEPROM or EPROM copy of the program is in the front-panel socket.
Where do I find the canonical S5-95U memory module reference?
Chapter 5 of the S5-90U/S5-95U System Manual (Siemens order number 6ES5 998-8MA22) covers memory submodule handling, LED diagnostics, and the copy-button procedure in detail. The S5-115U Programmable Controller manual (6ES5 998-0UF23) supplements this with STEP 5 operation examples and modular-system specifics.