Reading 4-20mA Sensor with LOGO! 6ED1052-1HB00-0BA6 0-10V Input

David Krause17 min read
PLC HardwareSiemensTutorial / 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

Overview

The Siemens LOGO! 6ED1052-1HB00-0BA6 is a logic module from the LOGO! 8 generation family whose on-board analog inputs are rated 0–10 V only. Field instrumentation, however, overwhelmingly uses the 4–20 mA current loop because it tolerates long cable runs, provides live-zero fault detection (3.6 mA / 21 mA NAMUR NE 43 limits), and can power two-wire transmitters over the same pair. Bridging these two worlds requires either an active signal conditioner, the AM2 / AM2 RTD expansion module, or — when no module is available — a single precision resistor that converts the loop current into a voltage that fits inside the LOGO! 0–10 V window.

This reference documents the resistor-drop method in full detail: how to choose the resistor value, why the popular 250 Ω suggestion does not work on a 0–10 V input, how to wire two-wire loop-powered and four-wire active transmitters, and how to map the resulting voltage back to engineering units inside LOGO! Soft Comfort. It applies to the following base modules:

  • 6ED1052-1MD00-0BA5 / 6ED1052-1CC00-0BA5 (LOGO! Basic, 0BA5)
  • 6ED1052-2MD00-0BA5 / 6ED1052-2CC00-0BA5 (LOGO! Pure, 0BA5)
  • 6ED1052-1MD00-0BA6 / 6ED1052-1CC00-0BA6 (LOGO! Basic, 0BA6)
  • 6ED1052-2MD00-0BA6 / 6ED1052-2CC00-0BA6 (LOGO! Pure, 0BA6)

The 0BA6 firmware exposes the additional analog channels Ai3 / Ai4 on terminals I1 and I2, which the older 0BA5 generation does not. This matters when you need more than two analog channels without adding an AM2 expansion. Refer to the Siemens Industry Online Support portal for the LOGO! 8 system manual and the LOGO! Soft Comfort V8.x help system for the latest signal conditioning blocks.

Prerequisites

Item Specification Notes
LOGO! base module 6ED1052-1HB00-0BA6 (or compatible -0BA5 / -0BA6 variant) 12/24 V DC powered units only. 230 V AC units cannot accept DC sensor signals on the same inputs
Current-output sensor 4–20 mA, two-wire or four-wire Compliance voltage must be greater than or equal to V_supply − (10 V + V_loop_drop)
Sense resistor 500 Ω, 0.1 % tolerance, ≤ 25 ppm/°C, ≥ 0.5 W See resistor selection section below
24 V DC supply Class 2 / SELV, ≥ 50 mA spare LOGO! internal 24 V sensor supply can power the loop if budget allows
LOGO! Soft Comfort V8.x or newer Required for analog amplifier / threshold trigger / scaling blocks
Multimeter 0–30 V DC and 0–30 mA ranges, ±0.5 % Used to verify current and resulting voltage during commissioning
Safety: De-energize the LOGO! base module and the 24 V DC supply before inserting or removing any sensor wiring. The on-board analog inputs I1, I2, I7 and I8 share a common reference (M) that is internally tied to the 24 V DC negative rail on -1MD / -1CC variants. Mixing sensor commons from different power sources can produce ground loops that bias the analog reading.

Electrical Theory: 4–20 mA to 0–10 V Conversion

Ohm's law governs the conversion: V = I × R. With a 4–20 mA loop and a fixed resistor R, the voltage developed across the resistor is:

  • At 4 mA: V_min = 0.004 × R
  • At 20 mA: V_max = 0.020 × R
  • Span: V_span = 0.016 × R

The receiving LOGO! input accepts 0–10 V. Three practical resistor choices exist:

Resistor R V at 4 mA V at 20 mA V span Fits LOGO! 0–10 V? Notes
250 Ω 1.0 V 5.0 V 4.0 V Yes, only the bottom half Discards the upper 50 % of ADC range and halves effective resolution
500 Ω 2.0 V 10.0 V 8.0 V Yes, full scale Recommended. Spans 20–100 % of ADC range and preserves live-zero
250 Ω + active amplifier 1.0 V 5.0 V 4.0 V After gain of 2 → 2–10 V Use only when sensor loop compliance forbids 500 Ω

The widely cited 250 Ω resistor (the legacy '250 Ω sense resistor' for 1–5 V HART receivers) is wrong for a LOGO! 0–10 V input because it produces only 1–5 V, leaving the upper five volts of the ADC range unused. The 250 Ω value is a leftover from 1–5 V instrumentation, where the standard is 4–20 mA across 250 Ω = 1–5 V. On a 0–10 V ADC you must use 500 Ω so that the live-zero point (4 mA) lands at 2 V and full-scale (20 mA) lands at 10 V.

