Migrate S5-115U I/O to S7-400 with IM 463-2 Interface Module

David Krause17 min read
S7-400SiemensTutorial / 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

Migrate S5-115U Local I/O to S7-400 Using the IM 463-2 Interface Module

This guide covers the hardware and software procedure for reusing legacy SIMATIC S5-115U digital and analog I/O modules on a new SIMATIC S7-400 station through the IM 463-2 interface module. It is intended for engineers and commissioning specialists performing brownfield migrations where I/O rewiring is not practical or cost-effective, and where a controlled change of the CPU side is preferred over a full I/O replacement with ET 200 stations.

1. Migration Context and Hardware Strategy

The standard migration path from a SIMATIC S5-115U to a SIMATIC S7-400 platform is to replace both the CPU and the I/O in a single step. In a brownfield installation, the field wiring, marshalling cabinets, signal conditioning, and the S5 I/O modules themselves often represent the largest share of the migration cost and the highest risk to ongoing production. Where the S5 I/O modules are still serviceable and the field wiring is verified, a CPU-only migration that retains the S5 I/O saves wiring labor, preserves the marshalling layout, and keeps the plant disturbance window short.

Three strategies are commonly evaluated:

  1. Full I/O replacement with ET 200M, ET 200S, or ET 200SP on PROFINET or PROFIBUS. Highest long-term maintainability, highest initial cost.
  2. S5 I/O retention via IM 463-2. Lowest initial cost, retains field wiring, restricts the new architecture to the S7-400 family.
  3. Hybrid approach: keep selected S5 I/O racks through IM 463-2 and add new ET 200 stations for greenfield signals. Most common in staged migrations.

The IM 463-2 path is appropriate when the S7-400 has the required slot budget, the S5 I/O hardware is healthy, and the project is willing to accept the lifecycle of the S5 modules in the new installation. For the broader S5-to-S7 conversion strategy including ET 200M cross-reference charts, see the SIMATIC S5 to S7 Migration Manual.

2. Prerequisites and Compatibility

Before specifying the IM 463-2, verify the following:

Item Requirement Notes
S7-400 CPU Any S7-400 CPU with sufficient CR slots (e.g., CPU 412, 414, 416, 417) IM 463-2 is supported in the Central Rack only. It is not supported in Expansion Racks (UR1/UR2) behind an IM 460/461 pair.
STEP 7 version STEP 7 V5.5 SP2 or later, or TIA Portal V13+ with S7-400 HSP Older STEP 7 versions cannot fully describe the S5 expansion racks in HW Config.
S5 expansion unit EU 183U, EU 185U, EU 186U, ER 701-2, or ER 701-3 Each EU/ER must be populated with an IM 314 interface module on the CR side of the S5 rack.
S5 I/O modules Any digital or analog module supported by the EU/ER CP and AG S5 modules cannot be used. Only standard I/O.
IM 463-2 Order number 6ES7463-2AA00-0AA0 (or later index) Each IM 463-2 requires its own slot in the S7-400 CR.
IM 314 (S5 side) Must be configured for the EU/ER type Set the IM 314 mode selector for the rack number (0-3) and the interface (C1/C2).
Cabling Siemens 721-series connecting cable with terminators Cable length and number of EUs determine the terminator placement.

Reference the Siemens FAQ 42681 for the latest compatibility matrix and the SIMATIC S5 to S7 Migration Manual for the broader hardware conversion context including the S5 115U to ET 200M cross-reference chart.

3. IM 463-2 Module and Compatible S5 Expansion Units

The IM 463-2 is a standard-width S7-400 module designed to plug into any free I/O slot of the S7-400 Central Rack. It exposes two identical serial interfaces (C1 and C2) on the rear of the module, each of which can drive one S5 expansion rack chain.

