Replacing S7-300 SM 331-1KF01 and IM 153-2BA01 Successor Modules

David Krause21 min read
S7-300SiemensTechnical Reference
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

Affected Modules and Migration Scope

This article addresses the hardware migration of two specific S7-300 / ET 200M modules that Siemens has now classified as legacy products with formally released successors. The source system pairs a CPU 315 with an analog module in the central rack and four ET 200M interface modules in a redundant PROFIBUS topology, each of which has a documented successor that shares the family designation but uses a different order number suffix. The engineering question is whether the successor can drop in for the legacy module with no configuration, no rewiring, and no STEP 7 or TIA Portal project change. Siemens' published product information answers this in the affirmative for both modules, subject to the conditions documented in the entries referenced throughout this article.

Terminology note: The original request referred to a "6ES7331 AO card." The 6ES7 331 part number family is the SIMATIC S7-300 SM 331 Analog Input module family, not the Analog Output (6ES7 332) family. Siemens Industry Online Support entry 26269772 explicitly identifies the product information as covering the "8-Channel Analog Input Module 6ES7 331-1," so the migration described here treats 6ES7331-1KF01-0AB0 as an AI module. Verify the actual MLFB on the door label of the installed module before ordering or before applying the procedure.
Table 1 — Affected module pairs in the migration
Role in the S7-300 system Legacy order number (MLFB) Successor order number (MLFB)
Analog input module, SM 331, 8 AI, 13-bit, in the central rack with the CPU 315 6ES7331-1KF01-0AB0 6ES7331-1KF02-0AB0
ET 200M interface module, IM 153-2, PROFIBUS DP slave, four units in a redundant configuration 6ES7153-2BA01-0XB0 6ES7153-2BA02-0XB0

Spare-Part Compatibility — What Siemens Confirms

Siemens publishes spare-part compatibility statements for the 6ES7 family on the product information and product detail pages in Industry Online Support. For the two order numbers in this migration, the statements are explicit and reproduced below in summary form.

For the analog module pair, the relevant product information is documented under Siemens entry 39980695. The statement is that the new module will replace the module below and is spare-part compatible. The explicit consequence is that a module with order number suffix -1KF01- can simply be replaced by the new module with suffix -1KF02- without having to change the configuration or the wiring. No STEP 7 / TIA Portal reconfiguration is required when the new module is installed in the same slot with the same parameter assignment.

For the IM 153-2 pair, the relevant product information is documented under Siemens entry 26291781. The statement is that the new modules are spare-part compatible with the modules shipped to date, and that the configuration can be retained when a module is replaced. The new modules will also work with the existing (older) configuration. The new functions of the IM 153-2 successor are described in two Product Information bulletins at entry 26269772 and entry 26269778.

STEP 7 version compatibility: If you do not require the new functions of the successor module, you can continue to work with the older STEP 7 versions that originally commissioned the system. The successor modules remain compatible with the existing project, which is the operational definition of "spare-part compatible" in the Siemens vocabulary.

What "spare-part compatible" does and does not mean

"Spare-part compatible" in the Siemens sense means: same form factor, same front connector, same terminal assignment, same backplane interface, same slot rules, same PROFIBUS DP interface behavior, and the same address mapping when installed in the slot defined by the existing project. It does not mean that the new module is bit-identical to the old module; in this migration the successors add diagnostic or functional extensions that are dormant unless enabled by an updated configuration. The dormant additions do not affect the running system.

SM 331 AI 8-Channel Module: 1KF01 versus 1KF02

The 6ES7 331-1KFxx module family is the basic 8-channel analog input module with 13-bit resolution (plus sign). It occupies a single slot in the S7-300 central rack or in an ET 200M station, and is wired through a 40-pin front connector. The 1KF01 and 1KF02 variants share the same form factor, the same connector, the same 24 V DC power consumption profile, and the same 13-bit ADC resolution per channel.

