S7-400 Upload Error 13:4298: Resolving Rack Slot Determination

David Krause16 min read
S7-400SiemensTroubleshooting
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

1. Problem Overview: S7-400 Upload Error 13:4298

When attempting to upload an S7-400 station to a programming device (PG/PC), the operation aborts with the SIMATIC Manager diagnostic:

Error 13:4298 — The number of the rack and the slot of the module could not be determined online.

The upload wizard in SIMATIC Manager (Step 7 V5.6) and the comparable "Upload from device (software)" command in TIA Portal V15.1 both require an unambiguous rack/slot anchor that points to the controller CPU. When the live online topology contains multiple stations — for example rack 0 (S7-400), rack 1 (ET 200), rack 2 (S7-200) — the wizard cannot resolve which rack/slot pair refers to the controller CPU without operator input. In that situation the upload aborts before any block is read, and the user is shown error 13:4298.

The diagnostic is not a hardware fault. It is a routing/identification fault in the upload routine. The PG/PC continues to communicate normally with the CPU over MPI, PROFIBUS-DP, or PROFINET. Online block view, monitor/modify, and diagnostic buffer read work. Only the upload operation, which is anchored on a project-side station object, fails because the project does not yet contain a station object that matches the live CPU.

2. Affected Hardware and Software

Item Reported Configuration Notes
Controller SIMATIC S7-400 CPU 412-5H PN/DP F-capable, redundant-ready CPU
Order number (MLFB) 6ES7412-5HK06-0AB0 Hardware index K06
Firmware V6.0.4 Released later than the original HW catalog entry
Rack 0 S7-400 central rack (UR1/UR2) Power supply + CPU + signal modules
Rack 1 ET 200 distributed I/O Connected via PROFIBUS-DP or PROFINET
Rack 2 S7-200 (DP slave) Coupled to the S7-400 via PROFIBUS-DP
Engineering tool TIA Portal V15.1 Released 2018, supports CPU 412-5H natively
Legacy tool SIMATIC Manager V5.6 Classic STEP 7; requires HSP for FW V6.0.4

3. Root Cause: Why Rack/Slot Cannot Be Resolved

Error 13:4298 is raised when the upload routine cannot build an unambiguous mapping between the live online node and the upload target's rack/slot. The most common triggers on an S7-400 with mixed central and distributed I/O are:

  1. Multiple online nodes share one PG interface. When the S7-400, the ET 200 station, and the S7-200 are reachable from the same MPI/PROFIBUS segment, the wizard needs a unique rack/slot pair to anchor the upload. Without it, the candidate set is non-unique.
  2. Missing or mismatched S7ONLINE interface assignment. The active S7ONLINE interface must be the one physically connected to the CPU's MPI/DP/PN port. If a different interface is selected (e.g., a NIC on a different subnet), the CPU's rack/slot is never returned.
  3. Project–station mismatch. The offline HW Config in the opened project describes a different rack layout (different CPU type, different firmware, or different slot count). The wizard cannot reconcile the live rack layout with the offline one, so it cannot resolve the slot index.
  4. Firmware version not in the HW catalog. The CPU 412-5H PN/DP FW V6.0.4 ships after the cut-off of SIMATIC Manager V5.6's default HW catalog. Without the matching Hardware Support Package (HSP), the wizard cannot parse the CPU's online identification and therefore cannot return a rack/slot.
  5. S7-200 panel attached as rack 2. A S7-200 addressed through the S7-400's DP master is enumerated as a logical slave on rack 2. If the S7-400's own CPU slot is not selected explicitly, the wizard may treat the S7-200 as the upload target.
  6. H-system with two CPUs. On a CPU 412-5H redundant system, the upload routine must address the active CPU, not the standby. A blank slot field can result in a standby CPU query and the same 13:4298 fault.

4. S7-400 Rack and Slot Conventions

S7-400 central racks follow a fixed slot rule. The official STEP 7 / TIA Portal documentation, "Rack: General slot rules", defines the slot order from left to right on the mounting rail:

