Siemens SM331 2-Wire and 4-Wire Transducer Wiring to AI Module

David Krause15 min read
I/O ModulesSiemensTechnical 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 2-Wire and 4-Wire Transducer Wiring to Siemens Analog Inputs

Wiring a field transducer into a Siemens SIMATIC S7-300 analog input module (SM 331) or a fail-safe analog input module (F-AI 6ES7336) appears straightforward on paper, but the four possible combinations of sensor topology and module topology quickly generate confusion around the M+, M-, Mana, and M terminal designations. This reference consolidates the wiring rules for the four cases that matter on a typical greenfield commissioning:

  1. 2-wire transducer wired into a 2-wire AI channel.
  2. 2-wire transducer wired into a 4-wire AI channel.
  3. 4-wire transducer wired into a 2-wire AI channel.
  4. 4-wire transducer wired into a 4-wire AI channel.

The reference uses Siemens part numbers and terminal assignments as the canonical example because the source question referenced the SIMATIC F-AI module and the SM 331 AI 8x12 Bit family. The same topology rules apply to S7-300 ET 200M analog inputs, ET 200S AI modules, and S7-400 SM 431 modules — verify the terminal assignments in the specific module manual before energizing the loop.

Before any wiring is performed, review the S7-300 S7-300 Module data manual and the SM 331 AI 8x12 Bit Getting Started guide. These documents define which measuring range the module hardware accepts and which terminals are bonded internally.

Terminal Designations: M+, M-, Mana, and M

Every Siemens SM 331 analog input channel is built around four physical conductors that are present on every channel or shared across the module. Engineers who are new to the SIMATIC platform must internalize the difference between these four before designing the field wiring.

Terminal Function Polarity / Reference
M+ Positive measuring input (signal +) Connect to transducer signal high / loop supply high
M- Negative measuring input (signal -) Connect to transducer signal low / return conductor
Mana Analog ground reference (measuring ground) Common-mode reference; internally bonded to M- on voltage ranges, isolated on current ranges
M Chassis / shield ground Bonded to DIN-rail ground bar; do not use as signal return

The Mana terminal is the most frequently misunderstood. Mana is not the negative signal conductor; it is the analog reference point that the analog-to-digital converter uses as its 0 V rail. On voltage-measuring ranges Mana and M- are often bonded internally through the measuring range card; on current-measuring ranges they remain isolated and both must be wired. Forcing Mana into a 4-20 mA loop without understanding whether the internal bridge is open or shorted will either create a short across the loop supply or defeat the isolation that the module is designed to provide.

Transducer Topologies: 2-Wire vs 4-Wire

The wire count of a transducer describes how it sources its output current or voltage relative to the loop power.

2-Wire (Loop-Powered) Transducer

A 2-wire transducer draws its operating current from the same two conductors that carry the 4-20 mA analog signal. Typical examples: pressure transmitters, level probes, pH probes, and temperature transmitters with 4-20 mA output. The transducer regulates its loop current between 4 mA (zero scale) and 20 mA (full scale), and the analog input module must supply 12 to 30 VDC of loop excitation on the same pair. Common part numbers include Siemens SITRANS P pressure series and Rosemount 3051 in 2-wire configuration.

4-Wire (Active) Transducer

A 4-wire transducer has two conductors for its own power supply (typically 24 VDC nominal, sometimes 110/230 VAC) and two separate conductors for the analog output. The output is an active voltage or current source independent of the supply conductors. Typical examples: laboratory-grade pressure calibrators, ultrasonic level meters with separate supply, and most modern radar and Coriolis flowmeters. The transducer acts as a current source whose loop return is bonded to its own power supply negative, not to the analog input module ground.

Module Topologies: 2-Wire vs 4-Wire Connection

Siemens documentation describes the analog input wiring using two connection concepts that map onto the transducer topology. The terms refer to how many conductors run between the transducer and the module terminal block.

Connection Type Signal Conductors to Module Loop Power Source Typical Use
2-wire connection 2 conductors (signal+ and signal-) Provided by AI module or shared 24 V Loop-powered 4-20 mA transmitters
4-wire connection 4 conductors (signal+, signal-, supply+, supply-) External PSU dedicated to transducer Active-output 4-wire transmitters
Note: The "2-wire" / "4-wire" naming in Siemens manuals refers to the wiring topology at the module terminal, not to a sensor internal classification alone. A 4-wire transducer can be wired using a 2-wire connection if its loop power is shared with the signal pair, and a 2-wire transducer can be wired using a 4-wire connection if its loop supply is routed separately through the module. Always confirm with the transducer datasheet which configurations the manufacturer sanctions.

Case 1: 2-Wire Transducer to 2-Wire AI Channel