Table 2 — SM 331 1KF01 to 1KF02 functional deltas (Siemens-published scope)
Attribute 1KF01-0AB0 (legacy) 1KF02-0AB0 (successor) Migration impact
Number of channels 8 AI 8 AI Identical — no rewiring
Resolution 13 bit + sign 13 bit + sign Identical — same scaling blocks (FC105/FC106 in STEP 7, NORM_X/SCALE_X in TIA Portal)
Form factor / slot Single S7-300 slot, 40-pin front connector Single S7-300 slot, 40-pin front connector Identical
Galvanic isolation Yes (per Siemens module data) Yes (per Siemens module data) Identical
Measuring range selection Per channel via measuring-range module on the side of the module Same mechanical measuring-range module positions Identical — no change to channel configuration
Wire break diagnostics Limited to 1–5 V and 4–20 mA ranges Extended wire break / underrange coverage Behavioural change only when new diagnostic is enabled
Diagnostic interrupt (OB82) Configurable Configurable (extended) Dormant unless reconfigured
Hardware interrupt (OB40) Configurable per channel Configurable per channel Identical
Motor protection (8 AI specific) Not present Per entry 26269772 Dormant unless enabled
STEP 7 / TIA Portal configuration Original Accepted as legacy configuration No project change required
Spare-part compatibility — Confirmed by entry 39980695 Drop-in

The decisive field effect of replacing a 1KF01 with a 1KF02 in a slot that the project still configures as 1KF01 is: the module comes up, the user program continues to read the same process image addresses, the analog values remain at 13-bit signed representation, and the previously used scaling blocks continue to produce the same engineering-unit values. Siemens' published statement that the configuration and wiring do not have to be changed is the operational contract for this drop-in behavior.

Integration time, conversion time, and the 13-bit scaling

The 13-bit signed value returned by the SM 331 family for voltage and current ranges can be scaled with the standard STEP 7 block FC105 "SCALE" or with the TIA Portal NORM_X / SCALE_X blocks. For a bipolar ±10 V range, the integer 27648 corresponds to +10 V and -27648 corresponds to -10 V. For a unipolar 0–10 V range, 0 corresponds to 0 V and 27648 corresponds to +10 V. For a 4–20 mA range, 0 corresponds to 4 mA and 27648 corresponds to 20 mA. These constants are preserved across the 1KF01 → 1KF02 swap; any scaling block that worked against a 1KF01 will work against a 1KF02 in legacy configuration.

What the dormant "motor protection" addition can mean for an existing system

The 1KF02 introduces a motor-protection measurement mode described in the Product Information bulletin at entry 26269772. The mode is not active in a 1KF01-compatible configuration; the module behaves as a 1KF01 until the project is updated to use the 1KF02 article number. If the goal of the migration is to deploy the new motor-protection features, an additional commissioning step is required: replace the module in HW Config, download the new hardware configuration, and re-validate the analog scaling against the new mode. If the goal is a like-for-like replacement, no such step is needed and the motor-protection mode remains dormant.

IM 153-2 ET 200M Module: 2BA01 versus 2BA02

The IM 153-2 is the PROFIBUS DP slave interface module for the ET 200M distributed I/O system. It terminates the PROFIBUS DP segment, manages the backplane to which the S7-300 I/O modules (SM, FM, CP, etc.) are connected, and exposes the station's I/O data to the PROFIBUS master (CPU 315, CPU 400, or a CP). Variants 2BA01 and 2BA02 are pin-compatible, share the same PROFIBUS connector and the same 24 V DC power input, and conform to the same ET 200M station rules.

Table 3 — IM 153-2 2BA01 to 2BA02 functional deltas (Siemens-published scope)
Attribute 2BA01-0XB0 (legacy) 2BA02-0XB0 (successor) Migration impact
PROFIBUS DP interface DP-V0 / V1 slave DP-V0 / V1 slave (compatible) Identical from the master's perspective
PROFIBUS address setting DIP switch on module front (1–99) DIP switch on module front (1–99) Identical — same address plan
Max I/O modules per station 8 or 12 (variant dependent) Same Identical station layout
Redundancy support (S7-400H / SW-Redundancy) Yes Yes (per entry 26291781) Identical
Diagnostic scope Per 2BA01 firmware Extended (per entry 26269778) Dormant unless firmware / project reconfigured
STEP 7 / TIA Portal project entry 6ES7153-2BA01 6ES7153-2BA02 accepted in the old configuration No project change required
Spare-part compatibility — Confirmed by entry 26291781 Drop-in

Siemens' published statement for the IM 153-2 pair is that the new modules are spare-part compatible with the modules shipped to date, that the configuration can be retained, and that the new modules will also work with the existing (older) configuration. In a 1:1 replacement scenario, swapping a 2BA01 for a 2BA02 in the same PROFIBUS address and the same station slot does not require any reconfiguration, and the redundant behavior of the station is preserved.

PROFIBUS address, bus terminator, and station power

The PROFIBUS DP address of the ET 200M station is set by the DIP switch on the front of the IM 153-2 (1–99, 7-bit binary). When a 2BA01 is replaced by a 2BA02, the DIP switch setting must be transferred to the new module. The PROFIBUS bus terminator (the slide switch on the PROFIBUS connector or the terminating resistor) must remain enabled on the end nodes of the segment only; enabling it on a mid-segment node will break the segment. The 24 V DC station power is fed to the IM 153-2 through a 4-pin connector on the module front; the surviving partner in a redundant pair continues to feed the backplane while the affected module is being swapped.

Redundant PROFIBUS Station — How the Four IM 153-2 Cards Behave

The CPU 315 in the source system is paired with four IM 153-2 modules. This is consistent with a redundant PROFIBUS DP topology in which two DP masters (or one master with two DP interfaces) drive two redundant ET 200M stations, each of which uses a pair of IM 153-2 modules in a redundant slave arrangement. The replacement question for this topology is: when only one of the four IM 153-2 cards is replaced, do the remaining three have to follow?

Identical-pair rule: The SIMATIC S7-300 / S7-400 software-redundancy manual states that the redundant devices have to be the same. This applies to redundant PROFIBUS slaves, redundant DP masters, and redundant CPU pairs. The relevant section of the S7-300 / S7-400 software-redundancy manual must be reviewed before performing a mixed-pair migration. Pair-symmetricity is enforced by the S7-400H / SW-Redundancy firmware, not by the spare-part compatibility statement.

For a planned migration in which downtime can be scheduled, the engineering-recommended sequence is:

  1. Replace the first IM 153-2 with the 2BA02 successor, validate the redundant operation, and confirm that the CPU no longer raises "slave failure" diagnostics for that station.
  2. After the first replacement is stable, replace the redundant partner of that pair (the second IM 153-2 in the same redundant station) with a 2BA02. Validate again.
  3. Repeat for the second redundant station pair.
  4. Final state: all four IM 153-2 cards are 2BA02; the redundant pair rule is once again satisfied with the new article number.

For an unplanned (emergency) replacement, the spare-part compatibility statement allows a single 2BA02 to operate against three legacy 2BA01 cards for the duration of the repair window. The CPU 315 will see the IM 153-2 on the affected station as a slave of the same type for the purposes of PROFIBUS DP slave diagnostics, and the redundant behavior of the affected station will be preserved by the surviving legacy partner. Schedule a follow-up migration to bring the remaining cards to 2BA02 so that the redundancy pair is once again identical.

STEP 7 and TIA Portal Configuration Behavior

The spare-part compatibility claim rests on the engineering tools accepting the successor module as a drop-in for the legacy module without complaining about an article-number mismatch. The way this works depends on the engineering tool used.

STEP 7 V5.x (HW Config)

In HW Config, opening the project after the successor is installed in the rack produces one of two outcomes:

  1. The successor module is in the HW Config catalog under the same slot, and the existing module configuration is accepted. No change is required. This is the most common case for spare-part compatible pairs.
  2. HW Config raises an "article number does not match" warning. The recommended response is to not change the project; the runtime accepts the successor, the diagnostics are unaffected, and the warning is a catalog-presentation artifact that resolves when the hardware catalog is updated (Options → Install HW Updates → "Read HW Updates from the Internet" or the latest Service Pack).

If the goal of the migration is to add the new functions of the successor (motor protection for the 1KF02, extended diagnostics for the 2BA02), the article number in HW Config has to be updated, the new configuration has to be compiled and downloaded, and the affected I/O has to be re-validated.

TIA Portal