Slot 1 is the leftmost slot in the rack. Slot 1 is always reserved for the power supply. The CPU sits in the first free slot to the right of the (possibly wide) power supply. Signal modules follow to the right of the CPU.
Slot Typical Module Width Notes
1 Power supply (PS 405 or PS 407) 1 slot (PS 4xx 4A) or 2 slots (PS 4xx 10A / 20A) Slot 1 is mandatory for the PS, except for wide PS models which occupy slot 1 and slot 2
2 CPU (single-wide PS) 1 slot Default location for an S7-400 CPU when the PS is single-slot
3 CPU (wide PS) 1 slot Required location when the PS spans slot 1 and slot 2
4–9 (UR2) / 4–18 (UR1) Signal modules, interface modules (IM), function modules, communication processors (CP) 1 or 2 slots Order is free but must be contiguous from the CPU's right

For rack 1 (ET 200), slot numbering is local to the distributed station: slot 1 is the head module (IM 153-1, IM 157, etc.) in the ET 200's own backplane. For rack 2 (S7-200 attached as DP slave), the S7-200 has no backplane; its "slot 1" is the CPU 2xx itself.

5. S7-400 Rack Types Reference

Rack Type Order Number (MLFB) Slot Count Use
UR1 (Universal rack) 6ES7400-1TA11-0AA0 18 slots Standard S7-400 central rack
UR2 6ES7400-1JA11-0AA0 9 slots Compact central rack
UR2-H 6ES7400-2JA10-0AA0 2 × 9 slots Split for H-system redundancy
CR2 6ES7401-2TA01-0AA0 18 slots, fixed segments Central rack with reserved IM slots
CR3 6ES7401-1DA01-0AA0 4 slots Minimal central rack for small stations
ER1 6ES7403-1TA11-0AA0 18 slots Expansion rack connected via IM 460/IM 461
ER2 6ES7403-1JA11-0AA0 9 slots Compact expansion rack

The slot count limits the maximum I/O count for the rack. A CPU 412-5H PN/DP supports up to 1,048,576 bits of digital I/O and 524,288 analog channels; the rack you choose bounds the number of modules that can be installed locally.

6. Power Supply Width Reference

The position of the CPU depends on the power supply's slot width. The most common PS modules used with a CPU 412-5H PN/DP are:

Power Supply Width CPU Slot Typical Application
PS 407 4A 1 slot 2 Compact stations
PS 407 10A 2 slots 3 Standard S7-400 stations
PS 407 20A 2 slots 3 Stations with high I/O power budget
PS 405 4A 1 slot 2 DC-only installations
PS 405 10A 2 slots 3 DC-only with high current
PS 405 20A 2 slots 3 DC-only with maximum current

If the rack contains a wide PS, the CPU is in slot 3, not slot 2. The upload wizard will not auto-shift for you. You must enter slot 3 manually.

7. Resolution Methods

Method A — Manual rack/slot entry in the SIMATIC Manager upload dialog

  1. Close all open STEP 7 projects.
  2. Open SIMATIC Manager and select PLC > Upload Station to PG.
  3. In the "Select Target Station" dialog, choose the online node visible via S7ONLINE.
  4. Click Node Address (not "View"). Set the target rack and slot by hand:
    • Rack = 0
    • Slot = 2 (single-wide PS) or Slot = 3 (wide PS)
  5. Confirm with OK; the upload proceeds with the manual anchor.

Method B — Use "Accessible Nodes" with the correct PG/PC interface

  1. Open SIMATIC Manager.
  2. From Options > Set PG/PC Interface…, select the interface physically wired to the CPU's MPI/DP/PN port.
  3. Click PLC > Display Accessible Nodes. Confirm only one CPU is listed with rack 0, slot 2 (or 3) and order number 6ES7412-5HK06-0AB0.
  4. Double-click the node and accept the upload target.

Method C — Physical inspection of the rack

  1. Open the cabinet.
  2. Read the slot strips on the S7-400 mounting rail. Siemens labels every slot from left (1) to right (18 for UR1).
  3. Identify the power supply. If two slots are occupied, the CPU is in slot 3.
  4. Note the CPU's order number and firmware on the front label (here: 6ES7412-5HK06-0AB0, FW V6.0.4).
  5. Re-enter the values manually in the upload wizard.

