S7-1200 Analog Input Modules: 6ES7231 Selection & Wiring Guide


By Abdullah Zahid
17 min read

Siemens SIMATIC S7-1200 SM 1231 6ES7231 analog input module mounted on DIN rail in industrial panel

SIMATIC S7-1200 SM 1231 Analog Input Modules: Complete 6ES7231 Selection and Wiring Guide

Controls engineers finalizing I/O hardware for a SIMATIC S7-1200 system face a consistent decision point: which SM 1231 analog input module belongs in this panel, and how does it get wired correctly the first time? The 6ES7231 product family covers four distinct variants — the SM 1231 AI 4 x 13 bit, SM 1231 AI 8 x 13 bit, SM 1231 AI 4 x 16 bit, and the SM 1231 RTD analog signal module — each with different channel counts, resolution classes, and supported input ranges that directly affect measurement accuracy, wiring complexity, and hardware cost. Getting the selection right before ordering saves commissioning time and avoids the rework that comes from discovering an undersized or mismatched module after panel build.

If you have already identified the catalog number you need, check current pricing and availability for the 6ES7231 family at LeadTime.ca — ships worldwide.

Which SM 1231 Analog Input Module Is Right for Your System?

The SM 1231 analog input module family fits S7-1200 systems where voltage, current, or RTD sensor signals need to be read directly into the controller without a separate signal converter. This guide is most useful if you meet one or more of the following criteria:

  • You need between 1 and 8 analog input channels for voltage (±10 V, ±5 V, ±2.5 V, or ±1.25 V on the 16-bit variant) or current (0–20 mA, 4–20 mA) signals
  • You require direct RTD temperature measurement using Pt100, Pt1000, or similar sensors in a 2-, 3-, or 4-wire configuration
  • Your application demands 13-bit resolution for standard process measurements, or 16-bit class resolution for precision or low-level voltage signals
  • Cable runs to field sensors are up to 100 m using twisted, shielded cable per Siemens specifications
  • You are designing a new S7-1200 system, expanding an existing one, or retrofitting from another platform
  • You need broken-wire diagnostics on 4–20 mA loops and want built-in module-level fault detection

If your application requires analog output capability or distributed I/O over PROFINET rather than local backplane modules, a different product family is the correct fit. For mixed analog I/O, SM 1232 analog output modules can be combined on the same S7-1200 rail alongside the SM 1231 inputs.

On this page:

What the SM 1231 Analog Input Modules Do in an S7-1200 System

The SIMATIC S7-1200 is Siemens' compact modular PLC platform for machine control and small process applications. While the S7-1200 CPU includes a small number of onboard analog inputs, most real-world projects require more channels, higher resolution, or specialized sensor support that the onboard inputs do not provide. The SM 1231 analog input signal modules plug directly into the S7-1200 backplane rail and extend the CPU's analog capability without requiring a separate fieldbus or remote I/O infrastructure.

All SM 1231 AI variants use differential inputs — each channel has a dedicated plus and minus terminal — which improves common-mode noise rejection compared to single-ended designs. Voltage and current input types are selectable, but the selection happens in groups of two channels rather than individually per channel. This grouping constraint is a configuration detail engineers need to plan around when mixing voltage and current signals on the same module. The RTD variant operates differently, with dedicated RTD-specific input circuitry and support for 2-, 3-, and 4-wire sensor connections that the standard AI variants cannot handle.

Resolution class is the other key differentiator within the family. The 13-bit variants deliver measurement resolution adequate for standard process transmitters measuring pressure, level, or flow. The 16-bit class variants — both the SM 1231 AI 4 x 16 bit and the SM 1231 RTD — offer finer resolution and an additional ±1.25 V input range on the AI variant, making them appropriate for low-level voltage signals or temperature measurements where small differences matter. The temperature resolution of the RTD module is typically 0.1 °C or 0.1 °F, a specification that comes directly from Siemens RTD module documentation.

Where SM 1231 Modules Sit in a Typical S7-1200 System

