School Pets Food Code & PLC Professionals 💡 Suggest
EN

4–20 mA scaling of a 0–16 bar pressure transmitter: worked example

A pressure transmitter for 0 to 16 bar outputs 4 to 20 mA, read by an analog input with raw values from 0 to 27,648. A meter in series reads 11.2 mA: what is the pressure, and which raw value should the program see?

Given data

Signal minimum (e.g. 4 mA or 0 V)4 mA / V
Signal maximum (e.g. 20 mA or 10 V)20 mA / V
Engineering value at range start0
Engineering value at full scale16
Raw value at range start0
Raw value at full scale27,648
Measured signal11.2 mA / V

Formulas used

p = (s - s₀)/(s₁ - s₀) · 100
v = e₀ + p/100 (e₁ - e₀)
raw = r₀ + p/100 (r₁ - r₀)

Step-by-step calculation

  1. Percentage of range

    p = (s - s₀)/(s₁ - s₀) · 100 = (11.2 - 4)/(20 - 4) · 100 = mathbf45 %
  2. Engineering value

    v = e₀ + p/100 (e₁ - e₀) = 0 + 45/100 · (16 - 0) = mathbf7.2
  3. Raw value (counts)

    raw = r₀ + p/100 (r₁ - r₀) = 0 + 45/100 · (27648 - 0) = mathbf12442

Result

Percentage of range45 %
Engineering value7.2
Raw value (counts)12,442

What it means

The signal is at 45 % of span, so the pressure is 7.2 bar. If the raw value in the program is far from the one calculated here, check the range configured on the input before blaming the sensor. A reading below 4 mA (for example 0 mA) usually means a broken wire, not negative pressure.

🧮 Open the calculator with these values
Change any value and the calculator redoes every step with your numbers.

The numbers on this page are computed automatically with the calculator's formulas, not typed by hand. The result is indicative: for a real project always check standards and manufacturer data.

✏️ Try it yourself: exercises

Solve them with the formulas above, then open the solution to check.

  1. Exercise 1 — Signal → value

    Given:

    • Signal minimum (e.g. 4 mA or 0 V): 4 mA / V
    • Signal maximum (e.g. 20 mA or 10 V): 20 mA / V
    • Engineering value at range start: 0
    • Engineering value at full scale: 10
    • Raw value at range start: 0
    • Raw value at full scale: 27,648
    • Measured signal: 14 mA / V

    Find: Engineering value, Raw value (counts)

    Show the solution
    • Percentage of range: 62.5 %
    • Engineering value: 6.25
    • Raw value (counts): 17,280

    🧮 Check it in the calculator with these values

  2. Exercise 2 — Signal → value

    Given:

    • Signal minimum (e.g. 4 mA or 0 V): 4 mA / V
    • Signal maximum (e.g. 20 mA or 10 V): 20 mA / V
    • Engineering value at range start: 0
    • Engineering value at full scale: 32
    • Raw value at range start: 0
    • Raw value at full scale: 27,648
    • Measured signal: 13 mA / V

    Find: Engineering value, Raw value (counts)

    Show the solution
    • Percentage of range: 56.25 %
    • Engineering value: 18
    • Raw value (counts): 15,552

    🧮 Check it in the calculator with these values

What do you think?

Your rating