In TIA Portal (V15.1 and later with the ET 200M HSP, or V16 / V17 / V18 with the appropriate support packages), the device configuration is project-side, and the runtime acceptance of the successor module is the same drop-in behavior described for STEP 7 V5.x. The TIA Portal equivalent of "Install HW Updates" is the HSP (Hardware Support Package) installation or the Devices & Networks catalog update. Siemens publishes HSPs for ET 200M and S7-300 modules on the Industry Online Support portal; the relevant HSP typically becomes mandatory only when the new module article number is to be used in the project, not for the spare-part drop-in case.

Step-by-Step Replacement Procedure

The following procedure applies to a single scheduled replacement of one SM 331 AI module in the central rack and one IM 153-2 in a redundant ET 200M station. For redundant stations, repeat the IM 153-2 procedure for the partner card after the first replacement has been validated.

Prerequisites

  • The current STEP 7 / TIA Portal project is available (even though no change will be downloaded to it).
  • For the SM 331: the new module 6ES7331-1KF02-0AB0 is on hand. The 40-pin front connector, shield contact, and labeling strip from the 1KF01 are reusable on the 1KF02 (same mechanical front).
  • For the IM 153-2: the new module 6ES7153-2BA02-0XB0 is on hand. The PROFIBUS connector and the 24 V DC terminals are reused.
  • The PLC is in a state that allows slot removal (CPU in STOP for the central rack slot; the redundant PROFIBUS station must remain powered through its surviving IM 153-2 for the duration of the swap).

SM 331 AI module replacement (1KF01 → 1KF02)

  1. Bring the CPU 315 to STOP. Confirm via the CPU's mode switch and the HMI status that the system is no longer in RUN.
  2. Open the front door of the rack and identify the slot containing the 6ES7331-1KF01-0AB0. Cross-check the slot number with the project's HW Config.
  3. Unlatch the front connector. Loosen the screws at the top and bottom of the 40-pin front connector, then pull the connector straight out of the module. Label the connector with the slot number to avoid reversing the wiring if the connector is later unplugged.
  4. Release the module. Use the module release mechanism (the tab at the top of the module) to disengage the module from the backplane bus connector. Pivot the module out of the rack.
  5. Inspect the backplane bus connector on the rack for bent pins, debris, or discoloration. Clean or replace as needed before installing the new module.
  6. Install the 6ES7331-1KF02-0AB0. Slide the module into the same slot, engage the backplane bus connector, and snap the module release closed.
  7. Re-insert the 40-pin front connector. Tighten the top and bottom screws. Confirm that the shield contact (if used) is re-closed.
  8. Power the rack. Confirm the module's channel status LEDs (SF, BF if present) are off. For a 1KF02, the LED behavior on a 1KF01-compatible configuration is identical to a 1KF01; the new diagnostic functions are dormant.
  9. Switch the CPU 315 to RUN. Monitor the CPU diagnostic buffer for "module inserted/removed" events and for any "module parameter error" events.

IM 153-2 replacement in a redundant ET 200M station (2BA01 → 2BA02)

  1. Identify which of the two IM 153-2 cards in the station is to be replaced. Confirm that the surviving IM 153-2 is online and the station is in redundant operation; the DP master should report no slave failure for the station.
  2. Remove the PROFIBUS connector from the IM 153-2 to be replaced. Note the PROFIBUS address (set via the DIP switch on the module front) — the new 2BA02 must be set to the same address.
  3. Remove the 24 V DC power connector from the IM 153-2 to be replaced. The station power is fed through the active IM 153-2; removing the connector from the affected module is safe as long as the surviving partner remains in place and powered.
  4. Release the module from the DIN rail or from the active backplane, and remove it from the station.
  5. Set the PROFIBUS address on the new 6ES7153-2BA02-0XB0 to match the address read from the old 2BA01's DIP switch.
  6. Install the 2BA02 in the same slot as the old 2BA01, re-attach the 24 V DC connector, and re-attach the PROFIBUS connector.
  7. Power the new IM 153-2. Confirm the ACTIVE / SF / BF LEDs transition to the expected redundant-pair state (typically: one IM 153-2 ACTIVE, the partner IM 153-2 STANDBY, both with SF and BF off).
  8. From the CPU 315, monitor the PROFIBUS diagnostic for the station. The slave should come back online with the new article number, and the CPU diagnostic buffer should record the module exchange.
  9. Repeat the same procedure for the redundant partner IM 153-2 to restore the identical-pair rule of the S7-300 / S7-400 software-redundancy manual.