Power dissipation in the resistor at full scale is:

P = I² × R = (0.020)² × 500 = 0.20 W

A 0.5 W metal-film part gives a 2.5× safety margin. A standard 1/4 W carbon-film resistor is mechanically acceptable but introduces ±5 % initial tolerance and ~250 ppm/°C drift that will show up as a wandering analog reading once the cabinet warms up.

Quantization and Resolution

The on-board analog channels on the 6ED1052-1HB00-0BA6 are 10-bit successive-approximation converters with a 0–10 V input range, yielding a least-significant bit (LSB) of:

LSB = 10 V / 1024 = 9.77 mV

With the 500 Ω resistor the sensor 4 mA step maps to 8 mV at the resistor, which is below one LSB; in practice the sensor will sit between two counts near the bottom of the range, and LOGO! Soft Comfort's hysteresis function on the analog amplifier is required to prevent the output from toggling between adjacent engineering values. For a temperature loop, a 0.5 °C dead-band is typical.

Effective resolution after mapping the 4–20 mA signal to 2–10 V is 8 V / 1024 = 7.81 mV per count. For a 0–100 °C PT100-style transmitter this is 0.098 °C per count, which is acceptable for most HVAC applications but borderline for laboratory work — switch to the AM2 RTD module 6ED1055-1MD00-0BA0 in that case.

Resistor Selection Criteria

Avoid standard 1/4 W carbon-film resistors from the local electronics shop. The reading drift caused by self-heating and ambient temperature change is the single most common field complaint with this circuit. Specify:

  • Value: 500.0 Ω exactly. Do not substitute 470 Ω, 510 Ω or 560 Ω.
  • Tolerance: ≤ 0.1 % (100 ppm). 0.01 % parts exist but are unnecessary.
  • Temperature coefficient: ≤ 25 ppm/°C. 5 ppm/°C (Vishay Z-Foil or similar) is recommended when the cabinet runs above 40 °C.
  • Power rating: ≥ 0.5 W at 70 °C ambient.
  • Construction: Metal film, axial or SMD with leads. Wire-wound resistors introduce stray inductance that can resonate with sensor cable capacitance.
Why 'exact' matters: 500 Ω with 1 % tolerance can produce 495–505 Ω. At 20 mA that swings the full-scale voltage between 9.90 V and 10.10 V. The LOGO! input clips at 10 V, so a high resistor silently caps your sensor range, while a low resistor silently shifts the upper engineering-unit limit. Both effects introduce a non-linear gain error that you cannot trim out with the analog amplifier block, because the amplifier only adjusts gain and offset of the digital count, not the analog front end.

Identifying the 0BA6 Analog Inputs

The 0BA6 family supports four on-board analog channels instead of the two found on 0BA5:

Channel Terminal Type on -0BA6 Range Resolution
Ai1 I7 Voltage 0–10 V 10-bit (0–1000)
Ai2 I8 Voltage 0–10 V 10-bit (0–1000)
Ai3 I1 Voltage 0–10 V 10-bit (0–1000)
Ai4 I2 Voltage 0–10 V 10-bit (0–1000)

On the 6ED1052-1HB00-0BA6 specifically (the LOGO! 8 module), inputs I1–I8 are still selectable as digital 24 V inputs. When the program references Ai1–Ai4, LOGO! Soft Comfort automatically routes the corresponding terminal to the analog path. There is no configuration switch or jumper. Refer to the LOGO! 8 system manual on the Siemens Industry Online Support portal for the full I/O list.

Wiring a 4-Wire (Active) 4–20 mA Sensor

4-Wire Sensor+Vs ─────┐−Vs ─────┐I+ ──┐ │I− ───┴───┘500 Ω Resistor┌──///──┐└─────────┘LOGO! AII7 / I8 /I1 / I2M+24V DC0V DC

A four-wire sensor has dedicated power terminals (often labelled +Vs / −Vs or V+ / V−) and dedicated signal terminals (often labelled I+ / I− or Sig+ / Sig−). The transmitter actively sources the loop current; the receiver only has to provide a return path.

  1. Connect sensor +Vs to the +24 V DC supply.
  2. Connect sensor −Vs to the supply negative (and to LOGO! M terminal).
  3. Connect sensor I+ to one end of the 500 Ω resistor and to the LOGO! analog input (I7 = Ai1, I8 = Ai2, I1 = Ai3 or I2 = Ai4).
  4. Connect the other end of the resistor to LOGO! M (the common terminal paired with the input you used).