This is the canonical loop-powered configuration and is the wiring shown on the front page of every SM 331 manual. The transducer, the loop supply, and the analog input all share the same two conductors.

2-Wire Tx Signal+ (loop +) Signal- (loop -) SM 331 Channel M+ M- Mana (n.c.) + - Loop power 24V from module internal supply or shared 24V rail Mana is left open. Internal 250 ohm sense resistor across M+/M-.

Wiring procedure:

  1. Set the channel measuring range card to "D" current position for 4-20 mA (see Getting Started Part 1).
  2. Connect transducer signal+ to terminal M+.
  3. Connect transducer signal- to terminal M-.
  4. Leave Mana unconnected.
  5. Configure HW Config: measuring type = current (4-wire transducer is the source, 2-wire connection means the loop is closed through the module). Siemens HW Config label for this is "Current (4-wire transducer)" even though only two wires land on the module — the "4-wire" label describes the source, not the wiring count.
Verification: With transmitter disconnected, measure 24 VDC across M+ and M-. With transmitter connected, voltage should drop to roughly 12-18 VDC at 4 mA and 8-14 VDC at 20 mA depending on loop load. A reading of 0 V at M+/M- indicates reversed polarity or a shorted transmitter.

Case 2: 2-Wire Transducer to 4-Wire AI Channel

A 4-wire connection on the module side means the module is configured to accept an externally sourced signal; the loop supply is therefore provided by an external 24 VDC PSU rather than the module's internal bridge. The transducer still draws its operating power through the signal pair, so two of the four module-side conductors carry both loop power and signal.

2-Wire Tx 24 VDC PSU +24V 0V SM 331 Channel M+ M- Mana Loop: PSU+ -> Tx+ -> M+; PSU- -> Tx- -> M- Mana tied to PSU 0V at module terminal.

Wiring procedure:

  1. Set the channel measuring range card to current position (B or D depending on module variant).
  2. Run PSU+ to the transducer signal+ terminal.
  3. Run a jumper from the same transducer signal+ terminal into module M+.
  4. Run PSU- to the transducer signal- terminal.
  5. Run a jumper from the same transducer signal- terminal into module M-.
  6. Bond Mana to PSU 0V at the module terminal block to provide the analog reference.
  7. Configure HW Config: measuring type = "Current (2-wire transducer)" if your module supports the explicit selection. For SM 331 AI 8x12 Bit the field reads "2-wire transducer" and the module automatically switches its internal burden resistor configuration.
Caution: If Mana is not bonded to the PSU 0V, the channel will float and the reading will drift with temperature and EMI. This is the most common wiring fault in this case.

Case 3: 4-Wire Transducer to 2-Wire AI Channel

A 4-wire transducer has its own dedicated 24 VDC (or AC) supply, and its output is an active current or voltage source. Connecting it into a 2-wire module channel is acceptable when the module is configured for an externally sourced 4-20 mA signal. The transducer's two power conductors land on the power supply; the two signal conductors land on the module's M+ and M-.

4-Wire Tx P+ (24V in) P- (0V in) S+ (signal) S- (return) 24 VDC PSU SM 331 Channel M+ M- Mana (n.c.) Transducer powers itself from PSU; output is active current source into module burden.

Wiring procedure:

  1. Connect transducer P+ to PSU +24 V.
  2. Connect transducer P- to PSU 0 V.
  3. Connect transducer S+ to module M+.
  4. Connect transducer S- to module M-.
  5. Leave Mana unconnected.
  6. Configure HW Config: measuring type = "Current (4-wire transducer)" because the source is active and the module only sees the signal pair.
Caution: Some 4-wire transducers tie their P- and S- together internally. If so, the transducer's PSU return and signal return share the same conductor, and you must NOT bond Mana to that conductor — you will create a ground loop through the analog reference. Verify in the transducer datasheet whether the supply and signal returns are isolated to at least 500 V RMS.

Case 4: 4-Wire Transducer to 4-Wire AI Channel

This is the cleanest configuration because there is full isolation between the transducer power circuit and the analog signal circuit. The transducer is supplied from its own dedicated PSU; the signal pair floats relative to that supply; and the module accepts the floating signal and digitizes it relative to its own analog ground.

4-Wire Tx P+ (isolated) P- (isolated) S+ (floating) S- (floating) Isolated PSU SM 331 Channel M+ M- Mana M (shield) Galvanic isolation between P and S circuits. Mana tied to transducer S- only; no bond to PSU.