Parameter Value
Order number 6ES7463-2AA00-0AA0
Module width 1 slot (single-width)
Number of interfaces 2 (C1, C2), 9-pin sub-D connectors
Maximum IM 463-2 per S7-400 CR 4
Maximum S5 EUs per interface 4 (distributed configuration)
Maximum EUs per S7-400 station 4 x 2 x 4 = 32 (if all slots and chains are populated)
Status LEDs SF (group fault), interface status indicators on the module face
Address areas supported S5 P (process inputs), S5 Q (process outputs), IM3, IM4 (interface flag bytes)

The IM 463-2 is treated by the S7-400 CPU as a normal I/O module: it occupies a logical slot in HW Config and its subordinate S5 modules are configured as submodules. The CPU does not require any special function block to access the S5 I/O; standard L PIW / T PQW instructions work on the configured addresses.

The IM 463-2 only accepts SIMATIC S5 expansion units of the following types:

  • EU 183U: 3-slot S5 expansion
  • EU 185U: 5-slot S5 expansion
  • EU 186U: 6-slot S5 expansion
  • ER 701-2: 2-tier S5 expansion rack
  • ER 701-3: 3-tier S5 expansion rack

Any digital input (for example 6ES5430, 6ES5431, 6ES5451), digital output (6ES5411, 6ES5454), analog input (6ES5460, 6ES5463, 6ES5470), and analog output (6ES5470, 6ES5475) module documented as compatible with one of these EUs/ERs can continue to operate in the new installation.

Not supported on the S5 side: S5 communication processors (CPs), S5 intelligent I/O modules that require their own CPU context, and any S5 module that needs an IM 314 variant other than the standard IM 314. The S5 EU/ER is reduced to a passive I/O carrier with a single IM 314 interface driving the chain to the IM 463-2.

4. Maximum Expansion Topology

The maximum configuration of an S7-400 station using IM 463-2 is bounded by three constraints:

  1. Maximum 4 IM 463-2 modules in the Central Rack.
  2. Each IM 463-2 exposes 2 interfaces (C1, C2).
  3. Each interface accepts up to 4 S5 expansion units in a distributed configuration.

This yields up to 32 S5 expansion units reachable from one S7-400 station. The S5 EUs are connected in series on each interface chain: IM 463-2 -> IM 314 of EU #1 -> IM 314 of EU #2 -> IM 314 of EU #3 -> IM 314 of EU #4, with a terminator on the last EU.

Each S5 EU in turn can support further S5 EUs centrally behind the same IM 314, but the total number of S5 modules across the chain is limited by the S5 backplane addressing capacity and the cable length budget. In practice, a 4-EU chain per interface is the most common and most reliable configuration.

S7-400 Central Rack CPU IM463 C1 C2 EU 185U #1 IM 314 + I/O EU 185U #2 IM 314 + I/O EU 185U #3 IM 314 + I/O EU 185U #4 IM 314 + I/O Terminator Terminator

Figure 1: Typical IM 463-2 to S5 EU chain on C1 and C2 interfaces, four EUs per chain with a terminator on the last IM 314.

5. Cabling and Physical Installation

Use only Siemens 721-series (or equivalent) shielded connecting cables between the IM 463-2 and the IM 314 of the first S5 EU, and between subsequent S5 EUs in the chain. A terminator must be installed on the IM 314 of the last EU in each chain to avoid reflections.

Connection Cable type Terminator location
IM 463-2 (C1/C2) -> IM 314 of EU #1 Siemens 721-series shielded None on first EU
IM 314 of EU #1 -> IM 314 of EU #2 Siemens 721-series shielded None on intermediate EU
IM 314 of last EU (chain end) None Terminator engaged on the IM 314 mode selector

Verify that the cable shield is bonded to the cabinet ground at both ends, that the cable run is kept clear of VFD power cables and other sources of EMI, and that the cumulative cable length in a single chain does not exceed the specification for the IM 463-2 release in use. If you are uncertain about the cable length budget, start with a single-EU configuration per interface and add EUs one at a time while monitoring the diagnostic buffer for transient interface faults.