Resulting loop: 24 V → +Vs → internal regulator → I+ → 500 Ω resistor → M → −Vs → supply negative. Current flows from the sensor through the resistor back to the sensor. The voltage measured at I7 / I8 / I1 / I2 with respect to M is the resistor drop: 2.0 V at 4 mA, 10.0 V at 20 mA.

Polarity: Reversing I+ and I− on a four-wire sensor can destroy the output stage if it is not reverse-polarity protected. Verify with a multimeter on the current setting before applying power to the LOGO! input.

Wiring a 2-Wire (Loop-Powered) 4–20 mA Sensor

2-Wire Sensor+ ──┐− ───┴───┘500 Ω Resistor┌──///──┐└─────────┘LOGO! AII7 / I8 /I1 / I2M+24V DC0V DC

A two-wire sensor receives its operating power from the same two wires that carry the 4–20 mA signal. The supply must therefore provide both the sensor electronics current and the loop current, which adds in series. Typical compliance voltage required is 12–30 V DC depending on the sensor.

  1. Connect +24 V DC to the sensor's positive terminal.
  2. Connect the sensor's negative terminal to the LOGO! analog input (I7 = Ai1, I8 = Ai2, I1 = Ai3 or I2 = Ai4).
  3. Connect one end of the 500 Ω resistor to the same analog input terminal.
  4. Connect the other end of the 500 Ω resistor to LOGO! M (common).

Resulting loop: 24 V → sensor + → sensor − → I7 / I8 / I1 / I2 → 500 Ω → M → supply negative. The full loop current passes through the resistor; the LOGO! input is high-impedance and draws no current. Voltage at the input is again 2.0–10.0 V.

Maximum loop resistance: Many two-wire transmitters specify a maximum loop resistance at 24 V supply — often 250 Ω or 600 Ω. Check the sensor datasheet. If the maximum is below 500 Ω, use the AM2 / AM2 RTD expansion (which accepts 0/4–20 mA directly) instead of the resistor trick.

LOGO! Soft Comfort Scaling Procedure

The raw analog count from the on-board input is 0–1000 for 0–10 V. With the 500 Ω resistor, the sensor's 4 mA maps to 200 counts and 20 mA maps to 1000 counts. To recover engineering units, use the Analog Amplifier (B036) or Mathematical Instruction with the linear formula:

Engineering = ((Raw − 200) / 800) × (E_max − E_min) + E_min

Example 1 — Pressure transmitter 0–10 bar at 4–20 mA:

Pressure_bar = ((Raw − 200) / 800) × 10

Example 2 — Temperature transmitter −20 to +150 °C at 4–20 mA:

Temp_C = ((Raw − 200) / 800) × 170 − 20

In FBD programming mode, drag an Analog Amplifier block onto the worksheet, connect the analog input (I7 / Ai1, etc.) to its input, and set:

  • Sensor type: 0–10 V
  • Sensor min: 200 (corresponds to 4 mA)
  • Sensor max: 1000 (corresponds to 20 mA)
  • Parameter min: −20 (or your E_min)
  • Parameter max: 150 (or your E_max)
  • Gain: 1.00
  • Offset: 0

The block output is the scaled engineering value, ready to feed a threshold trigger, message text, display block, or TDE / HMI tag.

For a NAMUR NE 43 fault-detection check, add a parallel Threshold Trigger block configured to flag any reading below 184 counts (3.68 mA) or above 1020 counts (20.4 mA). This catches broken-wire and shorted-loop conditions within one program scan.

Alternative: AM2 Analog Expansion Module

If the sensor's maximum loop resistance is below 500 Ω, or if you need four-wire RTD / thermocouple inputs, install an AM2 module rather than use the resistor method:

Order number Function Channels Range
6ED1055-1MA00-0BA0 AM2 analog input 2 0–10 V or 0/4–20 mA (DIP switch selectable per channel)
6ED1055-1MD00-0BA0 AM2 RTD / TC 2 PT100 / PT1000, J / K type TC
6ED1055-1MM00-0BA0 AM2 RTD (Pt1000 / Ni1000) 2 Pt1000, Ni1000

Set the DIP switches on the AM2 to the 0/4–20 mA position. Wire the sensor positive to AM2 terminal I1+ or I2+, and the negative to M. No external resistor is needed. The AM2 returns 0–1000 counts for 0/4–20 mA, depending on the live-zero configuration you choose in the software.