Method D — TIA Portal Device Configuration

  1. Open the project in TIA Portal V15.1.
  2. Double-click Devices & Networks, then double-click the S7-400 device.
  3. The Device view shows the rack with rack number, slot number, and module order number for every slot.
  4. From the online menu, right-click the CPU and select Upload from device (software). TIA Portal uses the project's rack/slot, so the upload anchor is known and the operation does not raise 13:4298.

8. PG/PC Interface Configuration

The S7ONLINE interface must be set to the CP that is physically connected to the CPU's communication port. Common CP choices are:

PG Interface Bus Typical Use Notes
CP 5611 (PCI) PROFIBUS-DP / MPI Legacy PG interface for DP Up to 12 Mbaud
CP 5613 (PCI) PROFIBUS-DP / MPI DP master capable Required for DP master diagnostics
CP 5614 (PCI) PROFIBUS-DP Multi-protocol Two independent DP interfaces
CP 5621 (PCIe) PROFIBUS-DP / MPI Modern replacement for CP 5611 USB form factor also available (CP 5711)
CP 5622 (PCIe) PROFIBUS-DP / MPI DP master capable Direct replacement for CP 5613
Intel/Realtek NIC PROFINET Standard Ethernet to PN-CPU Use S7ONLINE (TCP/IP) with ISO-on-TCP
CP 1623 / CP 1628 PROFINET (IRT) Real-time PN diagnostics PCIe industrial NIC

After installing the CP driver, set the access point of S7ONLINE to the CP using Options > Set PG/PC Interface… > Standard Interface for S7ONLINE. If the wrong interface is active, the upload routine will not find the CPU's rack/slot even if the bus is online.

9. Hardware Support Package (HSP) Installation

SIMATIC Manager V5.6 SP9 does not list CPU 412-5H PN/DP FW V6.0.4 in its default HW catalog. Without the matching HSP, the upload wizard cannot parse the module's online identification string and returns 13:4298.

  1. Open Siemens Online Support and search for "S7-400 HSP" corresponding to firmware V6.0.4 of the CPU 412-5H PN/DP.
  2. Download the HSP archive (.exe or .zip).
  3. In SIMATIC Manager, run Options > HW Config > Install HW Updates….
  4. Browse to the HSP directory and install the package.
  5. Restart SIMATIC Manager. The CPU 412-5H PN/DP FW V6.0.4 will now appear in the HW catalog under SIMATIC 400 > CPU 400 > CPU 412-5H PN/DP > 6ES7412-5HK06-0AB0 > V6.0.4.
  6. Re-open HW Config. The new module can now be inserted in rack 0 / slot 2 (or 3), and the upload wizard can resolve the rack/slot.

For TIA Portal V15.1, the same support package is supplied as a TIA HSP and installed via Options > Manage General Station Description (GSD) Files / Support Packages. After the TIA HSP is loaded, the CPU 412-5H PN/DP FW V6.0.4 is selectable in the TIA HW catalog.

10. TIA Portal Migration Procedure

When a SIMATIC Manager V5.6 project is opened in TIA Portal V15.1, the rack and slot assignments are carried over. Migration is the cleanest path to a definitive upload because TIA Portal's Device view permanently stores the rack/slot mapping.

  1. Launch TIA Portal V15.1.
  2. Select Project > Migrate project and choose the SIMATIC Manager .s7p file.
  3. TIA Portal converts the HW Config, the symbol table, and the program blocks.
  4. Open the migrated project and double-click Devices & Networks to verify the rack layout (rack 0 = S7-400, rack 1 = ET 200, rack 2 = S7-200).
  5. Right-click the CPU 412-5H PN/DP and select Upload from device (software).
  6. Select the PG/PC interface to the CPU (TCP/IP for PROFINET or the configured CP for PROFIBUS).
  7. TIA Portal anchors the upload on the project's rack 0 / slot 2 (or 3) and the operation completes without 13:4298.

