Skip to content
TRRequest a quote

NAMUR NE43 and PLC Analog Scaling: Wire Break

Catching a 4-20 mA wire break in the PLC: NE43 current thresholds, scaling raw values to engineering units, a fault bit and a checklist.

Published: · Author: Mekatrio team

The biggest advantage of 4-20 mA is that it can tell “the measurement is zero” apart from “the line is broken”. But this advantage does not work by itself: if nobody checks the raw value in the PLC program, a broken wire keeps showing on the screen as “zero pressure”. This post covers two jobs together: reading NAMUR NE43 fault levels and scaling the raw number correctly to an engineering unit.

What does NAMUR NE43 say?

NE43 is a NAMUR recommendation that describes which current range in a 4-20 mA loop counts as measurement information and which counts as fault information. Documents from manufacturers such as Beckhoff, Vaisala and JUMO present NE43 as follows:

Current range Meaning
3.8 - 20.5 mA Valid measurement information (including overrange margins)
3.6 mA and below Fault information (low)
21 mA and above Fault information (high)

The text of the standard itself is paid, and this post does not rely on it word for word; the table gives the values that manufacturer documents report. What matters is this: in real transmitters the fault current is adjustable and differs by manufacturer. Some devices set the high alarm to a value such as 22 mA, others pull the low alarm to 3.5 mA or lower. So do not memorize 3.6 and 21 mA; read the fault current setting in your transmitter’s datasheet and set the PLC thresholds accordingly.

One more point to clarify: a broken wire does not mean the transmitter produces its own fault current. When the loop breaks, the current drops to 0 mA; this falls into NE43’s low fault region, but the transmitter’s “own fault” and a wire break get mixed into the same number. For the PLC, both lead to the same conclusion: the measurement is not reliable.

From raw value to engineering unit

The analog card converts current into a number. In the Siemens S7 family, the nominal range for current inputs is defined as 0 - 27648 (a reply on the Siemens support forum bases this range on the system manual). What follows depends on the card and its parameter settings:

  • If the channel is set to the 4-20 mA range, 4 mA generally corresponds to 0 and 20 mA to 27648.
  • If the channel is set to the 0-20 mA range, 4 mA is approximately 5530 (calculation: 4/20 x 27648 = 5529.6).

Which one applies is written in the card’s range parameter and the module manual; mixing the two up is the most common scaling error in the field. The general formula is:

Eng = EngMin + (Raw - Raw4mA) / (Raw20mA - Raw4mA) x (EngMax - EngMin)

Example: a 0-10 bar transmitter, card in 4-20 mA mode. For 12 mA the raw value is 13824, and (13824 - 0) / (27648 - 0) x 10 = 5 bar. If you read the same transmitter in 0-20 mA mode, 12 mA is approximately 16589; put 5530 and 27648 into the formula and you again get 5 bar. So the numbers change, the formula does not; only the lower and upper raw values are chosen according to the card mode.

The table below is our own calculation (based on 27648); confirm it from the manual for your module family:

Current Raw (4-20 mA mode) Raw (0-20 mA mode)
3.6 mA approx. -691 approx. 4977
3.8 mA approx. -346 approx. 5253
4 mA 0 approx. 5530
20 mA 27648 27648
20.5 mA approx. 28512 approx. 28339
21 mA approx. 29376 approx. 29030

In 4-20 mA mode it is possible to see a negative raw value; define the variable as a signed integer (Int), because if you define it as unsigned, the underflow turns into a wrong large number. The limits of the overrange and underrange regions, and the number the card returns on a wire break, vary by module; sources contradict one another on this. Instead of memorizing the break value, deliberately open the channel during commissioning to test it and record the raw value.

Generating a fault bit in the PLC

Do not rely on card diagnostics alone. A simple and portable approach:

  1. Convert the thresholds from current to raw values yourself (according to the transmitter’s fault current setting).
  2. Set the Fault bit when the raw value goes below the lower threshold or above the upper threshold.
  3. Add a short delay so that momentary spikes do not raise false alarms; the duration is determined by the process.
  4. While a fault is present, do not feed the scaled value into the control logic: hold the last valid value or put the output in a safe state.
  5. Send the fault to SCADA as a separate alarm; show “measurement faulty” instead of “0 bar”.

Common mistakes

  • A mismatch between the card’s range parameter and the lower raw value in the scaling formula.
  • Treating the NE43 thresholds as fixed numbers and not reading the transmitter’s actual alarm current.
  • On a wire break, the scaled value silently showing 0 and entering the control logic.
  • Keeping the raw value in an unsigned variable.
  • Commissioning without testing a wire break.

Commissioning checklist

  • Has the card range (4-20 mA / 0-20 mA) been determined and confirmed from the module manual?
  • Are the lower/upper raw values in the scaling formula based on this range?
  • Has the transmitter’s fault alarm current setting been read from the datasheet?
  • Are the lower and upper fault thresholds defined in the PLC as raw values?
  • Was a wire break deliberately created and the raw value returned by the card recorded?
  • Does the control logic behave safely at the moment of a fault?
  • Does the measurement fault appear as a separate alarm in SCADA?
  • Is the raw value variable a signed integer?

To try your own values, you can use the 4-20 mA and PLC raw value scaling calculator; you enter the raw range, and you should verify the result against the device documentation.

To set up the thresholds, scaling range and fault behavior correctly for each project, take a look at our Industrial automation page.

Tags

Want to discuss this for your project?