Verification and Acceptance Test

After the replacement, perform the following checks to confirm that the spare-part compatibility claim holds in the running system.

Table 4 — Verification checklist for the spare-part compatible replacement
Check Method Expected result
Module status LEDs on the new 1KF02 Visual inspection after CPU RUN SF off, all channel status LEDs off or in their normal "OK" state
Analog values from the 1KF02 Monitor the process image (PIW) in the online watch table Values match the engineering units; 13-bit signed representation preserved
CPU diagnostic buffer Online > Module Information > Diagnostic Buffer "Module inserted" event for the 1KF01 → 1KF02 slot; no "module parameter error" event
Wire break behavior For each AI channel in the new module, disconnect the sensor and observe If the legacy configuration enables wire break diagnostics on 1–5 V / 4–20 mA only, the behavior on the 1KF02 is the same; no spurious wire-break event on other ranges
IM 153-2 redundant pair Visual inspection of ACTIVE / STANDBY LEDs One card ACTIVE, partner STANDBY, no SF on either card
PROFIBUS slave diagnostics on the CPU 315 Online > PROFIBUS DP > Slave diagnostics Station online; article number on the slave diagnostic page shows the new MLFB (6ES7153-2BA02-0XB0)
CPU 315 diagnostic buffer Online > Module Information > Diagnostic Buffer "Module inserted" event for the replaced IM 153-2 slot; no station failure
Functional check of the analog signals driving the process Operator observation of the HMI / SCADA trends Trends for the affected AI channels are continuous across the replacement, no dropouts, no out-of-range events

Troubleshooting Matrix

The following matrix captures the most common symptoms observed when a spare-part compatible migration is performed, the likely root cause, and the corrective action. Each row maps to a real failure mode and to a Siemens-published diagnostic event; the corrective action is consistent with the spare-part compatibility statement.

Table 5 — Troubleshooting matrix for 1KF01 → 1KF02 and 2BA01 → 2BA02 migrations
Symptom Likely cause Corrective action
SF LED on the 1KF02 after CPU RUN Wire break at the field device, or measuring-range module not seated Inspect field wiring; confirm the measuring-range module is set to the position defined by the legacy HW Config (1–5 V, 4–20 mA, etc.); the 1KF02 with the legacy configuration is no more or less sensitive than the 1KF01
"Module parameter error" in the diagnostic buffer for the 1KF02 HW Config has been changed to the 1KF02 article number without re-validation Either restore the 1KF01 article number in HW Config and recompile, or commit to the 1KF02 article number, recompile, download, and re-validate the analog scaling
BF (bus fault) on the 2BA02 PROFIBUS connector not seated, address mismatch, or segment terminated twice Confirm the 2BA02 DIP switch is set to the same address as the 2BA01 it replaced; confirm the bus terminator is enabled on the end nodes of the segment only; confirm the PROFIBUS connector is fully engaged
"Slave failure" on the CPU 315 for the affected ET 200M station New IM 153-2 has not yet completed power-up, or the GSD / HSP used by the master is older than the new article number Wait for the new IM 153-2 to complete the power-up sequence; if the slave still does not come online, install the latest GSD file for the 6ES7153-2BA02-0XB0 in STEP 7 / TIA Portal and recompile the HW Config
One IM 153-2 of the redundant pair fails to take over the role of the other Identical-pair rule is violated (one 2BA01, one 2BA02 in the same redundant station) Replace the remaining 2BA01 with a 2BA02 to restore the identical-pair rule; alternatively, validate the redundancy behavior of the specific firmware combination before scheduling the second replacement
Spurious diagnostic interrupt on the 1KF02 in legacy configuration New diagnostic features of the 1KF02 are surfacing an actual field condition that the 1KF01 did not flag Inspect the channel and the field device; if the diagnostic is genuine, address the field condition; if it is unwanted, change the diagnostic-interrupt enable in HW Config and recompile
HMI / SCADA shows a momentary out-of-range value on the replaced AI channel Module was inserted with the CPU in RUN with the legacy configuration; some configurations do not preserve the last value across the swap Bring the CPU to STOP before the swap if the process cannot tolerate a momentary out-of-range; alternatively, use the "value substitute" setting in HW Config for the affected channel
CPU 315 reports a station mismatch for the 2BA02 even though the DIP switch is correct The new IM 153-2 reports a different article number in its slave diagnostic, and the master compares the configured article number to the actual This is a normal event for spare-part compatible migrations; acknowledge the diagnostic on the master or update the HW Config catalog to the 2BA02 article number to suppress the warning