The SM 1231 module sits between the field instrument and the S7-1200 CPU in the signal chain, converting analog sensor signals into digital values the CPU reads at each scan cycle via the backplane.

  • Field sensors and transmitters (pressure, level, flow, temperature) output voltage or current signals, or in the case of RTDs, a resistance that changes with temperature
  • Twisted, shielded cable carries those signals from the field junction box or sensor head to the panel terminal strip, with runs of up to 100 m per Siemens specifications
  • The SM 1231 module connects to the sensor wiring at its terminal block, where differential plus and minus terminals, current sense resistors, or RTD input circuitry condition the incoming signal
  • The module communicates converted digital values to the S7-1200 CPU via the backplane connector, appearing as IW (input word) addresses in the TIA Portal hardware configuration
  • The CPU program reads those IW values, applies analog scaling functions to convert raw counts to engineering units, and uses the results in control logic or SCADA data

Typical Applications and Deployment Scenarios

Level and pressure measurement using 4–20 mA transmitters represents the most common use case for the SM 1231 AI 4 x 13 bit and SM 1231 AI 8 x 13 bit modules. A standard hydrostatic level transmitter or pressure transducer outputs a 4–20 mA signal scaled to its measurement range, and the module reads it directly with no external signal converter needed. The 13-bit resolution is more than adequate for these measurements in manufacturing, packaging, and water or wastewater applications.

Flow measurement using differential pressure transmitters or electromagnetic flow meters with 4–20 mA or 0–10 V outputs fits the same two standard AI variants. Compact process skids with six to eight analog loops are the natural fit for the 8-channel variant, which consolidates all signals onto a single module and reduces wiring complexity versus two 4-channel modules.

Temperature monitoring using RTD sensors is a distinct use case handled by the SM 1231 RTD analog signal module (6ES7231-5PD30-0XB0). Food and beverage, pharmaceutical, and HVAC applications where multiple Pt100 or Pt1000 sensors need to be read directly — without external temperature transmitters — benefit from the RTD module's dedicated input circuitry and 0.1 °C resolution. The module supports 2-, 3-, and 4-wire wiring schemes, allowing engineers to use whichever RTD wiring approach matches their sensor and cable infrastructure.

High-precision or low-level voltage measurement, such as reading outputs from load cells, strain gauge amplifiers, or laboratory instrumentation with ±1.25 V or similar small output ranges, calls for the SM 1231 AI 4 x 16 bit (6ES7231-5ND32-0XB0). The additional ±1.25 V input range is only available on this variant and cannot be configured on the 13-bit modules.

Position and distance sensing using analog output transducers — laser distance sensors, linear potentiometers, or LVDT signal conditioners — can be connected to any of the standard AI variants depending on output type and required accuracy.

Application Typical Deployment
Small machine with 2–4 pressure or level transmitters SM 1231 AI 4 x 13 bit (6ES7231-4HD32-0XB0), one spare channel for future use
Compact process skid with 6–8 analog loops SM 1231 AI 8 x 13 bit (6ES7231-4HF32-0XB0), single module consolidates all signals
Temperature monitoring with multiple RTD sensors SM 1231 RTD (6ES7231-5PD30-0XB0), 2-, 3-, or 4-wire RTD wiring per sensor type
High-precision low-voltage measurement (test rig, QA station) SM 1231 AI 4 x 16 bit (6ES7231-5ND32-0XB0), ±1.25 V range with 16-bit resolution
Mixed application with transmitters and RTDs on one CPU SM 1231 AI 4 x 13 bit for transmitters + SM 1231 RTD for temperature sensors
Long cable runs to remote field sensors near motors or VFDs Any SM 1231 AI variant using current inputs; 4–20 mA loops up to 100 m with shielded cable

Key Specifications and 6ES7231 Variant Comparison

