Connecting 4-20 mA Pressure Transmitters to Siemens LOGO! 12 VDC Inputs
The Siemens LOGO! 12/24 RCE and the older 12/24 VDC base modules ship with four onboard analog inputs (AI1–AI4) that are hard-wired for 0–10 VDC. This is convenient when you want to use a 0–10 V pressure transmitter, but most industrial pressure transmitters output 4–20 mA. Bridging the two domains is one of the most common first-time questions new LOGO! users hit when they try to instrument a pump skid, a compressed air line, or a hydraulic press.
This reference covers three practical methods to bring a 4–20 mA pressure loop into a LOGO! 12 VDC base module, the math behind each conversion, the programming steps in LOGO!Soft Comfort, and the verification you should perform before commissioning. It also flags the field-proven pitfalls (loop voltage drop, resistor tolerance, signal ground) that are not obvious from the marketing brochure.
1. The Interfacing Problem in One Diagram
The disconnect is simple but rigid:
| Device | Typical output | Supply |
|---|---|---|
| Industrial pressure transmitter (3-wire) | 4–20 mA | 12–30 VDC |
| Industrial pressure transmitter (2-wire, loop-powered) | 4–20 mA | 12–30 VDC loop |
| LOGO! 12/24 RCE onboard AI1–AI4 | 0–10 VDC input | 12/24 VDC base |
| LOGO! AM2 extension module | 0–10 VDC or 0/4–20 mA input | 24 VDC only |
The base unit accepts voltage, the transmitter produces current. You either convert current to voltage with a precision resistor, or you add an extension module that natively reads 4–20 mA. Both are valid; the choice is driven by panel space, supply voltage availability, and accuracy budget.
2. LOGO! 12/24 VDC Hardware Overview
The relevant 12 VDC base module for this application is the LOGO! 12/24 RCE (Siemens part number 6ED1052-1CC08-0BA1, firmware ≥ V8.3) or its predecessor 6ED1052-1CC01-0BA8. Key analog characteristics, taken from the LOGO! 8 System Manual:
| Parameter | Value (AI1–AI4 on base) |
|---|---|
| Input range | 0 – 10 VDC |
| Input impedance | ≥ 100 kΩ (voltage mode) |
| Resolution | 10 bits (normalized 0–1000) |
| Sample time | 50 ms typical |
| Maximum continuous input | 28.8 VDC (do not exceed) |
| Connector | Shared with digital inputs I1–I8 |
Power supply to the LOGO! base must be 12 VDC or 24 VDC. The supply range is wide (10.8–28.8 VDC on the 12/24 RCE), but the sensor side has its own minimum loop voltage requirement that usually dominates.
3. Pressure Sensor Selection Criteria
For a 12 VDC LOGO! system you have three practical sensor classes:
- 0–10 V pressure transmitter — wire directly to AI1–AI4. Simplest. Power supply must be ≥ 12 VDC and stable.
- 4–20 mA pressure transmitter, 2-wire (loop-powered) — most common industrial type. Use a 500 Ω sense resistor.
- 4–20 mA pressure transmitter, 3-wire — separate supply and return. Same conversion method, simpler wiring.
AutomationDirect's digital pressure switch / transmitter lineup is a useful reference for catalog numbers, response times, and display options if you want a part with a local readout. When you are not using the display, treat the output exactly like a standard 4–20 mA loop.
For a 2-wire loop-powered 4–20 mA transmitter, the loop voltage budget is the limiting factor:
V_supply ≥ V_transmitter_min + (I_max × R_loop) + (I_max × R_sense)
With I_max = 20 mA, R_sense = 500 Ω, and a typical V_transmitter_min of 10 VDC, you need at least 10 V + 1.0 V = 11.0 V at the transmitter terminals. A clean 12 VDC regulated supply is therefore the practical minimum. A 24 VDC supply gives you 13 V of headroom and is strongly preferred.
4. Method 1 — 500 Ω Current-to-Voltage Conversion
This is the workhorse method for converting 4–20 mA into the LOGO!'s 0–10 V range. Place a single precision resistor between the analog input terminal and the negative supply reference.
4.1 Conversion Math
By Ohm's law, the voltage developed across the sense resistor is:
V_out = I_loop × R_sense
| Current | R_sense = 500 Ω (1%) | R_sense = 250 Ω (1%) |
|---|---|---|
| 4 mA (zero) | 2.000 V | 1.000 V |
| 12 mA (mid) | 6.000 V | 3.000 V |
| 20 mA (full) | 10.000 V | 5.000 V |
Using 500 Ω gives the full 0–10 V dynamic range of the LOGO! input, with a 2 V live-zero that lets the program detect a broken wire (the input would read ~0 V, which is below the 2 V live-zero). The trade-off is 10 V × 20 mA = 200 mW of heat dissipated in the resistor and 10 V of compliance voltage consumed in the loop.
A 250 Ω resistor halves the loop drop (5 V at 20 mA) and the heat (50 mW) but uses only half the ADC range (1–5 V), which means a 2× loss of resolution. For 10-bit ADC that is still 1024 counts over 4 V, or ~3.9 mV/count — adequate for most process work. For 4-wire ratiometric measurements on low-pressure transducers (≤ 5 psi), stick with 500 Ω.
4.2 Resistor Selection
Use a metal-film, 0.1% or 0.5% tolerance, 25 ppm/°C or better, 1/4 W or 1/2 W part. A 5% carbon-film resistor will introduce a calibration error of ~0.5% FS at room temperature, and another 0.5% per 30 °C of drift — unacceptable on a calibrated pressure loop.
Recommended types:
- Vishay RN60 series (military-grade metal film, 0.1%, 10 ppm/°C)
- Yageo MFR-25FBF52 series (1% metal film, 50 ppm/°C, generic-industrial grade)
- Any 0.1% resistor in a 2512 SMD or axial leaded package, derated 2:1 for voltage and 4:1 for power
5. Method 2 — LOGO! AM2 Extension Module
When the panel already has 24 VDC, the cleaner solution is the LOGO! AM2 analog input module (Siemens part number 6ED1055-1MA00-0BA0), which accepts 0–10 V or 0/4–20 mA on each of four channels, switch-selectable per channel.
| Parameter | AM2 specification |
|---|---|
| Inputs | 4 (AI1–AI4 on the module) |
| Modes | 0–10 V, 0–20 mA, 4–20 mA (per channel) |
| Input impedance (voltage mode) | ≥ 76 kΩ |
| Input impedance (current mode) | ≤ 250 Ω |
| Resolution | 10 bits, normalized 0–1000 |
| Supply | 24 VDC nominal (12 VDC will not work on AM2) |
The AM2 requires 24 VDC at the module's power terminals L+ and M; it will not function on a 12 VDC supply even if the base unit does. If your system is 12 VDC only, you must use Method 1.
For 4–20 mA on the AM2, wire the transmitter's positive lead to the AM2 input terminal and the negative lead to M. The AM2 already contains a 250 Ω internal sense resistor in current mode; no external components are required. The 0/4 mA live-zero and broken-wire detection are handled in software by checking for a value below 0 or above 1000.
6. Wiring Topology
6.1 2-Wire Loop-Powered Transmitter with 500 Ω Resistor
The transmitter sinks current through the 500 Ω resistor. The voltage across the resistor (2–10 V) is measured by AI1–AI4 on the LOGO! base. The transmitter and the LOGO! must share the same M / negative reference for the loop to be complete.
6.2 3-Wire Transmitter Wiring
For a 3-wire transmitter with separate supply, signal, and common:
The 3-wire topology isolates the supply current from the signal current, which is helpful when long cable runs cause the supply voltage at the transmitter to sag.
7. LOGO!Soft Comfort Programming
Programming in LOGO!Soft Comfort V8.3 or later follows the same pattern regardless of whether you used the resistor method or the AM2 module. The base block is Analog Input (AI) with the input source set to AI1 (or whichever physical input you wired).
- Open your project in LOGO!Soft Comfort.
- From the right toolbar, drag the Analog Input block onto the workspace.
- Double-click it and set:
- Input: AI1 (0–10 V) — for resistor method
- Input: AM2 AI1 (4–20 mA) — for AM2 module
- Sensitivity: depends on whether you want a switching threshold or a scaled value
- Insert a downstream block (Threshold Trigger, Analog Comparator, or Math block) to perform the actual logic.
7.1 Analog Input Block Parameters (resistor method, 0–10 V)
| Field | Value | Notes |
|---|---|---|
| Block name | B001 (default) | Edit if you use many |
| Input | AI1 | 0–10 V onboard |
| Sensor type | 0–10 V | Default |
| Min. sensor value | 0 | Lower bound of physical range |
| Max. sensor value | 1000 | Upper bound (engineer units) |
| Gain | 1.00 | Adjust after calibration |
| Offset | 0 | Adjust after calibration |
7.2 Analog Input Block Parameters (AM2 4–20 mA)
| Field | Value | Notes |
|---|---|---|
| Input | AM2 AI1 (4–20 mA) | Select in dropdown |
| Sensor type | 4–20 mA | Live-zero aware |
| Min. sensor value | 0 | 4 mA → 0 |
| Max. sensor value | 1000 | 20 mA → 1000 |
8. Analog Input Scaling Math
The AI block returns a normalized 0–1000 integer (10-bit). To map it back to engineering units, use the LOGO!Soft Comfort Analog Amplifier, Math, or an Arithmetic Instruction.
8.1 Linear Mapping Formula
Engineer_Units = (AI_raw / 1000) × (P_max − P_min) + P_min
Example: 0–150 psi transmitter with a 500 Ω resistor:
- 4 mA → 2.000 V → AI_raw = 200
- 20 mA → 10.000 V → AI_raw = 1000
- Live-zero span (4 mA) maps to 200, not 0. This is by design — it preserves broken-wire detection.
To convert AI_raw to psi on the LOGO! 8 base:
Pressure_psi = ((AI_raw − 200) / 800) × 150
Implement with the Math Instruction block (function: Gain × Value + Offset), where:
- Gain = 150 / 800 = 0.1875
- Offset = −37.5 (this is applied after the gain, so sign matters — verify in simulation)
On LOGO! 8 the gain and offset fields are floats; on older LOGO! 6/7 the gain is an integer (1–999) and a separate PreGain handles fractional scaling. Use the simulation mode in LOGO!Soft Comfort to confirm before downloading to hardware.
8.2 Broken-Wire Detection
A broken loop drops the current to 0 mA, producing 0 V at the AI. The live-zero (4 mA → 2 V) means AI_raw < 200 is unambiguously a fault condition. Wire a Threshold Trigger with threshold = 150, on-time = 0 s, off-time = 0 s to flag Q_fault when this happens, and use it to disable downstream process logic.
On the AM2 in 4–20 mA mode, the live-zero is interpreted natively: the AI block returns negative values below 4 mA, so a value < 0 in the downstream Math block indicates a wire break.
9. Threshold / Alarm Configuration
Use a Threshold Trigger block to convert the analog value into a digital alarm:
| Parameter | Example value (0–150 psi, 4–20 mA) |
|---|---|
| On threshold | 800 (= 120 psi) |
| Off threshold | 700 (= 100 psi) |
| On delay | 2 s |
| Off delay | 1 s |
This produces a high-pressure alarm output that energizes at 120 psi, de-energizes at 100 psi, with 2 s of debounce on the rising edge to avoid nuisance trips from pump pulsations. For a low-pressure trip, swap the On/Off threshold values.
For proportional control (PID-style), use the PID Controller block in LOGO!Soft Comfort. Feed the AI value into the PV input, set SP = 600 (= 75 psi on the 0–150 psi scale), and route MV to an analog output or a PWM block driving a proportional valve.
10. Verification and Calibration
After the program is downloaded, perform these checks before trusting the reading.
- Loop integrity. With the transmitter disconnected, the AI raw value should read 0 (or below the live-zero threshold). This confirms there is no stray voltage pickup on the input terminal.
- Zero check. Apply 0% pressure (vent to atmosphere for a gauge transmitter, or apply vacuum for an absolute). Verify the AI raw value matches the expected live-zero (200 with 500 Ω, 0 with AM2 4–20 mA). If it does not, adjust the AI block offset.
- Span check. Apply a known pressure from a calibrator (or a dead-weight tester, or a hand pump with a reference gauge). Verify the AI raw value. Adjust the AI block gain to match.
- Two-point linearity. Apply 25%, 50%, 75% of full scale. The error should be within the combined tolerance of the transmitter (typically 0.5% FS) and the 500 Ω resistor (0.1% for a quality metal film).
- Noise check. Monitor the AI raw value on the LOGO!'s online status screen with the system running. The variation should be < ±2 counts for a clean installation; ±5–10 counts is typical in an industrial cabinet; > ±20 counts indicates a grounding or shielding problem.
10.1 Total Loop Error Budget
Worst-case error for a 0–150 psi transmitter on the resistor method:
| Source | Tolerance |
|---|---|
| Pressure transmitter accuracy (typical) | ±0.5% FS = ±0.75 psi |
| Resistor tolerance (0.1% metal film) | ±0.1% of reading |
| Resistor temperature drift (10 ppm/°C × 50 °C) | ±0.05% of reading |
| LOGO! AI gain error (10-bit, ±1 count) | ±0.1% FS = ±0.15 psi |
| Combined RSS | ≈ ±0.79 psi (0.53% FS) |
For most process monitoring, this is more than adequate. For closed-loop control or custody transfer, use the AM2 module and a higher-accuracy transmitter (0.1% FS).
11. Troubleshooting Matrix
| Symptom | Likely cause | Fix |
|---|---|---|
| AI raw value stuck at 0 | Broken loop, no supply to transmitter, or wrong AI terminal | Verify 12/24 V at transmitter terminals; verify resistor is between AI and M; check that the AI is enabled in the program (I7/I8 conflict) |
| AI raw value stuck at 1000 | Input shorted to 10 V, or transmitter is producing > 20 mA | Disconnect sensor; with resistor only, value should be 0. If still 1000, replace the AI input on the LOGO! or check for a wiring short |
| Reading is 80% of expected | Resistor is 250 Ω, not 500 Ω, or transmitter is 0–20 mA not 4–20 mA | Measure resistance with power off; confirm transmitter output type from its datasheet |
| Reading is 200, not 0, at zero pressure | Live-zero is 2 V on 500 Ω; this is correct | Re-map the zero in software using the AI block offset or the Math block |
| Reading drifts with temperature | Cheap resistor (200 ppm/°C or worse) | Replace with 10 ppm/°C metal film (Vishay RN60 or equivalent) |
| AI value fluctuates ±20 counts or more | Mains pickup on long signal cable, no shield, or common-mode voltage | Use shielded twisted pair; ground shield at one end only (transmitter end, typically); separate signal and power wiring by ≥ 150 mm |
| AI value is correct but stops updating | LOGO! has dropped into STOP or the analog expansion is disconnected | Check LOGO! status LED; reseat the AM2 module; verify 24 V supply to AM2 |
| AM2 reports 0 on all channels | AM2 powered from 12 V, not 24 V | AM2 requires 24 VDC; use the resistor method on a 12 VDC system, or add a 24 VDC supply |
12. Field-Proven Caveats
- Loop voltage is everything. A 2-wire transmitter at 4 mA is fine, but at 20 mA the transmitter needs at least 10 V across its terminals plus the 10 V drop across the 500 Ω resistor. On a 12 VDC system that leaves only 2 V of headroom — too tight for most industrial transmitters. Use 24 VDC if at all possible.
- Ground the negative. The LOGO! 12/24 RCE base and the pressure transmitter must share the same M reference. If you power the LOGO! from a separate supply, tie the two M terminals together with a dedicated wire — do not rely on panel chassis ground.
- Do not exceed 28.8 V on the AI. The onboard AI is rated for continuous 28.8 V max. A loop-powered transmitter running on 30 V with the 500 Ω resistor will produce up to 10 V — safe. But a miswired system can push full supply into the AI and damage the input.
- Shield one end only. Shielded twisted pair cable from the sensor should have the shield grounded at the LOGO! panel end, not the transmitter end, to avoid ground-loop currents in the shield.
- The AI channel conflict on I7/I8. On a 12/24 RCE base, I7 and I8 are physically shared with AI3 and AI4. If you need both digital input 7 and analog input 3, you cannot have them on the same physical terminal — choose AM1 or AM2 expansion instead.
- LOGO!Soft Comfort online monitor shows normalized values, not engineering units. The AI block displays 0–1000. To see psi or bar, you need a Math block downstream with the gain/offset applied, and you monitor that block, not the AI block directly.
- Filter, but verify. LOGO!Soft Comfort offers an analog low-pass filter on the AI block. A 100 ms filter smooths display noise but adds 100 ms of dead time to your control loop. For alarms, this is fine; for closed-loop pressure control, a 100 ms filter can destabilize a fast loop. Start with 50 ms and adjust.
13. Putting It Together
For a typical air-line pressure monitoring application with a LOGO! 12/24 RCE and a 4–20 mA pressure transmitter:
- Source a 24 VDC supply (or a 12 VDC supply if your transmitter is rated for 12 V operation and your loop budget allows it).
- Wire the transmitter in 2-wire mode through a 500 Ω, 0.1%, 10 ppm/°C metal-film resistor to AI1 on the LOGO! base.
- Program the AI block with sensor type 0–10 V and engineering range 0–150 psi (or whatever your transmitter range is).
- Add a Math block to convert AI_raw (0–1000) into engineering units, accounting for the 4 mA live-zero.
- Add a Threshold Trigger to drive an alarm output at your high- and low-pressure setpoints.
- Calibrate at zero and span using a pressure calibrator or hand pump with a reference gauge.
For a 24 VDC cabinet, skip the resistor and use an AM2 module set to 4–20 mA mode — the module does the conversion internally, and the live-zero detection is built in. The trade-off is panel space and the cost of the extension.
Either approach lets you bring a real industrial pressure signal into a stock LOGO! without a custom signal conditioner, a dedicated RTU, or a PLC upgrade.
Can I connect a 4-20 mA pressure transmitter directly to a LOGO! 12/24 RCE base unit?
No. The onboard AI1–AI4 on the 12/24 RCE base are 0–10 VDC voltage inputs only. You must either add a 500 Ω precision resistor to convert the 4–20 mA loop to 2–10 V, or add a LOGO! AM2 extension module that natively accepts 4–20 mA on 24 VDC supply.
What resistor value converts 4-20 mA to the LOGO!'s 0-10 V input range?
Use a 500 Ω, 0.1% (or better) metal-film resistor. At 4 mA it produces 2.000 V (the live-zero) and at 20 mA it produces 10.000 V (full scale), matching the LOGO! AI dynamic range exactly. A 250 Ω resistor produces only 1–5 V, halving the available resolution.
Does the LOGO! AM2 module work on 12 VDC?
No. The AM2 (6ED1055-1MA00-0BA0) requires 24 VDC nominal at its L+ and M terminals and will not function below approximately 20 VDC. On a 12 VDC-only system, use the 500 Ω resistor method on the base unit's onboard AI1–AI4.
How do I detect a broken wire on a 4-20 mA pressure input to the LOGO!?
With the 500 Ω resistor method, a broken loop drops the AI raw value below 200 (the 4 mA live-zero). Use a Threshold Trigger block with on-threshold = 150 to flag a fault. With the AM2 module in 4–20 mA mode, the AI block returns negative values below 4 mA, so a downstream Math block checking for a value less than 0 indicates a wire break.
What is the maximum input voltage on the LOGO! 12/24 RCE analog inputs?
The AI1–AI4 terminals on the 12/24 RCE base module are rated for 0–10 VDC continuous, with an absolute maximum of 28.8 VDC. Exceeding 28.8 V can permanently damage the input. A 500 Ω resistor across a 24 VDC loop will produce at most 10 V, so the configuration is well within limits.
Can I use a pressure switch instead of a pressure transmitter with a LOGO!?
Yes. A mechanical pressure switch with a SPDT or solid-state contact is wired directly to a digital input (I1–I8) on the LOGO! base — no analog scaling required. Use this for simple on/off alarms (compressor cut-in/cut-out, low-oil shutdown). For a continuous readout of pressure in psi or bar, you need a transmitter and the analog input path described above.