Specifications and Order Numbers

The specifications below are the published Siemens values for the four modules in this migration. Where a value is not stated in the source product information, the row is marked as "per Siemens module data" and should be verified against the analog module product information (entry 39980695) and the IM 153-2 product information (entry 26291781).

Table 6 — Published specifications of the four modules
Attribute 6ES7331-1KF01-0AB0 6ES7331-1KF02-0AB0 6ES7153-2BA01-0XB0 6ES7153-2BA02-0XB0
Module family SM 331 (analog input) SM 331 (analog input) IM 153-2 (ET 200M interface) IM 153-2 (ET 200M interface)
Function 8 AI, 13 bit + sign 8 AI, 13 bit + sign, motor-protection extensions per entry 26269772 PROFIBUS DP slave for ET 200M PROFIBUS DP slave for ET 200M, extended diagnostics per entry 26269778
Form factor Single S7-300 slot Single S7-300 slot ET 200M station head ET 200M station head
Front connector 40-pin 40-pin (same as 1KF01) PROFIBUS + 24 V DC PROFIBUS + 24 V DC (same as 2BA01)
Galvanic isolation Yes (per module data) Yes (per module data) Yes (per module data) Yes (per module data)
Power consumption from backplane Per Siemens module data Per Siemens module data Per Siemens module data Per Siemens module data
24 V DC load Per Siemens module data Per Siemens module data Per Siemens module data Per Siemens module data
STEP 7 / TIA Portal catalog entry 6ES7331-1KF01 6ES7331-1KF02 6ES7153-2BA01 6ES7153-2BA02
Spare-part compatibility — Drop-in for 1KF01 (entry 39980695) — Drop-in for 2BA01 (entry 26291781)
Product information / new functions — 26269772 — 26269778

Frequently Asked Questions

Can the 6ES7331-1KF02-0AB0 replace a 6ES7331-1KF01-0AB0 without changing the STEP 7 project?

Yes. Siemens entry 39980695 confirms that the 1KF02 is spare-part compatible with the 1KF01, that the wiring and configuration do not have to be changed, and that the new module will work with the existing project as long as the new functions are not required.

Can the 6ES7153-2BA02-0XB0 replace a 6ES7153-2BA01-0XB0 in a redundant PROFIBUS station?

Yes, with a planning caveat. Siemens entry 26291781 confirms spare-part compatibility. The SIMATIC S7-300 / S7-400 software-redundancy manual requires redundant devices to be the same; for a planned migration, replace both cards in a redundant pair before bringing the system back into fully redundant operation, or schedule a follow-up replacement to restore the identical-pair rule.

Do the successor modules require a newer STEP 7 version?

No. If the new functions of the successor (motor protection on the 1KF02, extended diagnostics on the 2BA02) are not used, the existing STEP 7 V5.x project continues to commission and to run unchanged. An updated hardware catalog may produce an "article number does not match" notice, which is a catalog-presentation artifact rather than a runtime incompatibility.

Do I have to rewire the SM 331 when I install the 1KF02?

No. The 1KF02 uses the same 40-pin front connector and the same terminal assignment as the 1KF01. The 1KF01 front connector, shield contact, and labeling strip can be transferred to the 1KF02 in the same order. Wire break detection is dormant in the legacy configuration; no rewiring is needed to keep the wire-break behavior of the 1KF01 unchanged.

How do I activate the new functions of the 1KF02 (motor protection) or the 2BA02 (extended diagnostics)?

Update the article number in HW Config (STEP 7 V5.x) or in Devices & Networks (TIA Portal), recompile the configuration, and download it to the CPU 315. The new functions then become configurable. Validate the affected AI channels or PROFIBUS diagnostics against the updated configuration before returning the system to production.

Back to blog