Wiring procedure:

  1. Connect transducer P+ and P- to the isolated PSU.
  2. Connect transducer S+ to module M+.
  3. Connect transducer S- to module M-.
  4. Bond module Mana to transducer S- to set the analog reference (only one bond point, at the module).
  5. Bond cable shield to module M terminal; do not bond the shield at the transducer end.
  6. Configure HW Config: measuring type = "Current (4-wire transducer)" or "Voltage" depending on transducer output type.
Best practice: Use a cable with overall foil + braid shield and a separate drain wire. Ground the shield only at the cabinet end on the M terminal. This protects against high-frequency noise while breaking the low-frequency ground loop.

Measuring Range Card and HW Config Settings

For SM 331 AI 8x12 Bit modules (for example 6ES7331-7KF02-0AB0 and 6ES7331-7KB02-0AB0), the hardware configuration is split between a physical measuring range card on the left side of the module and a software setting in HW Config / STEP 7. Both must agree or the module will report a parameterization error.

Card Position Measuring Type Range Module Terminals Used
A Voltage +/- 80 mV (TC, mV) M+, M-, Mana, M
B Voltage +/- 250 mV to +/- 5 V M+, M-, Mana, M
C Voltage +/- 1 V to +/- 10 V M+, M-, Mana, M
D Current (4-wire) 0/4 to 20 mA M+, M- (Mana bonded internally)
E Current (2-wire) 0/4 to 20 mA M+, M-, Mana
F RTD / Resistance Pt100, Pt1000, Ni100, ohms M+, M-, Iconst+, Iconst-

The "E" position is the one to remember for loop-powered 2-wire transmitters: it forces the module to provide the 24 VDC loop excitation internally and bond Mana to M- inside the module. Position "D" accepts an externally powered 4-wire source. Position "C" is for high-level voltage signals where the signal source is referenced to chassis ground (Mana bonded to M- internally).

For the fail-safe F-AI module (6ES7336-1HE00-0AB0 or 6ES7336-4GE00-0AB0) the configuration is done in HW Config under Safety Integrated. The available measurement types are: 0..20 mA, 4..20 mA, and 0..10 V for 6ES7336-1HE00; 0..20 mA, 4..20 mA, +/- 20 mA for 6ES7336-4GE00. There is no measuring range card; the configuration is software-only via PROFIsafe.

Verification Procedure After Wiring

After any of the four wiring cases is completed, perform the following verification steps before commissioning the control program:

  1. De-energize the loop and the module rack.
  2. Measure resistance from M+ to M- with the transmitter disconnected. For 4-20 mA current loops you should read roughly 250 ohm (the SM 331 internal burden). A short indicates a wiring fault; an open indicates a missing burden or a transmitter wired backward.
  3. Re-energize the PSU only; measure open-circuit voltage at the transmitter terminals. For a 2-wire loop expect 17-24 VDC; for a 4-wire loop expect the transducer supply voltage minus internal drop.
  4. Apply a known process input (calibration pressure source, decade box for RTD, or ice bath for thermocouple) and read the raw value in STEP 7 under Monitor/Modify on the PIW address. A 4 mA signal should read approximately 0 in normalized units; a 20 mA signal should read 27648.
  5. For 4-wire voltage transducers, apply 0 V and 10 V and confirm 0 and 27648 respectively. For +/- 10 V bipolar range apply -10 V and confirm -27648.
  6. Check the diagnostic LEDs on the module: SF (group fault) and the per-channel red fault LED should be off. A solid red SF indicates parameterization mismatch between the measuring range card and HW Config.
  7. Verify shield continuity from the cabinet ground bar through the M terminal to the cable shield at the module gland.

Troubleshooting Matrix

Symptom Likely Cause Corrective Action
Reading 7FFF hex / overflow Range card and HW Config mismatch, or signal exceeds 20 mA Verify card position matches the "Measuring type" selection in HW Config; check loop current with clamp meter
Reading 8000 hex / underflow Wire break on 4-20 mA loop, or polarity reversed Measure voltage across M+/M-; reverse polarity if 0 V with transmitter energized
Reading drifts by 50-200 counts over minutes Mana not bonded; floating reference Connect Mana to the appropriate reference as shown in each case above
Reading oscillates with VFD or motor start Shield not grounded; cable run parallel to VFD power cable Bond shield at cabinet end only; reroute cable with 200 mm separation from power conductors
All channels read correctly until PSU cycles, then fail 4-wire transducer's PSU return bonded to Mana; inrush creates ground loop Remove the Mana bond; use isolated PSU for the transducer
Module reports SF immediately after download Wrong measuring range card installed for the channel group Power down, remove card, reposition per the module label, restore power
Channel reads half-scale with transmitter disconnected Mana bonded to M+ instead of M-; signal sees 12 V bias Correct the Mana termination

Field-Commissioning Notes and Edge Cases

