Configuring HART AI Modules in Siemens S7-400H Redundant Systems

David Krause10 min read
S7-400SiemensTechnical 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

Overview of HART in S7-400H Systems

The Siemens SIMATIC S7-400H is a fault-tolerant automation platform that pairs two redundant H-CPUs (e.g., 6ES7 414-4HM14-0AB0 or 6ES7 417-4HT14-0AB0) running in hot-standby mode. HART (Highway Addressable Remote Transducer) field-device communication is not a native CPU function in the H-System; it is delegated to HART-capable analog input modules mounted in ET 200M distributed I/O stations. The most common module in this role is the SM 331 HART variant, of which the 6ES7 331-7TF00-0AB0 (8 AI, 0/4-20 mA, HART, 12-bit resolution) is the historical reference part number.

Two architectural constraints determine whether a HART device behind an S7-400H can be parameterized with SIMATIC PDM:

  1. The HART module must be installed in an ET 200M station that is connected to the H-System via PROFIBUS DP. S7-400H central racks do not accept SM 331 modules; they only host CPUs, CPs, and interface modules.
  2. SIMATIC PDM must reach the ET 200M station through data record routing, an extended routing mode used exclusively by PDM that is not supported by the internal DP and MPI interfaces of the H-CPU.
Engineering note: Data record routing requires an external communications processor such as the CP 443-5 Extended (6GK7 443-5DX04) or an IE/PB Link Gateway. S7 "normal routing" used for cross-network CPU programming does not carry PDM data records.

Hardware Prerequisites

Confirm the following components and catalog numbers before commissioning:

Component Catalog Number Function
H-CPU (redundant pair) 6ES7 414-4HM14-0AB0 / 6ES7 417-4HT14-0AB0 Fault-tolerant CPU; rack-mount only
CP 443-5 Extended 6GK7 443-5DX04-0XE0 PROFIBUS DP master with data record routing
IM 153-2 (ET 200M) 6ES7 153-2BA02-0XB0 or higher PROFIBUS DP interface for distributed I/O
SM 331 HART 8 AI 6ES7 331-7TF00-0AB0 (legacy) / 6ES7 331-7TF01-0AB0 HART-capable analog input module
Active backplane (HART) 6ES7 195-7HF00-0XA0 Required for hot-swapping SM 331 HART modules
SIMATIC PDM 6ES7 658-3HX06-0YA5 (V9.x) or higher Device parameterization
STEP 7 6ES7 810-4CC10-0YA5 (V5.6 SP2) or TIA Portal V16+ Hardware configuration and PDM host

Refer to the S7-300 Module Data Manual (Entry ID 109825772) for the electrical and functional specification of the SM 331 HART variants.

Compatible SM 331 HART Analog Input Modules

The following SM 331 modules support HART and may be installed in ET 200M stations of an S7-400H:

Catalog Number Channels Resolution HART Rev. Notes
6ES7 331-7TF00-0AB0 8 AI (0/4-20 mA) 12-bit + sign HART 5/6 Discontinued; replaced by 7TF01
6ES7 331-7TF01-0AB0 8 AI (0/4-20 mA) 13-bit + sign HART 5/6/7 Current recommended variant
6ES7 331-7PF00-0AB0 8 AI (0/4-20 mA, RTD/TC) 14-bit HART 5/6 Universal module; supports HART on current inputs
6ES7 331-7PF10-0AB0 8 AI (0/4-20 mA, RTD/TC) 15-bit + sign HART 5/6/7 Successor of 7PF00 with extended diagnostics

Each HART module multiplexes up to eight 4-20 mA loops and exposes the HART signal on top of the analog current through the HART modem on the module. The ET 200M station must use an active backplane if the design requires module replacement during runtime, which is a typical requirement for H-System availability targets.

PDM Routing Fundamentals: Normal vs Data Record Routing

SIMATIC PDM does not communicate with HART field devices using standard S7 messaging. It uses data record routing, which is documented in Siemens Entry ID 7808062. The two routing modes are not interchangeable:

Property Normal S7 Routing Data Record Routing (PDM)
Used by STEP 7, WinCC, HMI tags SIMATIC PDM exclusively
Transport S7 communication (PUT/GET, BSEND/BRCV) Data record (DS) write/read via PROFIBUS DP / Industrial Ethernet
CPU internal interfaces DP, MPI, PN supported DP and MPI not supported
External CP required Optional Mandatory (e.g., CP 443-5 DX04 or IE/PB Link)
Field-device requirement n/a Field device itself does not need DS routing awareness
License Standard STEP 7 PDM + STEP 7 integration license (PDM Standalone cannot route through IE/PB Link)

The base routing concept is described in Siemens Entry ID 584459. In short, data record routing forwards PDM parameter blocks together with the address structure of the target device, which means the addressing depends on the destination field device rather than on the CP.

Network Topology for PDM Access

Two topologies are commonly deployed. Each uses an external CP because the internal DP/MPI interfaces of the H-CPU do not implement DS routing.

Topology A: CP 443-5 Extended in the H-Rack

S7-400H Rack (UR2) CPU 0 (H) CPU 1 (H) CP 443-5 DX04 Sync module CP 443-1 PROFIBUS DP (DS routing) ET 200M Station IM 153-2 SM 331 HART SM 331 HART 4-20 mA + HART Field device Pressure xmtr (HART 7) PR-51A / SITRANS P

Topology B: IE/PB Link Gateway in the H-Rack

When the engineering station is connected through Industrial Ethernet, an IE/PB Link Gateway (6GK7 141-5AB10 or 6GK7 141-5BB00) mounted in the H-rack provides data record routing from the PG/PC Ethernet interface to the PROFIBUS segment that hosts the ET 200M stations. In this case, SIMATIC PDM must be integrated inside STEP 7; standalone PDM cannot terminate a data record route through the IE/PB Link.

HART on Redundant AI Pairs

In H-System designs, critical analog inputs are typically wired redundantly: two SM 331 modules read the same 4-20 mA loop from the field device. The HART signal is superimposed on the loop current and must therefore pass through both modules' input protection diodes. Two engineering consequences follow:

  1. The redundant wiring topology inserts a series diode network into each branch; the effective loop voltage seen by the transmitter is the supply voltage minus two diode drops (~1.2-1.4 V total for silicon diodes). Verify that the transmitter's minimum terminal voltage still allows HART communication (typically ≥ 17 V at 20 mA for most HART 7 devices).
  2. When both modules read the same loop, only one of them should be designated as the HART multiplexer master. The other module reads the analog value but suppresses HART transmission to avoid bus contention. Configure this in STEP 7 HW Config under the AI module properties "Inputs" → "Channel 0..7" → "HART" → "Operating mode".
Field-proven caveat: Some early IM 153-2 firmware versions (V4.x and earlier) do not propagate HART data records correctly across redundant modules. Update IM 153-2 to firmware V5.0 or higher (e.g., 6ES7 153-2BA10-0XB0 with FW V5.1) before commissioning redundant HART channels.

STEP 7 Configuration Procedure

  1. Insert the H-CPUs and CP 443-5 DX04 in HW Config of the S7-400H station. Place the CP in slot 4 or higher of the UR2-H rack; assign PROFIBUS address 2.
  2. Add an ET 200M station on the same PROFIBUS subnet. Insert the IM 153-2 in slot 0 and the SM 331 HART modules in subsequent slots.
  3. Configure the AI channels of the SM 331: set measurement type to "4DMU" (4-wire current, HART), enable diagnostics, and set the HART operating mode to "Multiplexed, 8 channels".
  4. Assign a PROFIBUS address to each HART field device in the device index (HW Config → ET 200M → SM 331 → "HART" tab). PDM uses this address when building the data record route.
  5. Open SIMATIC PDM from inside STEP 7 (menu: Options → SIMATIC PDM → Device Configuration). Choose "LifeList" to scan the PROFIBUS segment via the CP 443-5 DX04.
  6. Upload or download device parameters via the PDM tree. The DS routing path is built automatically: PC → Ethernet → CP 443-1 → backplane → CP 443-5 DX04 → PROFIBUS → IM 153-2 → SM 331 HART → field device.
  7. Repeat for the redundant partner module. PDM will expose two HART nodes per physical transmitter; bind both to the same logical HART tag in the plant view.

For Topology B, insert an IE/PB Link PN IO (6GK7 141-5BB00) in HW Config instead of the CP 443-5 DX04, and ensure the "DS Routing" checkbox is enabled in the link properties. STEP 7 will then add the link to the data record routing chain transparently.

Commissioning and Verification

After configuration, validate the HART path with the following checks:

Step Tool Expected Result
1. CP 443-5 DX04 status STEP 7 HW Config → Diagnostic CP reports "OK", DP master mode active
2. ET 200M station STEP 7 → Online → Accessible Nodes IM 153-2 reachable at configured PROFIBUS address
3. SM 331 HART diagnostics Module information → "HART" tab All configured channels show "OK", no channel errors
4. PDM LifeList SIMATIC PDM → LifeList on subnet All HART field devices appear with correct TAG and PV value
5. Read/write parameter SIMATIC PDM → Device → Load to device Write of lower/upper range succeeds, PV updates within 1-2 s
6. Redundant failover H-CPU panel Disconnect CPU 0; CPU 1 takes over with no HART interruption on the surviving module

Troubleshooting Matrix

Symptom Likely Root Cause Remediation
LifeList shows no devices, but STEP 7 sees the IM 153-2 Data record routing not active; CP 443-5 DX04 not in the route Verify CP 443-5 DX04 is configured in HW Config and the PG/PC interface uses STEP 7 (not standalone PDM). Re-build the route with Options → Set PG/PC Interface → S7ONLINE.
PDM "Address conflict" on redundant pair Both SM 331 modules addressed with same HART index Assign distinct HART indices in HW Config; bind both to the same logical PDM tag.
HART PV erratic when CPU fails over Both modules transmit HART simultaneously, bus contention Disable HART on the secondary SM 331 (set to "Off" on channels 0-7).
PV reads 0 mA even though current loop is intact Loop voltage too low for HART modem; redundant diodes drop exceeded Measure transmitter terminal voltage under load; replace passive distributor with active HART isolator (e.g., MTL HART backplane).
HW Config rejects SM 331 7TF00-0AB0 STEP 7 HSP lacks the legacy GSD Install the latest HSP for STEP 7 V5.6 SP2, or migrate to 6ES7 331-7TF01-0AB0 (drop-in compatible firmware-wise).
IE/PB Link: PDM Standalone "No route to device" Standalone PDM cannot route DS records through IE/PB Link Launch PDM from inside STEP 7: Tools → SIMATIC PDM. Verify the "PDM Integration" license.

Engineering Best Practices

  • Always use a CP 443-5 Extended (not a CP 443-5 Basic) when PDM access is required. The Basic variant does not implement data record routing.
  • Configure redundant SM 331 HART pairs as single-channel redundant (one HART master, one HART mute). Avoid 8-out-of-8 redundancy unless the field device supports simultaneous HART access (rare).
  • Keep HART loop wiring short and shielded; HART is sensitive to capacitive loading and the redundant diodes already impose an extra barrier.
  • Maintain a one-to-one mapping in PDM between the physical HART index and the logical TAG used by HMI/PCS 7; this avoids confusion after hot-swaps.
  • Update the IM 153-2 firmware to V5.x or higher for full HART 7 compatibility, as documented in the ET 200M manual (Entry ID 21928932).

Can the SM 331 6ES7331-7TF00-0AB0 be used in an S7-400H rack?

No. SM 331 modules are S7-300 form factor and are not accepted in the central rack of an S7-400H. They must be installed in ET 200M stations (IM 153-2) connected to the H-CPU via PROFIBUS DP, or via PROFINET through a PN/PN coupler or IE/PB Link.

Which CP is required for SIMATIC PDM to reach HART devices behind an H-CPU?

Use the CP 443-5 Extended (6GK7 443-5DX04). The CP 443-5 Basic and the internal DP/MPI interfaces of the H-CPU do not implement data record routing, so PDM cannot traverse them.

Can I use SIMATIC PDM Standalone (without STEP 7) to parameterize HART devices on an H-System?

Only if the route uses the CP 443-5 DX04 with direct PROFIBUS access from the engineering station. With an IE/PB Link Gateway in the path, PDM must be launched from inside STEP 7 (PDM Standalone cannot terminate DS routing through an IE/PB Link).

Why does HART communication fail when two SM 331 modules read the same loop?

Both modules try to act as HART multiplexer master, which causes bus contention. Disable HART transmission on the secondary module in HW Config (channels 0-7) so that only one module drives the HART signal while the other reads the analog value only.

What is the minimum terminal voltage for reliable HART communication on a redundant loop?

Most HART 5/6 devices need at least 17 V DC at 20 mA; HART 7 devices with wirelesshart stacks tolerate slightly less but typically still require ≥ 16 V. After the redundant diodes drop (~1.2-1.4 V total), verify the transmitter still sees at least 17 V under worst-case load.

Back to blog