6. Step-by-Step Migration Procedure

  1. Inventory the existing S5-115U. Record the CPU type, the EU types (183U, 185U, 186U, ER 701-2, ER 701-3), every I/O module, and the slot assignment. Save the S5 program and any symbol tables for reference.
  2. Verify the S5 I/O is healthy. With the S5-115U still in service, perform a walk-down of the IM 314 diagnostic LEDs, check for any SF (group fault) indicators on the I/O modules, and review the S5 diagnostic buffer. Repair or replace faulty modules before the cutover; the new S7-400 will not make marginal I/O work reliably.
  3. Plan the S7-400 CR slot layout. Reserve one slot per IM 463-2. With four IM 463-2s the maximum slot consumption is four slots. If you need a PROFIBUS CP for an OS link or for an ET 200 ring, account for those slots as well. Keep a documentation drawing of the planned CR.
  4. Power down the S5-115U and the S5 expansion racks. Lock and tag the cabinet, then disconnect the S5 CPU from the S5 EU/ER chain. The S5 EU/ER can remain physically in place; only the S5 CPU is removed from the chain.
  5. Install the S7-400 in the existing cabinet footprint or in a new cabinet adjacent to the S5 EUs. Mount the S7-400 CR, install the CPU, install the IM 463-2 modules in the planned slots.
  6. Route the 721-series cables from each IM 463-2 interface (C1 and C2) to the IM 314 of the first S5 EU on that chain. Connect subsequent S5 EUs in series. Engage the terminator on the last EU in each chain.
  7. Power up the S7-400 station in the following order: S5 EUs first (so the IM 314 modules are alive before the IM 463-2 tries to poll them), then the S7-400 CR, then any networked stations. Watch the IM 463-2 LEDs during the bring-up.
  8. Configure the hardware in STEP 7 (see section 7).
  9. Download the STEP 7 program and walk through I/O check section by section (digital, then analog, then counters, then special function modules).
  10. Hand the station over to operations with documentation of the new S5 address -> S7 address mapping and a snapshot of the HW Config archived in the project vault.

7. STEP 7 Hardware Configuration

Open HW Config in STEP 7 and assemble the S7-400 station as follows:

  1. Insert the appropriate S7-400 rack (UR1 or UR2) and the CPU.
  2. From the hardware catalog, locate the IM 463-2 under SIMATIC 400 -> IM. Drag it to the planned slot in the CR.
  3. Double-click the IM 463-2 to open its properties. Assign a start address for the S5 P/Q address area accessed through this module. The address is typically chosen to avoid conflicts with the on-board I/O of the S7 CPU and with any other IM 463-2s in the CR.
  4. Below the IM 463-2 in the catalog tree, expand the entry to show the supported S5 expansion unit types. Drag the appropriate EU/ER type to represent each S5 EU in the chain.
  5. For each S5 EU, add the actual S5 I/O modules in the slots they physically occupy. STEP 7 will automatically derive the S5 -> S7 address mapping based on the slot position.
  6. Repeat for each chain. Save and compile the HW Config.
Address conflict warning: Each IM 463-2 occupies a contiguous range of the S7-400 process I/O area. If you have two IM 463-2s with overlapping address ranges, STEP 7 reports a duplicate address error at compile time. Always check the Address Overview tool in HW Config to confirm the layout before downloading.

The resulting S5 I/O is addressed in the S7-400 program with standard I/O instructions (L PIW, T PQW, U I, = Q) on the addresses assigned by HW Config. There is no special FB or FC required to read the S5 modules. Existing S5 application logic can be ported by remapping the S5 P/Q byte addresses to the S7-100% equivalents from HW Config.

8. S5 to S7 Address Mapping

The IM 463-2 exposes the S5 P (process input), S5 Q (process output), and the IM3 / IM4 (interface flag byte) areas to the S7-400. The mapping is configured in HW Config and depends on the slot position of the S5 module within its EU.

S5 address concept Meaning on S5 Access from S7-400
P area Process image of digital and analog inputs PI / PIB / PIW / PID (per the configured start address)
Q area Process image of digital and analog outputs PQ / PQB / PQW / PQD
IM3 Interface flag bytes, lower range PI / PQ range, configured in HW Config
IM4 Interface flag bytes, upper range PI / PQ range, configured in HW Config

The S7-400 process image partition concept is fully respected. You can assign the S5 I/O to a specific OB1 process image partition (PIP 1 to PIP 4) and to OB40 / OB41 update priorities exactly as you would for a native S7 module. For high-speed applications, place the S5 DI/DO on PIP 1 and force a partial process image update from OB40 (hardware interrupt) so that the S5 I/O is sampled in parallel with any ET 200 stations.

9. PCS 7 Integration

The IM 463-2 is transparent to PCS 7 (V8.x and V9.x). The S7-400 with IM 463-2 can be used as an AS station in a PCS 7 project. Key considerations:

  • HW Config is performed in the PCS 7 engineering station (or imported from STEP 7) and the IM 463-2 with its subordinate S5 EUs is described in the standard way.
  • CFC charts read and write the S5 I/O through the standard input and output channel blocks (CH_AI, CH_AO, CH_DI, CH_DO). No special PCS 7 block is required for the IM 463-2.
  • The S5 I/O appears in the PCS 7 OS picture as ordinary process tags, with the same update behavior as ET 200 I/O.
  • Driver diagnostics for the IM 463-2 are routed through the standard S7 diagnostic buffer; the PCS 7 Asset Management and SFC visualization show the module and its subordinate S5 EU chain as an item in the S7 plant view.
  • For an S7-400H (redundant) station, the IM 463-2 is not redundantly operable. The S5 I/O is connected to a single side of the H system, and a failure of that side results in a single-sided loss of the S5 I/O. For high-availability S5 I/O, plan a redundant path through two IM 463-2s in different S7-400H sides, with the application software selecting the active path.

10. Verification and Diagnostics

After power-up and download, verify the migration with the following checks:

  1. IM 463-2 status LEDs: green RUN (no fault), SF (red) off, interface status indicators normal on each C1/C2 chain.
  2. Diagnostic buffer: open the S7 CPU online -> Diagnostic Buffer. Look for "Interface error on IM 463-2", "S5 expansion unit not responding", or "Address area overlap" entries. A clean buffer on the first scan is the most reliable sign that the S5 chain is healthy.
  3. Force table: force a single S5 input and confirm the value cycles in the S7 program. Force a single S5 output (with the field wiring isolated) and confirm the output LED on the S5 module transitions.
  4. Analog loop check: inject 4 mA / 12 mA / 20 mA on each S5 analog input and verify the PIW value matches the expected count. Drive 4 mA / 12 mA / 20 mA from each S5 analog output and verify the field-side current with a calibrated meter.
  5. OB1 process image: confirm the S5 I/O updates inside the configured PIP, and that OB40 (time-of-day interrupt) or OB82 (diagnostic interrupt) entries appear when an S5 module is removed or inserted during a live test.
  6. System time and alarms: confirm that S5 diagnostic interrupts (S5 module pulled, S5 channel fault) appear in the S7 diagnostic buffer as expected.

11. Troubleshooting Matrix

