PLC 4–20 mA / 0–10 V Analog Scaling & NAMUR NE43 Calculator
Convert live loop signals to engineering units, raw PLC integer registers, 5-point calibration tables, NAMUR NE43 wire-break status, and IEC 61131-3 SCL.
Why Industrial Automation Standardizes on 4–20 mA Live-Zero Current Loops
Unlike 0–10 VDC voltage signals that suffer resistive voltage drop over long cable runs, a two-wire 4–20 mA current loop regulates constant loop current regardless of wire resistance (up to the power supply compliance voltage limit, typically R_max = (V_supply − V_min_tx) / 0.0215 A). Even across 300 meters of shielded twisted-pair instrument cable, 12.00 mA leaving a field pressure transmitter arrives as 12.00 mA at the PLC analog input terminal.
Equally important, the 4.00 mA live zero supplies quiescent operating power (~3.5 mA at 10–12 VDC) to two-wire loop-powered transmitters while letting the PLC immediately distinguish a true 0% process reading (4.00 mA) from a severed field cable or blown fuse (0.00 mA).
NAMUR NE43 Fault Thresholds & Raw PLC ADC Integer Normalization
International recommendation NAMUR NE43 standardizes analog transmitter diagnostic bands outside the 4.00–20.00 mA linear measurement span: linear underrange extends down to 3.80 mA, linear overrange extends up to 20.50 mA, low-burnout / wire-break alarms trigger at <= 3.60 mA, and high-burnout sensor faults assert at >= 21.00 mA.
Inside the PLC analog-to-digital converter (ADC), 4.00–20.00 mA maps linearly onto architecture-specific integer counts—most commonly 0 to 27,648 (leaving headroom up to 32,511 for overrange detection), 0 to 32,767, or 4,000 to 20,000 proportional microampere counts. Copy the generated IEC 61131-3 Structured Text (SCL) block directly into your function block library.
Reference Benchmark & Formula Specification
Deterministic formula: EU = LRV + ((I_mA − 4.0) / 16.0) × (URV − LRV) | Raw = Raw_min + Span × (Raw_max − Raw_min)
| Architecture / Standard Tier | Specification | Scope / Operating Range | Reference Benchmark |
|---|---|---|---|
| NAMUR NE43 Low Fault | Signal <= 3.60 mA | Raw < -691 (27648 scale) | Wire Break / Burnout Low |
| 0% Span (LRV) | 4.00 mA / 1.00 V @ 250 Ω | 0 Counts (or 4000 Prop.) | Engineering LRV |
| 50% Mid-Span Check | 12.00 mA / 3.00 V @ 250 Ω | 13,824 Counts (27648 scale) | Midpoint Calibration |
| 100% Span (URV) & High Fault | 20.00 mA (Fault >= 21.0 mA) | 27,648 Counts (29,376 @ 21mA) | URV / High Burnout |
Frequently Asked Questions
Why do many industrial PLCs use 27648 instead of 32767 for 100% analog scale?
Reserving 27,648 as nominal 100% (20.0 mA or 10.0 V) leaves ~18% signed 16-bit integer headroom (27,649 to 32,511) so the PLC can measure NAMUR NE43 overrange signals up to 21.8 mA (~11.8 V) without clipping or overflowing a 16-bit INT register.
How do I convert a 4–20 mA transmitter to a 1–5 V PLC voltage input?
Wire a precision 250 Ω (±0.1%, >= 0.25 W low-TCR metal film) shunt resistor across the voltage input terminals. By Ohm's Law (V = I × R), 4.00 mA produces 1.00 V and 20.00 mA produces 5.00 V.
How do I calculate maximum loop resistance on a 24 VDC power supply?
Subtract minimum transmitter lift-off voltage (typically 12 V) from loop supply voltage (24 V) and divide by high-alarm current (0.0215 A): (24 − 12) / 0.0215 = 558 Ω total maximum loop resistance including PLC input impedance and wire resistance.