11. H-System Specific Cases (CPU 412-5H PN/DP)

The CPU 412-5H PN/DP is redundant-ready. In an H-system, two CPUs of the same type are installed in two sub-racks of an UR2-H. Only one CPU is active at a time; the other is standby.

When the upload routine is invoked against an H-system, it must address the active CPU. If the slot field is left blank, the wizard may query the standby CPU and receive a response without a valid rack/slot. The 13:4298 diagnostic is the symptom.

Resolution steps:

  1. In the project, identify the active CPU by reading PLC > Diagnostics/Settings > H-CPU State. The active CPU returns role = MASTER.
  2. Enter the slot of the active CPU in the upload wizard's "Node Address" field.
  3. Proceed with the upload. Once the active CPU's program is read, the standby CPU can be updated by performing a link-up.

12. ET 200 Distributed I/O (Rack 1)

The ET 200 station connected to the S7-400 is an independent station. Its slot 1 is the head module (IM 153-1 for PROFIBUS, IM 157 for PROFINET). When the upload wizard enumerates the online nodes, it will show the ET 200 as a separate candidate. To upload the ET 200's configuration:

  1. Open the S7-400 project that already contains the ET 200 station object.
  2. Set the upload target to rack 1, slot 1.
  3. Upload only the ET 200 station.

Do not attempt to upload the ET 200 from the S7-400 upload dialog. They are independent stations.

13. S7-200 Coupling (Rack 2)

A S7-200 connected to the S7-400 as a PROFIBUS-DP slave is enumerated as rack 2 in the S7-400's HW Config, but it is not an S7-400 station. The S7-200 has its own upload mechanism via PPI/MPI/DP using STEP 7-Micro/WIN or the S7-200 PC Access tool.

When the S7-400's upload wizard reports 13:4298 and the rack/slot field is ambiguous, the S7-200 is sometimes the culprit. Exclude rack 2 from the upload target selection by setting Rack = 0 explicitly.

14. Error Code Reference

Code Meaning Typical Cause Resolution
13:4298 Rack/slot could not be determined online Ambiguous online node, missing HSP, wrong PG/PC interface Set interface, install HSP, enter rack/slot manually
13:4299 Station type mismatch Project CPU type differs from live CPU type Update project or upload from a blank project
13:4300 Access point not configured S7ONLINE access point not assigned Set PG/PC interface to S7ONLINE
13:4301 Connection aborted by CPU CPU in STOP with active connection abort Read diagnostic buffer, check CPU mode
13:4302 Online password required CPU password protection active Enter CPU password in upload dialog
33:16622 Hardware fault during upload Slot module ID mismatch Re-seat the module or check module status LEDs

15. Step-by-Step Verification Procedure

  1. Open SIMATIC Manager. From Options > Set PG/PC Interface…, pick the CP assigned to the subnet that contains the CPU 412-5H PN/DP (e.g., CP 5622 for PROFIBUS or the NIC for PROFINET).
  2. Select PLC > Display Accessible Nodes. Confirm the CPU appears once, with rack 0, slot 2 (or 3), order number 6ES7412-5HK06-0AB0, firmware V6.0.4.
  3. Right-click the CPU and select Upload Station to PG…. If the rack/slot dialog still raises 13:4298, manually type Rack = 0, Slot = 2 (or 3 for a wide PS).
  4. Wait for the upload to complete. Expect the full HW Config including the UR1/UR2 racks, the ET 200 station, and the DP-coupled S7-200 to be brought back.
  5. Open the resulting project in TIA Portal V15.1 with Project > Migrate project to verify the upload captured all devices.
  6. Compare the rack/slot count in Device view with the physical rack. Every slot must show a green module.
  7. Open Online & Diagnostics > Diagnostic buffer on the CPU and confirm no new fault entries appeared during the upload.
  8. Re-compile the program in TIA Portal. A successful compile confirms the uploaded HW Config is consistent with the CPU firmware.

16. Best Practices for Future Uploads

  • Keep a project archive on the engineering network. Use Project > Archive after every commissioning change so you never depend on an upload.
  • Install the latest HSP for your CPU firmware. Siemens releases HSPs that add new firmware versions to the HW catalog. Without the HSP, online identification of new firmware cannot be parsed.
  • Document the physical slot layout. A photo of each rack with slot numbers visible saves hours during a fault.
  • Use TIA Portal for new projects. The Device view shows the rack/slot of every module and avoids the manual entry that triggers 13:4298.
  • Configure the PG/PC interface permanently. Use a separate CP for PROFIBUS and a separate NIC for PROFINET to keep the S7ONLINE assignment stable.
  • For H-systems, record the slot of the active CPU after every failover. The upload wizard needs this anchor.
  • Avoid coupling the PG to multiple subnets on the same interface. The wizard can only resolve one set of rack/slot candidates per S7ONLINE access point.
Safety notice: An upload is read-only and cannot corrupt the running program. However, any subsequent download triggered from the uploaded project will overwrite the station's program and hardware configuration. Verify the rack/slot carefully before downloading. Confirm the rack 0 / slot 2 (or 3) entry matches the physical CPU position; a wrong slot can direct the download to a different module and disrupt production.

17. Troubleshooting Matrix

Symptom Likely Cause Corrective Action
13:4298 in SIMATIC Manager; Accessible Nodes shows CPU correctly HSP missing or wrong PG/PC interface Install HSP for CPU 412-5H FW V6.0.4; verify interface
13:4298 with rack/slot greyed out Project does not contain a valid S7-400 station Open or create a project with the correct CPU before uploading
13:4298 with multiple nodes listed PG is on a shared PROFIBUS segment Set PG/PC interface to the CP connected to the CPU
13:4298 only when ET 200 is also powered Slot ambiguity between rack 0 and rack 1 Manually enter rack 0, slot 2 (or 3)
13:4298 after firmware update HSP outdated Update HW catalog with new HSP
13:4298 on H-system after failover Standby CPU addressed Enter slot of the active CPU
13:4298 with rack/slot empty CPU not enumerated on the bus Check PG/PC interface, cable, terminating resistors
13:4298 with S7-200 attached S7-200 (rack 2) confused for upload target Force rack = 0 explicitly

18. Reference Documentation

What does error 13:4298 mean on an S7-400 upload?

It is the SIMATIC Manager diagnostic that the upload wizard could not resolve the rack and slot of the target CPU online. The wizard needs a unique rack/slot pair to anchor the upload; when this cannot be derived automatically (ambiguous online nodes, missing HSP, wrong PG/PC interface), the upload aborts with 13:4298.

How do I determine the rack and slot of a CPU 412-5H PN/DP?

On the S7-400 central rack (rack 0), the CPU sits directly to the right of the power supply. With a single-wide PS (e.g., PS 407 4A), the CPU is in slot 2. With a wide PS (e.g., PS 407 10A / 20A), the CPU is in slot 3. Confirm by reading the slot numbers on the rack rail or by opening the project in TIA Portal Device view.

Why does TIA Portal V15.1 show the rack/slot but SIMATIC Manager V5.6 does not?

TIA Portal's Device view shows the rack and slot directly in the project tree. SIMATIC Manager V5.6 needs the HW Config to be open. If SIMATIC Manager V5.6 cannot identify the CPU 412-5H PN/DP FW V6.0.4, install the matching HSP so the module is added to the HW catalog.

Can I upload the ET 200 and S7-200 stations with the same operation?

No. The S7-400 (rack 0), the ET 200 station (rack 1), and the S7-200 (rack 2) are independent stations and must be uploaded separately. The S7-200 has its own upload mechanism (PPI/MPI/DP via STEP 7-Micro/WIN) and cannot be uploaded through the S7-400's online path.

What is the standard slot for the CPU in an S7-400 rack?

Slot 1 is reserved for the power supply. The CPU occupies the first free slot after the PS, which is normally slot 2. If a wide PS (PS 407 10A / 20A) is installed, it spans slots 1 and 2 and the CPU moves to slot 3.

Back to blog