Symptom Likely cause Diagnostic step Resolution
IM 463-2 SF LED red on power-up No S5 EU responding on at least one chain Check terminator on last EU; check cable continuity; verify S5 EU power supply Engage terminator, replace cable, restore S5 EU power supply
Interface status off on C1 only Fault on chain C1 only Isolate C1 chain, verify C2 works; check C1 cable and terminator Replace C1 cable; re-terminate last EU on C1
S5 DI not updating in S7 Address area overlap with another IM 463-2 or with on-board I/O Open HW Config -> Address Overview; check PIP assignment Reassign start address of IM 463-2 or of the conflicting module
S5 AI returns 7FFF / 0x7FFF S5 analog module fault or wire break on the field side Read S5 module diagnostic; check field wiring Repair field wiring; replace S5 analog module if faulty
Intermittent S5 I/O faults during EMC events Inadequate cable shielding or routing Inspect cable run; check shield bonding at both ends Re-route cable away from VFD / power cables; improve shield bond
IM 463-2 not appearing in HW Config catalog STEP 7 version too old; HSP missing Check installed STEP 7 / TIA Portal version; install latest HSP Upgrade STEP 7 to V5.5 SP2+ or TIA Portal with current S7-400 HSP
Diagnostic buffer: "S5 EU #2 not responding" after a few hours Loose connector on IM 314; terminator intermittently open Re-seat IM 314 connectors; check terminator seating Tighten connectors; replace IM 314 if backplane connector is worn
Online: PI/PQ area shows the correct address but values are frozen Process image partition not updated by the OB in use Check the PIP assignment; confirm the OB servicing this I/O refreshes that PIP Adjust PIP assignment or update the OB
S5 input toggles but S7 sees the value from the previous scan Process image update not synchronized with S5 EU scan Check OB1 cycle time and PIP update rate Place S5 I/O in a faster PIP or use direct I/O access (L PIW / T PQW)
S5 output latches on a CPU STOP S5 module default behavior on comms loss Check the S5 module configuration for hold-last-value vs. zero-on-loss Reconfigure the S5 module behavior or add S7 logic to drive a safe state on STOP

12. Commissioning Checklist

  • [ ] S5 I/O module inventory captured and cross-checked against the S5 program
  • [ ] S5 EU/ER types and slot layouts documented
  • [ ] S7-400 CR slot plan approved (CPU, IM 463-2, CPs, reserved slots)
  • [ ] 721-series cables routed with proper bend radius and separation from VFD cables
  • [ ] Terminators engaged on the last IM 314 in every chain
  • [ ] Cable shield bonded to cabinet ground at both ends
  • [ ] S5 EU power supplies powered up before the S7-400
  • [ ] HW Config in STEP 7 compiles with no address or topology errors
  • [ ] Program downloaded, CPU in RUN, diagnostic buffer clean
  • [ ] I/O check on every digital and analog channel completed and signed off
  • [ ] PCS 7 OS picture (if applicable) updated to reflect the new tag list
  • [ ] As-built documentation stored in the project vault

13. Frequently Asked Questions

How many S5-115U expansion units can I connect to a single S7-400 CPU through IM 463-2?

Up to 4 IM 463-2 modules can be installed in one S7-400 Central Rack. Each IM 463-2 provides two interfaces (C1 and C2) and each interface can address up to 4 S5 expansion units (EU 183U, 185U, 186U, ER 701-2, ER 701-3), giving a theoretical maximum of 32 S5 expansion units per S7-400 station.

Does the S5-115U CPU need to remain in the cabinet after the migration?

No. The S5-115U CPU is removed from the I/O chain. Each S5 expansion unit that previously connected back to the S5 CPU is re-cabled to an IM 463-2 in the new S7-400. The S5 EU/ER remains as a passive I/O carrier driven by the IM 314 interface module.

Can the IM 463-2 be used in PCS 7 projects?

Yes. PCS 7 (V8.x and V9.x) supports the IM 463-2 in HW Config, and CFC charts access the S5 I/O through standard channel driver blocks. The S5 I/O is presented to the OS as ordinary process tags. Note that the IM 463-2 is not redundantly operable in an S7-400H station; the S5 I/O is bound to a single side and a high-availability path requires two IM 463-2s in different H sides with application-level selection.

Which S5 address areas are accessible from the S7-400?

The IM 463-2 maps the S5 P area (process inputs), the S5 Q area (process outputs), and the IM3 / IM4 interface flag bytes into the S7-400 process I/O area. Access in the STEP 7 program uses standard I/O instructions (L PIW, T PQW, U I, = Q) on the addresses assigned in HW Config; no special function block is required.

Is the IM 463-2 still orderable from Siemens?

The IM 463-2 (6ES7463-2AA00-0AA0) is treated as a migration product for SIMATIC S5 to S7-400 transitions. Confirm current product status, lifecycle classification, and any successor product with your Siemens representative or via the Siemens Industry Online Support portal before specifying it for a new project.

Back to blog