Common Pitfalls and Errors

  • Using 250 Ω because 'that's the standard sense resistor'. That standard applies to 1–5 V receivers, not 0–10 V. Always use 500 Ω on the LOGO! 0–10 V input.
  • Referencing I7 as a digital input in the program. When I7 is used as a digital input in any rung, the analog path is disabled. Use the Ai1 block connector exclusively.
  • Connecting the resistor between I7 and M but not breaking the ground return. If the sensor and LOGO! share a common ground elsewhere (e.g., through the 24 V return), the resistor is bypassed and the input reads 0 V regardless of sensor output.
  • Substituting a 1/4 W carbon-film resistor. Self-heating and ambient drift will move the reading by 1–3 % over an hour.
  • Forgetting the live-zero offset in software. Mapping raw 0–1000 counts to engineering 0–100 % without the (Raw − 200) / 800 step gives 4 mA = 20 % error, not zero.
  • Sharing the LOGO! 24 V sensor supply across many loops. Each 20 mA loop draws 0.020 A. The LOGO! 24 V output is typically limited to 200 mA; budget for the sum of all loop currents plus the sensor quiescent draws.
  • Exceeding the sensor's maximum loop load. A 500 Ω drop + sensor minimum compliance (often 12 V) requires at least 22 V supply. At 24 V you have 2 V margin; at lower supplies the loop will not reach 20 mA.

Troubleshooting Matrix

Symptom Likely cause Verification Fix
Reading always 0 Sensor not powered; broken wire Measure mA in series with resistor Check 24 V at sensor terminals; check polarity
Reading pegs at 1000 (10 V) Resistor shorted; sensor output at 20 mA but wiring wrong Measure voltage across resistor Inspect resistor, replace if shorted
Reading pegs at 200 (2 V) only Sensor live-zero is 4 mA but program expects 0 mA Check sensor datasheet Use 4 mA → 200 count mapping, not 0 mA → 0 count
Reading drifts ±50 counts over 10 minutes Resistor temperature coefficient too high; cold junction on cold start Read voltage at resistor terminals during warm-up Replace carbon-film 1/4 W with 25 ppm/°C metal film
Reading non-linear Resistor value wrong (e.g., 470 Ω used) Measure resistance with multimeter Install 500.0 Ω ±0.1 % part
Sensor output current incorrect Sensor compliance voltage exceeded by 500 Ω drop Check sensor datasheet max loop R at 24 V Switch to AM2 expansion or use higher supply voltage
LOGO! displays 'AI error' or sensor line shows open Input mapped to digital I7 instead of analog Ai1 Inspect program, ensure I7 is referenced as analog Use Ai1 / Ai2 / Ai3 / Ai4 symbol in the program block
Reading half of expected value Two sensors in series on one input, or 250 Ω used Measure resistor value, trace wiring Use a single 500 Ω resistor per channel
Reading stable but wrong polarity (e.g., 950 counts when sensor at 4 mA) Sensor I+ and I− reversed on a passive input stage Measure polarity with DMM Swap the two signal wires

Verification Procedure

  1. Power up the LOGO! with the sensor disconnected. Confirm input reads 0 counts.
  2. Connect a precision 4 mA current source (or a calibrator) to the input terminals. Confirm reading is 200 ±5 counts.
  3. Apply 12 mA. Confirm reading is 600 ±5 counts.
  4. Apply 20 mA. Confirm reading is 1000 ±5 counts (or 999 with 0.5 % tolerance).
  5. Disconnect the calibrator and connect the actual sensor. With sensor at zero process variable, confirm reading matches sensor datasheet live-zero (typically 4 mA → 200 counts).
  6. Apply a known process variable (e.g., 5 bar with a 0–10 bar transmitter). Confirm LOGO! displays 5 bar ±0.1 bar after scaling.
  7. Leave the system powered for 1 hour; re-check reading at the same process variable. Drift should be ≤ 0.2 % of full scale (≤ 2 counts for 10-bit resolution).
  8. Simulate a broken wire by disconnecting the sensor signal lead. Confirm the NAMUR NE 43 threshold trigger block activates within one scan.

Field-Commissioning Notes

  • Wire the resistor inside the LOGO! cabinet on a terminal block, not on the sensor head. Vibration and temperature on the sensor head accelerate drift on cheap resistors.
  • Use shielded twisted-pair cable (e.g., Belden 8761 or equivalent) for runs over 3 m. Ground the shield at the LOGO! cabinet end only; floating the shield at the sensor end invites common-mode noise.
  • When two or more sensors share the LOGO! M terminal, run each loop's return wire back to M independently. Daisy-chained returns add resistance that shifts the calibration.
  • If the cabinet temperature exceeds 50 °C, derate the resistor by 50 % or specify a 1 W metal-film part. Reference Vishay CMF55 or Yageo MFR-25FBF52 series for confirmed 25 ppm/°C and 0.1 % tolerance at 1 W.
  • For HART-compatible transmitters, the 500 Ω resistor is also the HART communication burden. Verify the transmitter supports 500 Ω minimum load before commissioning; otherwise HART data will not pass through.
  • When using the LOGO! on-board 24 V sensor supply (terminal U+ / U−), confirm the supply can source the loop current plus all other sensor loads. The 6ED1052-1MD00-0BA6 supplies 200 mA; a single 20 mA loop uses 10 % of the budget.

Related Module Variants

The 6ED1052-1HB00-0BA6 is the LOGO! 8 (0BA8) generation. Earlier and later modules follow the same analog input rules but with different MLFB suffixes:

MLFB Generation Analog inputs On-board range
6ED1052-1MD00-0BA5 LOGO! 7 (0BA5) I7, I8 only 0–10 V
6ED1052-1MD00-0BA6 LOGO! 7 (0BA6) I1, I2, I7, I8 0–10 V
6ED1052-1CC00-0BA6 LOGO! 7 (0BA6) I1, I2, I7, I8 0–10 V
6ED1052-2MD00-0BA6 LOGO! Pure (0BA6) I1, I2, I7, I8 0–10 V
6ED1052-1HB00-0BA6 LOGO! 8 (0BA8) I1–I8 0–10 V (AI on I1, I2, I7, I8)
6ED1055-1MA00-0BA0 AM2 expansion 2 0–10 V / 0–20 mA / 4–20 mA

For LOGO! 8 (0BA8) modules, the analog resolution is 12 bits (0–4095 counts) instead of 10 bits (0–1000), giving 4× the resolution and 2.4 mV per LSB. The same 500 Ω resistor and (Raw − 819) / 3276 scaling formula applies with the new count range.

FAQ

Why does a 250 Ω resistor not give the full 0–10 V signal from a 4–20 mA loop?

250 Ω × 20 mA = 5 V. The upper half of the LOGO! 0–10 V analog input range (5–10 V) is never used, so resolution is halved. Use 500 Ω instead, which gives 2 V at 4 mA and 10 V at 20 mA, occupying the full ADC range.

Which on-board inputs of the LOGO! 6ED1052-1HB00-0BA6 can read the resistor voltage?

I7 / I8 map to Ai1 / Ai2, and on the 0BA6 generation I1 / I2 also map to Ai3 / Ai4. All four accept 0–10 V. The on-board inputs are voltage-only; for 0/4–20 mA directly you need the AM2 expansion module 6ED1055-1MA00-0BA0.

Does the sensor loop still work if the LOGO! 24 V sensor supply is shared with another load?

Yes, but check the total current budget of the LOGO! 24 V output (typically 200 mA for 0BA6 base modules) and ensure the supply voltage at the sensor terminals does not sag below the sensor's minimum compliance voltage under full load.

Can I use the resistor trick on 230 V AC-powered LOGO! variants like 6ED1052-1FB00-0BA6?

Only the 12/24 V DC variants (order suffix MD00 or CC00) have 0–10 V capable inputs. AC variants expose only digital inputs; connecting a 4–20 mA loop to them will either read 0 or damage the input. Use a 24 V DC-powered base module.

What tolerance resistor is good enough for production use?

0.1 % (100 ppm) metal film with ≤ 25 ppm/°C temperature coefficient. Wire-wound resistors are rejected because they introduce inductive pickup. Avoid 1 % carbon-film parts because self-heating from 0.2 W dissipation produces a measurable shift after a few minutes in a closed cabinet.

How do I detect a broken wire or shorted sensor?

Add a Threshold Trigger block set below 184 counts (3.68 mA NAMUR NE 43 low) and another above 1020 counts (20.4 mA NE 43 high). Any reading outside that window flags a fault, which can drive a LOGO! message, an alarm relay, or a flag bit on the LOGO! TD display.

Will the 500 Ω resistor load a HART transmitter too heavily?

Most HART transmitters specify a minimum loop resistance of 230–250 Ω and tolerate 600 Ω or more. 500 Ω sits in the middle of the supported range and passes the 1200 Hz / 2200 Hz HART FSK signal without attenuation. Confirm the transmitter's loop-compliance chart if the supply is below 24 V.

Back to blog