Specification SM 1231 AI 4 x 13 bit SM 1231 AI 8 x 13 bit SM 1231 AI 4 x 16 bit SM 1231 RTD
Catalog number 6ES7231-4HD32-0XB0 6ES7231-4HF32-0XB0 6ES7231-5ND32-0XB0 6ES7231-5PD30-0XB0
Number of inputs 4 8 4 4
Resolution 13-bit 13-bit 16-bit class (15 bits + sign) 16-bit class (15 bits + sign)
Voltage ranges ±10 V, ±5 V, ±2.5 V ±10 V, ±5 V, ±2.5 V ±10 V, ±5 V, ±2.5 V, ±1.25 V RTD / resistance only
Current ranges 0–20 mA, 4–20 mA 0–20 mA, 4–20 mA 0–20 mA, 4–20 mA RTD / resistance only
Input type Differential voltage or current Differential voltage or current Differential voltage or current RTD (Pt100, Pt1000 and similar)
RTD wiring schemes Not supported Not supported Not supported 2-, 3-, and 4-wire
Temperature resolution Not applicable Not applicable Not applicable 0.1 °C / 0.1 °F
Max cable length Up to 100 m (twisted, shielded) Up to 100 m (twisted, shielded) Up to 100 m (twisted, shielded) Up to 100 m (twisted, shielded)
Channel type selection Voltage or current in groups of 2 Voltage or current in groups of 2 Voltage or current in groups of 2 RTD type per channel

Full technical specifications are available on the product page at LeadTime.ca.

Application Need Signal Type Recommended Module Key Reason
Up to 4 general analog transmitters 4–20 mA or 0–10 V SM 1231 AI 4 x 13 bit (6ES7231-4HD32-0XB0) Enough channels with one spare, standard resolution, compact and cost-effective
Up to 8 general analog transmitters 4–20 mA or 0–10 V SM 1231 AI 8 x 13 bit (6ES7231-4HF32-0XB0) Single module covers all channels, simplifies wiring versus two smaller modules
High-precision or low-level voltage measurement ±1.25 V, low-level voltage SM 1231 AI 4 x 16 bit (6ES7231-5ND32-0XB0) 16-bit class resolution and ±1.25 V range unavailable on 13-bit variants
Direct RTD temperature measurement RTD sensors (Pt100, Pt1000) SM 1231 RTD (6ES7231-5PD30-0XB0) RTD-specific input circuitry, 2/3/4-wire wiring, 0.1 °C resolution

If your loop count has grown beyond four channels and a single 8-channel module would simplify the panel, check current availability of the SM 1231 AI 8 x 13 bit at LeadTime.ca before finalizing your BOM.

Expert Selection Verdict: Which 6ES7231 Variant Do You Actually Need?

The SM 1231 family is well-matched to the S7-1200's role as a compact machine controller — the modules are easy to configure in TIA Portal, reliable in industrial environments, and cover the signal types that appear in the vast majority of compact automation projects. For most engineers specifying a new S7-1200 system, the selection comes down to channel count first and resolution second. If your project has between five and eight standard voltage or current loops — pressure, flow, level, or position transmitters — the SM 1231 AI 8 x 13 bit (6ES7231-4HF32-0XB0) is the practical choice. One module handles all channels, reduces module slot usage, and simplifies IW address mapping in TIA Portal. If you have four or fewer loops and no expectation of growth, the SM 1231 AI 4 x 13 bit (6ES7231-4HD32-0XB0) keeps cost and panel space down without sacrificing any capability that standard process transmitters require.

There are two situations where the standard 13-bit variants are genuinely the wrong choice. First, when you need to read low-level voltage signals in the ±1.25 V range — from load cell amplifiers, bridge circuits, or precision instrumentation — only the SM 1231 AI 4 x 16 bit (6ES7231-5ND32-0XB0) provides that input range along with 16-bit class resolution. Choosing the 16-bit module purely because higher resolution sounds better, without an actual measurement requirement that warrants it, does add cost and reduces the available input ranges benefit to zero. Second, when you have RTD sensors and want to connect them directly without external temperature transmitters, the SM 1231 RTD (6ES7231-5PD30-0XB0) is the right module. Attempting to read RTD resistance through a standard AI variant is not supported — the RTD module's dedicated input circuitry and 0.1 °C temperature resolution make it the only correct choice for that sensor type.

