Replacing S5-115U CPU 943-7UB11 with -7UB21: Field Procedure

David Krause15 min read
Other TopicSiemensTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview

This procedure covers the urgent field replacement of a Siemens SIMATIC S5-115U central processing unit 6ES5943-7UB11 (CPU 943, single interface) with a spare 6ES5943-7UB21 (CPU 943, dual interface). The two part numbers share the same functional core (CPU 943 instruction set, memory model, and rack footprint) and differ primarily in the number of serial interfaces exposed on the front panel. The replacement is a cold-swap procedure: power down, transfer the EPROM submodule, install the new CPU, perform an overall reset, and re-establish the PG connection.

The steps in this guide assume the spare 6ES5943-7UB21 has been verified as a known-good unit (no battery corrosion, no bent connector pins, valid front-panel labels). For diagnostics prior to the swap that justify the CPU as the failed module, refer to the S5-115U Diagnostics and Troubleshooting Manual on Siemens Industry Online Support.

Safety: The S5-115U is a legacy system. Always disconnect the rack from the upstream 24 V DC (or 115/230 V AC where used) power supply before removing or inserting a CPU. The CPU and EPROM submodule are ESD-sensitive; use a grounded wrist strap and an ESD-safe surface.

S5-115U and CPU 943 Family Background

The SIMATIC S5-115U is a modular PLC introduced by Siemens in the 1980s and still in service in plants with long asset life cycles. It uses a central rack (CR) and expansion racks (ER) connected over the IM 305/IM 306 interface modules. The CPU 943 is the high-end CPU of the 115U family and executes STEP 5 programs in three address areas: inputs (I), outputs (Q), and the extended memory used for flags (F), timers (T), counters (C), and data blocks (DB/DX).

Memory architecture of the CPU 943:

  • Volatile user memory (RAM) for program and data, backed up by a lithium battery on the CPU front panel
  • One socket for a non-volatile memory submodule (EPROM or EEPROM) used for cold-restart loading of the program and default DB contents
  • Internal flag/timer/counter areas: 2048 flags (M 0.0–M 255.7), 256 timers (T 0–T 255), 256 counters (C 0–C 255)
  • Digital I/O address space: typically 1024 inputs and 1024 outputs addressable (rack-dependent)

The CPU 943 supports the full STEP 5 instruction set including bit (A, AN, O, ON, S, R, =, FP, FN), timer/counter (SP, SE, SD, SS, SF, R, CU, CD), load/transfer (L, T), comparison (=, <>, >, >=, <, <=), arithmetic (+, –, x, :), block calls (JU/JC to PB, FB, OB, SB, FX), and the integrated floating-point operations available on CPU 943 and higher.

For architecture details, see the S5-115U Programmable Controller Manual and the S5-115U CPU 94x Operating Instructions.

Part Number Comparison: 6ES5943-7UB11 vs 6ES5943-7UB21

Attribute 6ES5943-7UB11 6ES5943-7UB21
CPU family S5-115U / CPU 943 S5-115U / CPU 943
Front-panel designation CPU 943 CPU 943
Serial interfaces (front panel) 1 (IF1 only) 2 (IF1 and IF2)
Interface 1 (IF1) function PG/OP and SINEC L1 PG/OP and SINEC L1
Interface 2 (IF2) function Not present SINEC L1 / second PG port (configurable)
Memory submodule socket 1 (top of front panel) 1 (top of front panel)
Backup battery Lithium, 3.6 V (front compartment) Lithium, 3.6 V (front compartment)
Mode selector positions RUN / STOP / RESET (3-position) RUN / STOP / RESET (3-position)
Rack slot CPU slot in central rack (slot 1 typically) CPU slot in central rack (slot 1 typically)
STEP 5 program compatibility Yes Yes (binary compatible)

The functional core of both part numbers is identical. The -7UB21 adds a second physical interface (IF2) on the front panel; the address assignment, flag/timer/counter map, and STEP 5 instruction behavior are unchanged. In practice, a program written and tested on a -7UB11 runs unmodified on a -7UB21, and vice versa.

Hardware Compatibility Analysis

Before performing the swap, confirm the following compatibility points:

  1. Rack slot. Both CPUs use the same physical form factor and connector. Insert the replacement into the same slot from which the original was removed. Do not attempt to seat a CPU in a slot designated for an I/O module.
  2. Power supply budget. The CPU 943 draws from the 5 V DC rail of the rack backplane. Ensure the installed power supply (for example 6ES5951-7LD21 or 6ES5951-7NB21, depending on voltage class) has margin for the CPU replacement. Like-for-like CPU swaps are typically neutral on the 5 V budget.
  3. Battery. Verify that the lithium backup battery in the -7UB21 is healthy (voltage > 3.4 V, no swelling, no leakage). A depleted battery in the spare will cause a cold restart / memory loss the first time the system is powered down for any reason. A new battery should be installed before commissioning if the age is unknown.
  4. Interface usage. Identify which interface the active PG/OP or SINEC L1 connection uses. On the -7UB11 the only choice is IF1. On the -7UB21 the same PG cable must be reconnected to the IF1 socket. The IF2 socket on the -7UB21 may be used for a second PG/OP or for SINEC L1; do not cross them unless the program was written to expect that mapping.
  5. Memory submodule. The EPROM/EEPROM submodule from the failed CPU is the program carrier. It must be physically transferred to the replacement.

For CPU 943 electrical and mechanical specifications, see the S5-115U CPU 94x Operating Instructions.

Prerequisites for Replacement

  • Spare CPU 6ES5943-7UB21 in known-good condition, visually inspected for damage
  • ESD wrist strap and grounded mat
  • Small flat-blade screwdriver for connector screws and the front-panel cover
  • Documentation of the active STEP 5 program and the DB default contents (in case the EPROM is unreadable)
  • PG 720 / PG 740 / PG 760 (or equivalent) with STEP 5 programming software and a working serial cable to connect to IF1
  • Access to the upstream disconnect so the rack can be de-energized safely
  • Functional knowledge of the plant process and permission to restart the affected section

EPROM Memory Submodule Transfer

The CPU 943 holds the non-volatile copy of the STEP 5 program in a single submodule located behind a small access cover on the upper portion of the front panel. The submodule is keyed and can only be installed in one orientation. Use the following handling rules:

  • Power the rack down completely before removing the submodule. Hot removal will not damage a standard EPROM, but it can cause a RAM/DB corruption event in the running CPU that is then promoted to the cold-restart copy at the next save.
  • Avoid touching the submodule contacts. Skin oils and static discharge are the two principal failure mechanisms for EPROM submodules in service.
  • Label the submodule with the slot origin, program name, version, and date before removal. This is the only reliable way to keep multiple spare EPROMs sorted in a working spares pool.
  • If the original EPROM is suspected unreadable (intermittent restart, repeated BAU/PUV faults), do not transfer it. Use a PG to read the still-backed-up RAM contents (CPU 943 must be in STOP with a healthy battery) and re-burn a new EPROM before swapping CPUs.

For submodule catalog numbers compatible with the CPU 943 socket, refer to the S5-115U Manual appendix on memory submodules.

Step-by-Step Replacement Procedure

  1. Isolate and de-energize the rack. Open the upstream disconnect and lock-out / tag-out (LOTO) per site procedure. Confirm the 24 V DC and 5 V DC rails are at 0 V with a meter before proceeding.
  2. Record the operator panel and PG connections. Photograph the front panel of the failed CPU and the cable connections on IF1 (and IF2 if any). Note the cable labels so they can be reconnected to the same logical port on the replacement.
  3. Disconnect IF cables. Unscrew the IF1 (and IF2, if present) cable connectors and lift them out of the sockets. Do not pull on the cable; use the connector shell.
  4. Remove the failed CPU. Using a flat-blade screwdriver, loosen the two captive screws at the top and bottom of the CPU front plate. Pull the module straight out of the rack using the front handle. Place it in an ESD bag.
  5. Open the memory submodule cover on the failed CPU. The cover is the small rectangular plate above the mode selector. Remove the cover and lift the EPROM submodule straight out of its socket using an extractor tool or carefully with fingers, gripping the plastic body — never the contacts or the glass window.
  6. Inspect the spare 6ES5943-7UB21. Confirm the battery voltage, check the front panel for cracks, verify the connector pins are not bent or oxidized, and visually inspect the EPROM socket for foreign material.
  7. Install the EPROM into the spare CPU. Orient the submodule so that the keyed notch matches the socket. Press firmly and evenly until the submodule seats flush. Replace the cover.
  8. Insert the replacement CPU into the rack. Slide the module into the original slot and tighten the captive screws. The module should seat fully; if there is resistance, stop and re-check alignment rather than forcing it.
  9. Reconnect IF cables. Reconnect the IF1 cable to IF1 of the new CPU, matching the photo taken in step 2. If the original -7UB11 had a single interface and the new -7UB21 has two, leave IF2 disconnected unless the program was written to use it.
  10. Remove LOTO and re-apply power. Restore the upstream disconnect. The CPU should power up and the front-panel LEDs should indicate a defined state (see the verification section below).

Overall Reset (Memory Clear) Procedure

After a CPU swap, the RAM contents of the new CPU are uninitialized. STEP 5 expects the RAM image to be reloaded from the EPROM during a cold restart. The standard CPU 943 overall reset (memory clear) procedure is:

  1. Set the mode selector to STOP.
  2. Set the mode selector to RUN while holding the reset position (the third switch position on the CPU 943 selector). The exact mechanic depends on the front-panel revision; on most CPU 943 units this is performed by rotating the selector past STOP into the momentary reset position and back to RUN, which triggers a cold restart with memory initialization.
  3. Observe the front-panel LED pattern. A successful overall reset on the CPU 943 returns the CPU to STOP with no active faults (the red fault LED extinguishes after a few seconds).
  4. Set the mode selector to RUN again. The CPU performs a cold restart, copies the program and default DBs from the EPROM into RAM, and begins cyclic execution of OB 1.
Important: An overall reset clears the RAM including all data block current values. Default DB values from the EPROM are reloaded. If the process relies on runtime-modified DB values (setpoints, counters, batch state), capture and restore those values from the operator panel or HMI before the reset, or run the program through a controlled warm restart sequence instead. A pure cold restart (overall reset + restart) reinitializes everything from the EPROM default state.

For the exact switch positions and LED indications of the CPU 943, refer to the CPU 94x Operating Instructions.

Interface Configuration

Both IF1 and IF2 (where present) on the CPU 943 are configured in the DB 1 (or DX 0) data block, using the SS / SL interface parameter syntax. The PG cable uses a 15-pin sub-D to 25-pin sub-D (or TTY current-loop) cable, depending on the PG model. Typical parameters for IF1 as the programming port are:

Parameter DB 1 / DX 0 syntax Typical value (IF1 = PG) Typical value (IF2 = PG)
Interface selection SS: ... IF1 active IF2 active
Protocol PG (3964R / ASCII) or SINEC L1 PG PG or SINEC L1
Baud rate Parameter in DB 1 9600 bit/s (or as set) Match IF2 station
Station number SL1 / SL2 0 (master PG) or as assigned Per SINEC L1 master

If the program was running on a -7UB11 with IF1 set as the PG port, the same DB 1 parameter set works on a -7UB21 using IF1. The IF2 interface is enabled only if the DB 1 parameters include an IF2 block; otherwise IF2 is silent. Verify with a PG attach attempt before declaring the interface configuration correct.

Verification and Commissioning

After the CPU is running, perform the following checks before handing the line back to operations:

  1. PG attach on IF1. Connect a PG running STEP 5 to IF1 with the known baud rate. Confirm the PG reports the new CPU's order number (6ES5943 7UB21) and the correct program blocks are listed in the catalog.
  2. Status check. In STEP 5 online mode, observe the cyclic OB 1 execution, monitor the critical I/O, and confirm the process is in a safe state for startup.
  3. Fault buffer. Read the CPU's fault buffer (ISTACK) via the PG. No new faults should be present after the cold restart. Document any pre-existing faults that were carried over from the failed CPU.
  4. Battery check. In PG diagnostics (or by measuring the battery test point on the front panel), confirm the backup battery is healthy. Replace any battery that measures below 3.4 V or whose date code is older than the site policy.
  5. Process restart. With operations in control, transition the process from a safe state to running. Verify timing of inputs, outputs, interlocks, and operator panel feedback.
  6. Documentation update. Update the site asset register, mark the failed CPU 6ES5943-7UB11 as scrap or RMA, and update the spares count for 6ES5943-7UB21.

Troubleshooting Matrix

Symptom Likely cause Action
CPU front-panel red fault LED steady after power-up EPROM not seated, EPROM corrupt, or unsupported submodule Power down, reseat EPROM, retry. If persistent, re-burn from a PG backup or read RAM via PG before another reset.
CPU goes to STOP immediately after RUN Overall reset not performed; cold restart fault from program check Perform overall reset per the section above. If still stopping, read ISTACK for the OB that faulted (typically OB 21, OB 22, or OB 1).
PG cannot attach to IF1 Cable, baud rate, or DB 1 interface parameters wrong Verify cable pinout (TTY / V.24), confirm baud rate in DB 1 matches the PG setting, and confirm the program is online-enabled.
IF2 not responding on -7UB21 IF2 not enabled in DB 1; protocol mismatch Inspect DB 1 / DX 0 IF2 block. If absent, the program was written for a single-interface CPU; IF2 will remain silent until the program is updated.
RAM values lost on next power-down Battery depleted in the spare CPU Replace lithium battery, re-load RAM from EPROM, repeat overall reset.
CPU powers up but no communication on either interface Wrong CPU slot, backplane connector not fully seated Power down, reseat CPU; verify the slot is the designated CPU slot in the central rack.
Operator panel reports "CPU not responding" after swap OP cable was on IF1 of -7UB11; OP protocol is wired for a station number that no longer matches Reconnect OP to IF1 of -7UB21, verify OP address, retry.
Program runs but I/O does not update I/O module addressing changed due to different rack configuration in the program Compare the STEP 5 I/O assignment (C0 / C1 in OB 1 / OB 21) with the actual rack layout.

Spares, Lifecycle, and Migration Notes

The S5-115U is officially discontinued by Siemens. Spare CPUs, EPROM submodules, and front-panel batteries are typically sourced from the secondary spares market. When receiving any S5 spare part, perform a bench test before placing it on the shelf:

  • Power the unit on a known-good S5-115U test rack with a healthy power supply
  • Perform an overall reset and verify the front-panel LEDs return to the defined "STOP no fault" state
  • Run a short test program from a known EPROM and confirm cyclic execution
  • Verify the backup battery voltage and date code; replace if outside site policy

For long-term strategy, sites should evaluate migration to a current Siemens controller family (for example S7-1500 with the SIMATIC S5 to S7 Migration Guide) before the S5-115U spares pool is exhausted. The CPU 943 to -7UB21 swap keeps the existing program and I/O in service; a migration to S7-1500 requires re-engineering the program in TIA Portal but preserves the field I/O and most of the STEP 5 program structure via the S5 to S7 converter.

Additional reference: S5-115U Manual, S5-115U CPU 94x Operating Instructions, and the Siemens Industry Online Support entry portal for legacy S5 documentation.

Frequently Asked Questions

Is the 6ES5943-7UB21 a drop-in replacement for the 6ES5943-7UB11?

Yes, for the purpose of program execution and rack compatibility. Both are CPU 943 modules with the same STEP 5 instruction set, memory architecture, and form factor. The -7UB21 adds a second physical interface (IF2) that the -7UB11 does not have. Existing programs that use only IF1 run unchanged on the -7UB21.

Do I need to reprogram the PLC after swapping the CPU?

No, provided the EPROM submodule from the original CPU is transferred to the replacement. The EPROM contains the STEP 5 program and default DB contents. After the swap, perform an overall reset so the new CPU performs a cold restart and reloads RAM from the EPROM.

What is the correct overall reset (memory clear) procedure for the CPU 943?

With the rack powered, set the mode selector to STOP, then rotate to the reset position and back to RUN, which triggers a cold restart with memory initialization. The CPU returns to STOP with no active faults. Set the selector to RUN again to begin cyclic execution. Refer to the CPU 94x Operating Instructions for the exact selector mechanics of the specific front-panel revision.

Does the lithium backup battery in the spare CPU need to be replaced?

Check the battery voltage and date code before installing the spare. Replace any battery measuring below approximately 3.4 V or exceeding the site-defined service life (commonly 5 years). A depleted battery causes RAM loss on the next power-down, which manifests as a cold restart from the EPROM default state rather than retaining the last live DB values.

Can I leave IF2 unused on the 6ES5943-7UB21?

Yes. If the program and DB 1 interface parameters do not enable IF2, it is electrically silent and has no effect on the running program. IF2 can be enabled later by editing DB 1 (or DX 0) in STEP 5 and reburning the EPROM, or by loading the change into RAM via the PG.

What should I do if the original EPROM is unreadable on the new CPU?

With the original CPU still able to power up and a healthy backup battery, connect a PG to IF1, read the live RAM contents block by block in STEP 5, save the program to PG storage, and re-burn a fresh EPROM. If the original CPU cannot hold RAM, retrieve the program from any off-line backup (PG hard disk, project archive, source listing) and re-burn the EPROM from that source.

Where do I find the official Siemens documentation for the CPU 943?

The S5-115U Manual and the S5-115U CPU 94x Operating Instructions on Siemens Industry Online Support are the primary references. The S5-115U system is legacy, so availability is through the SIOS archive rather than the current product catalog.

Back to blog