Industrial Networks and OT · #89
Online 4–20 mA Scaling Calculator
Converts linearly between current, raw counts and engineering value and shows whether the signal is in a fault zone.
- Data is processed in your browser and not sent to a server
Tool
What does this tool do?
In a 4–20 mA signal 4 mA is the bottom and 20 mA the top of the range; below 4 mA usually means a broken wire or sensor fault. PLCs convert current to raw counts (Siemens 0–27648, many cards 4000–20000). Commissioning needs quick, error-free conversion between these three values.
How to use it
- Choose the direction: mA → engineering, engineering → mA or raw → engineering.
- Enter the range (low/high) and unit; for raw mode enter the card's raw low/high values.
- Enter the value and press Run.
Fields
- Conversion
- Value
- mA, engineering or raw value depending on direction.
- Range low (4 mA)
- Range high (20 mA)
- Unit
- Raw low (4 mA)
- E.g. Siemens 0, some cards 4000.
- Raw high (20 mA)
- E.g. Siemens 27648.
Worked example
| Input | Value |
|---|---|
| Conversion | mA → engineering |
| Value | 12 |
| Range low (4 mA) | 0 |
| Range high (20 mA) | 10 |
| Unit | bar |
Expected result: In a 0–10 bar range 12 mA = 50 % = 5 bar; the signal is in the normal zone.
If a multimeter shows 12 mA on site but SCADA does not show 5 bar, the scaling or card configuration (e.g. 0–20 mA selected) is wrong.
Second scenario
| Input | Value |
|---|---|
| Conversion | Raw value → engineering |
| Value | 20736 |
| Range low (4 mA) | -50 |
| Range high (20 mA) | 150 |
| Unit | °C |
| Raw low (4 mA) | 0 |
| Raw high (20 mA) | 27648 |
Expected result: In a −50…150 °C range the Siemens raw value 20736 = 75 % = 100 °C and 16 mA.
Method and assumptions
Ratio = (mA − 4) / 16 = (raw − raw low) / (raw high − raw low) = (value − low) / (high − low). Reversed ranges (e.g. 20 mA = 0) are supported.
NAMUR NE43: 3.8–20.5 mA measurement (limited overrange below 4 and above 20), 3.6 mA or below and 21 mA or above fault.
Using the result and troubleshooting
Compare the scaling with the values entered in the PLC/SCADA; do a three-point check by applying 4, 12 and 20 mA with a loop calibrator.
Limits and common mistakes
- A linear conversion is assumed; square-root (flow) or table characteristics, 0–20 mA and voltage inputs need separate handling.
Frequently asked questions
Why 27648 on Siemens analog inputs?
S7 analog cards map the nominal range to 0–27648; values above (27649–32511) are the overrange zone.
Related tools and service
- Modbus Byte and Word Order DecoderFinds which byte/word order gives the right value by showing all possibilities side by side.
Related service: IIoT and Production Data Collection