From a procurement standpoint, the SM 1231 AI 4 x 13 bit and 8 x 13 bit variants are the most commonly stocked 6ES7231 modules through industrial distributors globally, which typically means shorter lead times for standard projects. The SM 1231 AI 4 x 16 bit and SM 1231 RTD modules may carry longer lead times depending on current inventory levels, so confirming availability early in your project timeline is worth doing before committing your BOM. Check current pricing and availability for all 6ES7231 variants at LeadTime.ca — we ship worldwide and can confirm lead times before you finalize your order.

For volume pricing, project-specific lead time confirmation, or help selecting the right combination of SM 1231 modules for a multi-CPU or multi-panel system, contact the LeadTime.ca team directly — we ship worldwide.

What Engineers Are Asking — and Getting Wrong — When Specifying SM 1231 Modules

Engineers working with the S7-1200 SM 1231 analog modules on forums like PLCTalk, Reddit's r/PLC and r/automation communities, and the Siemens Industry Online Support portal consistently rate these modules as capable and reliable hardware. The positive feedback clusters around ease of integration in TIA Portal, the practical usefulness of differential inputs for standard 4–20 mA transmitters, and the value of broken-wire diagnostics on current loops once they are properly configured. YouTube tutorials covering analog input scaling draw high engagement, which signals that the hardware itself is not the problem — understanding the configuration workflow is where most engineers spend their time.

The recurring friction points are specific and predictable. Addressing confusion tops the list: engineers new to S7-1200 struggle to understand which IW address corresponds to which physical channel, and how to connect those addresses to analog scaling function blocks in ladder or structured text. The second common issue is voltage versus current misconfiguration — leaving a channel set to voltage mode while a 4–20 mA transmitter is connected, or misunderstanding that input type selection happens in groups of two channels rather than individually. A third consistent theme is noise and unstable readings, almost always traced back to shields left unterminated or grounded at both ends rather than at one end per plant standards and Siemens recommendations. None of these are hardware failures; they are configuration and installation details that the right preparation eliminates before commissioning.

Selection-level confusion appears in questions about when to choose the 8 x 13 bit module versus two 4-channel modules, and whether the 16-bit resolution of the 5ND32 variant provides a meaningful real-world benefit in typical process applications versus the 13-bit modules. The honest answer is that for standard 4–20 mA pressure, flow, and level transmitters, 13-bit resolution is adequate. The 16-bit variant earns its place when low-level signals in the ±1.25 V range are in the design. RTD versus analog transmitter selection for temperature is another recurring question — the answer depends on whether you have RTDs in the field already or whether adding a temperature transmitter simplifies your wiring infrastructure.

Wiring Overview for Voltage, Current, and RTD Inputs

  • For voltage inputs (±10 V, ±5 V, ±2.5 V, or ±1.25 V on the 16-bit variant), connect the sensor positive output to the channel plus terminal and the negative or reference output to the minus terminal; use twisted, shielded cable up to 100 m and ground the shield at one end only
  • For current inputs (0–20 mA or 4–20 mA), wire the transmitter loop in series through the module's current input terminals; confirm the loop power supply reference is common to the module reference to avoid offset errors
  • For RTD inputs on the SM 1231 RTD module, follow Siemens wiring diagrams for 2-wire, 3-wire, or 4-wire RTD connections — 3-wire and 4-wire schemes compensate for lead resistance and improve measurement accuracy over long cable runs
  • Leave no voltage input channel floating: short unused voltage input channels at the terminal block per Siemens guidance; for unused current input channels, either set the channel to the 0–20 mA range or disable broken-wire error diagnostics in TIA Portal to prevent false fault messages
  • For RTD modules, Siemens documentation recommends looping back unused RTD input terminals rather than leaving them open, following the module's specific unused-channel guidance in the product manual

Scenario-Based Module Recommendations for Common S7-1200 Projects

Selecting the right 6ES7231 variant is faster when mapped to real project configurations. The following scenarios cover the most common design situations engineers encounter.

