Problem Overview
A SIMATIC S7-400H fault-tolerant system running on CPU 417-4H (or related 41xH variants such as 412H, 414H, 416H, 417H) can enter an asymmetric fault state when the standby partner CPU drops to STOP while the master CPU continues to execute the user program. One of the most frequently reported triggers in this scenario is a diagnostic buffer entry reading "Link-up/update aborted" (German: "Verbindungsaufbau/Update abgebrochen"), which terminates the redundancy synchronization handshake between the two CPUs and forces the standby into STOP.
The symptom is straightforward in appearance but the underlying chain is multi-layered: optical link quality, sync module health, link module firmware revision pairing, the configured maximum runtime of the link-up phase, organization block availability, and the local data allocation within the OB1/OB40/OB80/OB82/OB83/OB85/OB86/OB100/OB101/OB102 hierarchy can each individually or jointly raise the abort event. A structured diagnostic approach is required because the event ID alone does not identify which subsystem failed first.
Architecture Background: S7-400H Redundancy
An S7-400H station consists of two identical CPU subracks interconnected through two redundant synchronization modules (also called sync modules or link modules) and two fiber-optic sync cables. The CPUs exchange process data, redundancy status frames, and link-up frames over this point-to-point optical link every cycle. The link-up phase is the deterministic procedure executed after power-on, after a CPU STOP-to-RUN transition, after insertion/removal events, or after a partner failover when the two CPUs re-establish a synchronized state.
The H system relies on the following redundant components:
- Two identical CPUs (e.g., 6ES7 417-4HT14-0AB0) with matching firmware and the same H firmware add-on version.
- Two sync modules installed in the dedicated slots of the CPU front connector area (modules slot 1 and slot 2 of the IF slot).
- Two LC/PCF (plastic-clad silica) fiber-optic cables terminated with duplex connectors, maximum length 10 m for the standard sync cable set 6ES7 960-1AA04-0XA0.
- Identical signal module (SM), function module (FM), and communication module (CP) configurations on both subracks, mirrored slot-for-slot.
- Identical user program loaded into both CPUs, organized so that the same OBs and the same FBs/FCs/DBs are addressed at the same logical addresses.
During link-up, the master CPU sends update frames that allow the standby to copy the dynamic state: bit memory, timers, counters, and the contents of work/stack memory. The link is treated as established only when all frames are acknowledged within the configured timeout window. If a single frame is missed, corrupted, or rejected by the standby due to a local data or OB availability fault, the link-up phase is aborted and the standby enters STOP with a corresponding diagnostic entry.
Root Cause Matrix for "Link-up/Update Aborted"
The event can be triggered by any of the following root causes. Always verify them in the order shown because the cheapest checks (visual/optical) catch the highest percentage of field cases.
| # | Root Cause Class | Specific Trigger | Diagnostic Signal |
|---|---|---|---|
| 1 | Optical layer | Fiber-optic cable damaged, bent below 30 mm radius, contaminated LC ferrule, or disconnected | Sync module LED OFF, IF diagnostic buffer entry 0xE002, redundant-link LED red |
| 2 | Sync module | Sync module defective or not fully seated; mismatch between slot 1 and slot 2 firmware | SF LED on sync module, single-sided link-up attempt fails |
| 3 | Link-up window | User program exceeds the configured link-up time (default 100 s); heavy FB/FC nesting or large DBs prolong copy phase | Diagnostic buffer: "Update aborted after timeout" |
| 4 | Local data allocation | OB local data stack overflow in standby during the update copy, the OB or its nested calls demand more than the configured local data area | Diagnostic buffer: "Error when allocating local data" (Event ID 0x14xx/0x15xx family) |
| 5 | Missing organization blocks | Required OBs not loaded into the standby CPU (OB70, OB72, OB80-87, OB100-102, OB121, OB122 for H) | CPU enters STOP at OB miss; standby cannot synchronize fault handling |
| 6 | Hardware configuration mismatch | Slot assignment or module type differs between the two racks | Diagnostic buffer: "Module does not match configuration" (Event ID 0x39xx) |
| 7 | Firmware mismatch | Different firmware versions in the two CPUs (master and standby) after an asynchronous replacement | Link-up abort during version check, Event ID 0xE0A3 family |
| 8 | Power or grounding | Interrupted 24 V auxiliary supply on the standby rack during the link-up phase | Buffer entry: "Missing external auxiliary supply" |
Step 1 - Capture the Diagnostic Buffer of Both CPUs
Open STEP 7 (or the equivalent TIA Portal project for S7-400H with compatible target) and connect to the master CPU first, then to the standby. For each CPU, navigate to PLC > Module Information > Diagnostic Buffer and export the entire buffer to a plain-text file. The procedure is documented in Siemens Entry ID SIMATIC S7-400 Automation System CPU manual (53385241) and in the FAQ "How do you read out and save the diagnostic buffer of an S7-300/S7-400 CPU in STEP 7?" (14960968).
To export, proceed as follows:
- Establish an online connection to the target CPU through PROFIBUS or Industrial Ethernet, pointing STEP 7 at the configured MPI/DP or PN interface of the master first.
- Open Accessible Nodes and confirm that both master (H-master) and standby (H-standby) are visible; if only one is visible, the optical layer is likely already broken.
- Right-click the master CPU, choose PLC > Module Information, switch to the Diagnostic Buffer tab.
- Click Save As, store the buffer as
.txt. Repeat for the standby CPU by selecting it through Accessible Nodes and reconnecting. - Note the time stamp of the last "Link-up/update aborted" entry and identify the preceding five entries; the root cause is typically recorded one or two events earlier.
Compare the two buffers. If the master CPU reports no errors while the standby reports the link-up abort, the fault is on the standby side (OB stack, local data, or sync module). If both report errors, the fault is on the optical link or on a shared rack resource.
Step 2 - Inspect Optical Layer and Sync Modules
The redundancy link depends on two physical channels. Even a single degraded channel forces the H system to attempt re-link-up, and if the second channel is also impaired, the abort event is raised.
- Power down the standby subrack only (master stays in RUN) to safely inspect the link. Do not disconnect the running CPU from the process.
- Remove both sync modules from the standby CPU. Inspect the LC duplex connectors for contamination; clean with a dry optical cleaning pen (do not use solvents).
- Inspect the fiber-optic cable for cracks, kinks, or crushing. The minimum bend radius for the standard 6ES7 960-1AA04 series is 30 mm; smaller radii cause microbending loss that is invisible to the eye but fatal to the link.
- Swap the two cables between the sync modules so that cable #1 goes to slot 1 and cable #2 goes to slot 2; this swaps the directionality and identifies a defective cable.
- If the abort persists, swap the two sync modules themselves with a known-good spare. Module defect accounts for approximately 15 percent of link-up aborts in field data.
- Re-seat the modules firmly until the latch clicks. An unseated module may report link-up attempts but never complete them.
Re-power the standby and monitor the sync-module LEDs. The link-up LED sequence must be: amber (searching) -> flashing green (synchronizing) -> solid green (redundant link established) on both modules within the configured timeout (default 100 s). If one module stays amber while the other goes green, the optical layer is half-broken and the abort will recur.
Step 3 - Validate Hardware Configuration Symmetry
Open the HW Config of the H station and compare the master rack to the standby rack, slot by slot. The S7-400H enforces strict symmetry:
- Same module order number (MLFB / 6ES7 article number) at every slot.
- Same firmware version on each module where applicable.
- Identical slot configuration in the redundant partner rack (no module may be physically present in master but missing in standby, and vice versa).
If a module has been replaced during maintenance with a different order number, STEP 7 will still allow download but the H system will refuse link-up and raise a configuration mismatch in the diagnostic buffer. The remediation is to physically realign the hardware and reload the configuration to both CPUs.
Step 4 - Check Firmware and H-Add-on Compatibility
The CPU 417-4H firmware versions commonly deployed in industrial service include V4.5, V4.6, V5.x, and V6.x series. Each major version requires a matching H firmware add-on (H-Sync add-on) loaded via STEP 7. When one CPU carries firmware V4.5.1 with H-Sync V4.5 and the partner carries V4.6.0 with H-Sync V4.6, link-up is refused because the link protocol version differs. Always perform H firmware updates on both CPUs in the same maintenance window and verify the FW version under PLC > Module Information > Identification.
Step 5 - Audit Organization Blocks and Local Data
STEP 7 enforces a minimum set of organization blocks for an H station to tolerate faults without dropping into STOP. The required baseline is:
| OB | Purpose in H System | Consequence if Missing |
|---|---|---|
| OB1 | Cyclic main scan | CPU does not execute user code |
| OB10/11 | Time-of-day interrupts (optional but symmetric) | Asymmetric time handling can break time-stamped sync |
| OB40/41 | Hardware interrupts (mirror on both CPUs) | Hardware interrupt on master cannot trigger redundant handler |
| OB70 | I/O redundancy error (H-specific) | Loss of redundant I/O degrades to single-sided operation |
| OB72 | CPU redundancy error (H-specific) | Loss of CPU redundancy aborts link-up |
| OB80 | Time error | Scan-time overrun can abort update |
| OB82 | Diagnostic interrupt | Module diagnostic events abort link-up if missing |
| OB83 | Insert/remove interrupt | Plug events during link-up not handled -> abort |
| OB85 | Priority class error | Process image update error aborts link-up |
| OB86 | Rack failure | Failure of expansion rack aborts link-up |
| OB100/101/102 | Warm/restart/cold restart handling | Restart asymmetry aborts the partner update |
| OB121/122 | Programming/syntax errors | Uncaught errors during copy phase abort the update |
To load the H-specific OBs and confirm their local data requirement, open SIMATIC Manager > S7 Program > Blocks and ensure the OB list is identical on both CPUs. Right-click the Blocks folder, choose Object Properties on each OB, and confirm the Local Data field does not exceed the configured OB local data area (default 1024 bytes for OB1, individual limits for other OBs). If the local data requirement is too high, increase the OB priority class local data area in the CPU properties under Cycle/Clock Memory or restructure the user program to reduce nesting depth.
The classical symptom of a local data overflow in the standby is the diagnostic entry "Error when allocating local data" (German: Fehler bei der Lokaldaten-Bereitstellung) followed immediately by "Link-up/update aborted". The event IDs in the S7-300/S7-400 family are documented in the Siemens entry on Error codes in the diagnostics buffer (S7-300, S7-400).
Step 6 - Binary Search the User Program
If the diagnostic buffer points to a software origin and the OB/local-data check passes, the user program itself may be triggering an unhandled event during the link-up copy phase. Use the STEP 7 binary search technique:
- Open the master CPU and the standby CPU online; both must be reachable even if one is in STOP.
- Comment out (or temporarily delete) half of the FB/FC calls in OB1 and download the project.
- Run a STOP-to-RUN transition on the standby and observe whether the link-up completes.
- If link-up now completes, the fault lies in the removed half. Restore the working half and bisect again.
- Continue until a single FC/FB block is identified; inspect it for unconditional writes to inaccessible addresses, recursive calls, or reliance on non-mirrored clocks/timestamps that differ between the two CPUs at link-up time.
This procedure is recommended in the SIMATIC Fault-Tolerant Systems S7-400H manual, section 16.2.5 ("Link-up and update"), which is part of the S7-400H system manual referenced by the CPU documentation.
Step 7 - Common Diagnostic Buffer Event IDs
The following table lists the event IDs and short text strings that frequently appear in the S7-400H diagnostic buffer around a link-up abort. Use the Siemens Entry ID 53385241 and the TIA Portal diagnostics buffer reference for the full mapping.
| Event ID (hex) | Meaning | Typical H-System Consequence |
|---|---|---|
| 0x39xx | Module configuration mismatch | Link-up abort during symmetry check |
| 0x3Dxx | Insert/remove event with no OB83 | Link-up abort on partner |
| 0x49xx | Communication interrupt | CP redundancy disturbed |
| 0x73xx | Redundancy loss event | Standby -> STOP after timeout |
| 0x75xx | Sync module error / link failure | Link-up aborted, partner falls back |
| 0x78xx | OB80 time error / OB85 update error | Update copy aborts |
| 0xE0A3 | Link-up aborted (master side) | Master stops partner update |
| 0xE0A4 | Link-up aborted (standby side) | Standby reports abort to master |
| 0x14xx | Local data stack overflow | Standby unable to copy update |
| 0x15xx | Local data allocation error | Standby enters STOP during update |
Step 8 - Recovery Procedure
Once the root cause has been identified and corrected, bring the standby CPU back into synchronized operation using the following sequence:
- Reset the standby CPU by performing an MRES (memory reset) to clear any residual stop cause.
- Re-download the user program and the H system data (SDB) into the standby CPU via STEP 7. Confirm that the same SDB version is in both CPUs.
- Switch the standby CPU from STOP to RUN. Observe the SF/BAT/IF LEDs and the sync module LEDs; expect amber -> flashing green -> solid green within the link-up window.
- If the standby does not enter RUN, perform MRES again and repeat the download to ensure a clean image.
- When the standby reaches RUN, the H system enters the redundant operating state. The redundancy status is shown by the REDF LED on the master (off) and the standby (off); both must be unlit to indicate full redundancy.
Verification and Long-Term Monitoring
After the standby is back in RUN, run the following checks:
- Read the diagnostic buffer of both CPUs. The last entries must show "Link-up completed" followed by "CPU in redundant operating state".
- Force a controlled failover (in a maintenance window only): stop the master CPU via the mode selector; the standby must take over within the configured failover time (default 100 ms for H sync) and continue the process without interruption.
- After failover, restart the former master; it must come back as the new standby and complete link-up automatically.
- Enable the diagnostic interrupt OBs (OB70, OB72, OB82, OB86) with logging so that future asymmetry events are captured automatically.
Preventive Recommendations
- Replace fiber-optic cables on a planned interval (every 10 years or after any mechanical stress event) even if no fault has been reported; microbending loss is progressive.
- Keep the H system date/time synchronized (via SICLOCK or NTP) so that diagnostic buffer time stamps can be correlated across the two CPUs.
- Maintain a configuration library of the H project so that any replacement CPU receives the identical SDB and FW versions.
- Document the configured OB local data area and the actual peak usage so that user program growth can be assessed before it triggers an abort.
- Train maintenance technicians to read the diagnostic buffer export procedure from Siemens Entry ID 14960968; a missing or unread buffer is the single biggest delay in diagnosing link-up aborts.
What does "Link-up/update aborted" mean on a CPU 417-4H standby?
It means the redundant partner failed to complete the update copy from the master within the configured link-up window (default 100 s). The standby cannot reach the synchronized state, so the H system forces it into STOP. The cause is usually optical (sync cable or sync module) or software-related (local data, missing OBs, or user program fault).
How do I export the S7-400H diagnostic buffer to a text file?
Open SIMATIC Manager, connect to the CPU online, choose PLC > Module Information, switch to the Diagnostic Buffer tab, and click Save As. Repeat for both the master and the standby. The full procedure is documented in Siemens Entry ID 14960968.
Which organization blocks are mandatory for an S7-400H station?
OB1, OB70, OB72, OB80, OB82, OB83, OB85, OB86, OB100/101/102, OB121, OB122 must be present in both CPUs. A missing OB70, OB72, or OB86 will abort the link-up the first time a redundancy event occurs, even if the rest of the system is healthy.
Can a damaged fiber-optic cable really cause a "Link-up/update aborted"?
Yes. The H sync cable carries the update frames in real time; any microbending loss, ferrule contamination, or physical break causes the partner CPU to miss frames and abort the update phase. Always inspect bend radius (minimum 30 mm) and clean LC connectors with a dry cleaning pen before replacing modules.
How do I resolve an "Error when allocating local data" diagnostic entry that precedes the abort?
Increase the OB local data area in the CPU properties (under Cycle/Clock Memory) or reduce the local data demand of the user program by moving temporary variables to instance DBs. Re-download the project to both CPUs and trigger a STOP-to-RUN transition; the abort must clear within the configured link-up window.