Several edge cases appear repeatedly in field service and are worth documenting:

  • HART multiplexers: When a HART multiplexer (for example a Phoenix Contact MACX MCR) is inserted into a 4-20 mA loop, the multiplexer introduces an additional 250 ohm burden. Two burdens in series will drop the available loop voltage below the transmitter's minimum compliance. Confirm the transmitter compliance voltage against the sum of the module burden, multiplexer burden, and wire resistance.
  • Thermocouples on the same module as current inputs: Mixing thermocouple channels (measuring range card position A) with current channels (position D or E) on the same SM 331 AI 8x12 Bit is supported but the module internally multiplexes in groups of two; update time doubles for the mixed group. Plan the update time in HW Config accordingly.
  • F-AI safety diagnostics: When wiring a 4-20 mA transmitter to an F-AI channel, configure the "wire break" diagnostic in HW Config under the Safety Integrated tab. The F-AI applies a periodic test current of ~5 microamp; some 2-wire transmitters with very high loop impedance (above 600 ohm) can misinterpret this test pulse as a wire break and enter their own safe state.
  • Shield termination: The "M" terminal on the SM 331 front connector is internally bonded to the DIN-rail ground spring. Some modules have a removable bridge between Mana and M; if the bridge is installed, leaving Mana open will leave the channel floating even though the shield ground is intact. Confirm bridge position with a continuity meter before energizing.
  • Long cable runs: For cable runs above 200 m on 4-20 mA loops, the wire resistance can become significant. A 24 AWG copper pair at 200 m adds roughly 16 ohm per conductor; at 20 mA that is 0.64 V of drop, which is normally within budget but becomes critical if the transmitter compliance is below 12 V.

Comparison of Common SM 331 Part Numbers

Part Number Resolution Channels Isolation Special Functions
6ES7331-7KF02-0AB0 12 bit + sign 8 Yes (galvanic) Universal; voltage, current, RTD, TC
6ES7331-7KB02-0AB0 12 bit 2 No (non-isolated) Economy variant; voltage and current only
6ES7331-7PF01-0AB0 15 bit 8 Yes High resolution; HART-compatible variant available
6ES7336-1HE00-0AB0 (F-AI) 15 bit 6 Yes Fail-safe (PROFIsafe); SIL 2/3
6ES7336-4GE00-0AB0 (F-AI) 15 bit 6 Yes Fail-safe; +/- 20 mA bipolar input

The non-isolated 6ES7331-7KB02-0AB0 shares Mana across all channels. Wiring a mix of 2-wire and 4-wire transmitters on this module is only possible if all loop commons can be tied together without creating ground loops; in practice this means using only 2-wire loop-powered transmitters with a shared 24 V rail, or only isolated 4-wire transducers. The isolated 6ES7331-7KF02-0AB0 removes this restriction.

References Within the Siemens Manual Set

The following official Siemens documents provide the definitive wiring drawings and configuration procedures referenced throughout this article. Always cross-check the module-specific manual before commissioning because pin assignments vary between module revisions.

What does the Mana terminal do on the Siemens SM 331?

Mana is the analog ground reference used by the ADC inside the SM 331 module. It is not a signal return conductor. On voltage ranges Mana is often bonded internally to M-; on current ranges Mana must be wired to the negative side of the current loop or the reading will drift due to a floating reference.

Can I connect a 4-wire active transducer to a 2-wire module channel?

Yes. The transducer's own 24 VDC supply powers it independently, and the two signal conductors land on the module M+ and M-. Configure HW Config for "Current (4-wire transducer)" and leave Mana unconnected unless the module requires it for the selected range card position.

Why does my 4-20 mA reading show 7FFF hex overflow?

7FFF indicates the input is above the configured range. The most common causes are mismatched measuring range card position and HW Config selection, or the transmitter output actually exceeds 20 mA due to a calibration error. Verify the card position (D for 4-wire current, E for 2-wire current on SM 331 AI 8x12 Bit) matches the "Measuring type" in HW Config.

Where do I connect the cable shield on a Siemens analog input?

Bond the shield to the M terminal on the SM 331 front connector only at the cabinet end. Do not bond the shield at the transducer end. The M terminal is internally connected to the DIN-rail grounding spring. For multi-conductor shielded cable, isolate individual pair shields and bond them only at the module side.

What is the difference between F-AI 6ES7336-1HE00 and 6ES7336-4GE00?

The 6ES7336-1HE00-0AB0 supports 0/4..20 mA and 0..10 V inputs with PROFIsafe protocol for safety applications up to SIL 2/3. The 6ES7336-4GE00-0AB0 adds bipolar current inputs (+/- 20 mA) and is used when the safety function must monitor direction-sensitive signals such as valve position feedback.

Back to blog