Scenario Recommended Module Rationale
Small machine with 3 analog transmitters (pressure, level, temperature via 4–20 mA transmitter) SM 1231 AI 4 x 13 bit (6ES7231-4HD32-0XB0) Covers all 3 signals with one spare channel; 13-bit resolution is adequate for process measurements; compact and cost-effective
Compact process skid with 7 analog loops and potential for expansion SM 1231 AI 8 x 13 bit (6ES7231-4HF32-0XB0) One module handles all 7 signals with one spare; avoids the wiring and slot overhead of two 4-channel modules
High-precision test rig with 4 low-voltage signals (±1.25 V range) SM 1231 AI 4 x 16 bit (6ES7231-5ND32-0XB0) Only 6ES7231 variant with ±1.25 V range; 16-bit class resolution supports lab-grade measurement accuracy
Temperature monitoring with 4 RTD sensors, no external transmitters SM 1231 RTD (6ES7231-5PD30-0XB0) RTD-specific inputs with 2/3/4-wire wiring; 0.1 °C resolution; eliminates transmitter hardware cost and wiring complexity
Mixed system: 4 analog transmitters plus 4 RTD sensors on one S7-1200 CPU SM 1231 AI 4 x 13 bit + SM 1231 RTD Keeps transmitter and RTD signals on appropriate modules; simplifies configuration and diagnostics per signal type
Expanding existing S7-1200 system with 2 new signals, spare slots available SM 1231 AI 4 x 13 bit if limited growth expected; SM 1231 AI 8 x 13 bit if 4+ more signals anticipated Planning spare capacity now avoids module addition and I/O remap costs later
Long cable runs (up to 100 m) to remote sensors near motors or VFDs Any SM 1231 AI variant, prioritizing current inputs for noise immunity 4–20 mA current loops are more resistant to electromagnetic interference than voltage signals over long distances; module supports 100 m runs with shielded cable

Wrong-Part Prevention Checklist for 6ES7231 Analog Input Modules

Before placing your order, verify each of the following points against your project requirements. This checklist reflects the most common causes of module mismatches and commissioning problems on S7-1200 analog input projects.

  1. Confirm the number of required analog channels including spares.
  2. Verify all sensor output types (current vs voltage, RTD) against supported ranges.
  3. Check required resolution versus 13-bit vs 16-bit modules for critical measurements.
  4. Ensure the S7-1200 CPU has sufficient free module slots and backplane current.
  5. Check cable length and shielding requirements for noise-sensitive signals.
  6. Plan wiring for differential inputs (plus/minus terminals) and reference grounds correctly.
  7. Confirm diagnostic requirements such as broken-wire detection for 4–20 mA loops.

If any item on this checklist raises a question about which variant is correct for your application, the LeadTime.ca team can help confirm the right catalog number before you commit to an order. Check current availability for all 6ES7231 variants at LeadTime.ca — ships worldwide.

Frequently Asked Questions

Can I mix voltage and current inputs on the same SM 1231 AI module?

Yes, but not on a per-channel basis. The SM 1231 AI 4 x 13 bit, 8 x 13 bit, and 4 x 16 bit modules allow voltage or current selection in groups of two channels. This means you can have one pair of channels configured for 4–20 mA current and another pair for ±10 V voltage on the same module, but you cannot mix signal types within a single two-channel group. Plan your terminal assignments with this grouping constraint in mind before finalizing your wiring design.

What should I do with unused analog input channels to avoid false diagnostic errors?

Unused voltage input channels should be shorted at the terminal block per Siemens guidance — leaving them open causes floating inputs and erratic readings. For unused current input channels, either configure the channel to the 0–20 mA range or disable broken-wire error reporting in TIA Portal. The SM 1231 RTD module has its own recommendation for unused RTD inputs — consult the Siemens product manual for the correct loop-back wiring approach on that module.

How do I wire a two-wire 4–20 mA transmitter to an SM 1231 AI channel?

A two-wire transmitter draws its operating power from the loop itself. The positive terminal of the loop supply connects to the transmitter's positive terminal, the transmitter's negative terminal connects to the module's current plus input, and the module's current minus input connects back to the negative of the loop supply to complete the circuit. The key detail is that the loop supply reference and the module reference must be common to avoid an offset voltage that causes measurement error. Always verify with a multimeter that the loop reads correctly before relying on the module's digital output for control decisions.

When does 16-bit resolution actually matter versus 13-bit for typical S7-1200 applications?

For standard process transmitters outputting 4–20 mA signals representing pressure, level, or flow over a practical engineering range, 13-bit resolution provides adequate measurement steps for most control applications. The 16-bit class resolution of the SM 1231 AI 4 x 16 bit (6ES7231-5ND32-0XB0) becomes genuinely valuable when reading low-level voltage signals in the ±1.25 V range, where the finer resolution corresponds to smaller physical increments in the measured variable. If your application uses standard transmitters with 4–20 mA outputs and does not require the ±1.25 V range, the 13-bit variants deliver the performance you need at a lower hardware cost.

Is the SM 1231 RTD module the right choice if I only need one or two temperature points?

The SM 1231 RTD (6ES7231-5PD30-0XB0) provides four RTD inputs, so using it for one or two measurement points leaves channels unused. Whether that is the right tradeoff depends on whether you anticipate adding RTD sensors later and whether the alternative — adding an analog temperature transmitter and using a standard SM 1231 AI channel — adds acceptable cost and hardware complexity. If you have three or four RTDs to connect, the dedicated RTD module is clearly the simpler and more accurate solution. For one isolated temperature point, a transmitter paired with an existing SM 1231 AI channel may be more economical.

How many SM 1231 analog input modules can I add to an S7-1200 CPU?

The number of signal modules supported depends on the specific S7-1200 CPU variant in your system. The S7-1200 platform supports a defined maximum number of local signal modules per CPU, and the backplane current budget also limits how many modules can be powered. Rather than quoting a figure that may vary by CPU model, consult the S7-1200 system manual from Siemens or the TIA Portal hardware catalog for the exact limit that applies to your CPU. Planning module count and backplane current budget is one of the checklist items that should be confirmed before ordering any expansion modules.

Why Order From LeadTime.ca

  • LeadTime.ca ships 6ES7231 analog input modules worldwide — no geographic restriction on sourcing
  • All four SM 1231 variants (6ES7231-4HD32-0XB0, 6ES7231-4HF32-0XB0, 6ES7231-5ND32-0XB0, 6ES7231-5PD30-0XB0) can be sourced and quoted through a single specialist contact
  • Current pricing and lead times are visible on the product page — no need to wait for a formal RFQ for standard items
  • Volume pricing and project-based scheduling available by contacting the team directly
  • Specialist distributor experience with S7-1200 system builds means faster answers on compatibility questions and ordering mistakes before they reach your panel

At-a-Glance: SIMATIC S7-1200 SM 1231 Analog Input Module Summary

  • Four 6ES7231 variants: SM 1231 AI 4 x 13 bit (6ES7231-4HD32-0XB0), SM 1231 AI 8 x 13 bit (6ES7231-4HF32-0XB0), SM 1231 AI 4 x 16 bit (6ES7231-5ND32-0XB0), and SM 1231 RTD (6ES7231-5PD30-0XB0)
  • Standard AI variants support voltage ranges of ±10 V, ±5 V, and ±2.5 V; the 16-bit variant adds ±1.25 V; all standard variants support 0–20 mA and 4–20 mA current loops
  • Input type (voltage or current) is selectable in groups of two channels — not individually per channel — on all SM 1231 AI variants
  • 13-bit resolution is adequate for standard 4–20 mA process transmitters; 16-bit class resolution (15 bits plus sign) is required for low-level voltage or precision applications
  • SM 1231 RTD supports 2-, 3-, and 4-wire RTD connections with 0.1 °C / 0.1 °F temperature resolution
  • Maximum cable length for all variants is up to 100 m with twisted, shielded cable per Siemens specifications
  • Unused voltage channels must be shorted; unused current channels should be set to 0–20 mA range or have broken-wire diagnostics disabled to prevent false fault messages
  • All modules connect directly to the S7-1200 backplane rail and appear as IW addresses in TIA Portal hardware configuration

You may also be interested in: