IMDHMIControls LibraryShop main store

Explainer

Why a 4-20 mA loop simulator needs a current sink output

Controllers and I/O Published 8 min read By IMDHMI controls team

Short answer

A two-wire pressure transmitter is a current sink: it regulates the current drawn from the loop supply the input module provides. A simulator that replaces one must also sink, with a switched resistor network for fixed points or a converter wired as a sink for continuous values. An active PLC current output is a second source in the same series loop, and the reading pins or wanders.

On this page
  1. A two-wire transmitter regulates the loop, it does not feed it
  2. Which direction the input module expects decides the build
  3. What an active output does to a loop-powering input
  4. Three builds that sink
  5. Sizing the resistor legs for a 24 V loop at the three test points
  6. Verify the rig before it retires the calibrator
  7. Behind zener barriers
  8. The decision for each case
  9. Questions asked

A two-wire pressure transmitter is a current sink. It does not push its signal from a supply of its own: it throttles the current drawn from the supply that the analog input module provides, and its two wires carry power and signal at the same time. A rig that has to simulate a 4-20 mA pressure sensor must reproduce that behavior and sink the commanded current from the module's loop supply. On a module that powers the loop, an active PLC current output is a second source in the same series circuit, the reading pins or refuses to sit still, and an output stage can be driven past its ratings. The builds that work are a switched resistor network for fixed points, a converter wired as a sink for continuous values, or an isolator with a passive output.

A two-wire transmitter regulates the loop, it does not feed it #

The transmitter sits in series with the supply, the module's internal sense resistor and the return. It holds the loop current between the live zero and full scale while supply voltage and loop resistance try to move it, and the module reads the voltage across its sense resistor and reports a current. Whatever stands in for the transmitter inherits that job: hold a commanded current while the rest of the circuit moves.

Process analog modules follow the NAMUR NE 43 convention: the working signal sits between 3.8 and 20.5 mA, and a current below 3.6 mA or above 21 mA is fault information rather than a process value. The live zero is what makes a broken wire detectable at all.

The regulator inside a real transmitter is its own design problem, worked through in designing a two-wire loop-powered current transmitter. One line of it matters here: a regulator holds its current only while the supply still exceeds its own minimum operating voltage plus every other drop in the loop. Receiver designs treat compliance voltage as scarce, and a simulator inherits exactly that budget.

Which direction the input module expects decides the build #

Current inputs come in two wirings. A passive input measures the current that an externally powered source pushes through it, so a four-wire transmitter or an active output suits it directly. An active input carries its own loop supply and expects a two-wire transmitter across its terminals, sinking the current. Module families mix both wirings, so the diagram settles the question before any hardware is bought; the terminal arrangement to compare against is shown in wiring a two-wire loop-powered transmitter to an analog input module.

If the drawing is gone, measure. With the channel unwired, read the voltage across its two terminals. A reading near the loop supply means the module powers the loop and the simulator must sink. A reading near zero means the input is passive and an active output connects straight across, output plus to input plus and output common to input return. That is the only case where the PLC's built-in current output needs nothing in front of it.

What an active output does to a loop-powering input #

The failure has a simple circuit shape: two current sources in one series loop. Each tries to hold the current at its own command; the source with more compliance voltage behind it takes over, the other saturates, and the module reports a pinned value or one that will not sit still instead of the command. At worst the losing output stage is driven outside its ratings. The symptom matches why a powered analog output reads full scale on an analog input. The cure is structural: the loop-powering input needs a sinking element where the transmitter would sit, and no scaling edit makes two sources agree.

Three builds that sink #

All three replace the transmitter with something that holds a current while drawing it from the module's supply. The terminal conventions for wiring a sinking device to a loop-powering controller are worked end to end in connecting 4-20 mA sink probes to two-wire controllers.

  1. Switched resistor network — fixed points. Three resistors, each switched by a relay contact, wired between the module's supply terminal and its return. Spare digital outputs drive the relays with logic that energizes exactly one leg at a time, and all legs open gives a zero-current state for the wire-break check. The three points catch most production faults with the fewest parts.
  2. Voltage-to-current converter wired as a sink — continuous values. Command it from a voltage analog output scaled so the full command span maps onto the 16 mA signal span; a 10 V command then asks for the top of the range. Check that the converter's compliance covers the sense resistor, barrier and cable drops before trusting the top of the range. This is the same external-amplifier pattern as amplifying a PLC analog output to drive a solenoid, pointed the other way: instead of boosting a current, the converter creates one from the module's supply.
  3. Loop-powered isolator with a passive output — clean separation. The PLC's active output feeds the isolator's input side; the passive output side sinks its current from whichever loop it lands on. That passive output is the same element that breaks ground faults in fixing an analog output ground fault with a signal isolator, so this build doubles as the ground-loop cure when the rig and the panel sit on different supplies.

Sizing the resistor legs for a 24 V loop at the three test points #

Inputs. Loop supply: 24 V DC, the nominal loop voltage the module presents to a two-wire transmitter; measure the real supply under load before trimming. Test points: the bottom, middle and top of the range, the three points a production test sweeps. Sense resistance: R_in, the module's internal sense resistor plus any barrier resistance in series, in ohms, unknown until it is measured per channel, so the sizing takes a bare loop as its baseline.

Rule. A series loop puts the supply across the switched leg and R_in together, so the leg resistance is the supply divided by the target current, minus R_in: R = V_loop / I - R_in, with V_loop in volts, I in amps and R in ohms.

Arithmetic. Sizing the bare loop at the three points: 24 V / 0.004 A = 6000 ohm; 24 V / 0.012 A = 2000 ohm; 24 V / 0.020 A = 1200 ohm.

Result. The bare-loop rig needs legs of 6000 ohm, 2000 ohm and 1200 ohm, one trim potentiometer in series with each leg.

Headroom correction. Every ohm of measured shunt and barrier resistance comes off each leg, and it burns supply voltage: at the top point each ohm costs 0.02 V. A leg trimmed without the subtraction can only undershoot the point it feeds.

Decision. Fit the three legs at those bare-loop values, measure the supply and R_in on the real channel, subtract R_in from each leg and trim each point against a calibrated meter in series. Run the top point first on every new channel: if it still clips after trimming, the loop is out of compliance — the barrier and shunt budget is spent, and no resistor value will reach full scale on that channel.

Verify the rig before it retires the calibrator #

  1. Trim each leg against a calibrated meter in series, before the module is connected.
  2. Connect one channel and compare the module's reading with the meter. A difference at the same current belongs to the module or the barrier, so log it per channel.
  3. Command the test points in engineering units through the same scaling the process uses, so a simulated pressure lands on the value the control program expects.
  4. Step the continuous build through 0, 25, 50, 75 and 100 percent and confirm the displayed pressure tracks linearly.
  5. Open all relay legs and confirm the under-range or wire-break diagnostic the module datasheet promises appears.
  6. Run a loop calibrator on one channel as a referee. Agreement within the module's stated accuracy retires the manual calibrator sessions for the remaining channels.

Behind zener barriers #

Keep the rig on the safe-area side of the barrier: anything injected on the hazardous side must carry its own intrinsic-safety certification with entity parameters matched to the loop, and a bench rig carries none.

The barrier's series resistance joins R_in, so the headroom budget shrinks and a sink that holds the bottom point comfortably can clip before the top of the range. Series resistance is a general tax on current loops, a zener barrier here and a HART multiplexer elsewhere, and the same budget is worked through in HART multiplexer loop resistance on a standard analog input. Safe-area testing leaves the field cable and the real transmitter untouched, so the periodic calibrator pass on the installed loop keeps its place in the schedule. Noisy readings that move when a hand touches the wiring point to a common-potential fault first and a scaling fault second: tie the rig's common to the module's return.

The decision for each case #

  • Passive input, open-circuit reading near zero: drive it with the PLC's built-in current output and build nothing.
  • Loop-powering input, fault catching: the switched resistor network at the three points, relays interlocked to a single leg.
  • Loop-powering input, scripted ramps and pressure profiles: the voltage-to-current converter wired as a sink, its compliance checked before the top of the range is trusted.
  • Long runs, separate supplies or noisy grounds: the loop-powered isolator with a passive output.
  • Intrinsically safe channels: any build above on the safe-area side of the barrier, with the installed loop still on the calibrator schedule.

Questions asked

What happens if I wire a PLC current output to an input module that supplies loop power?

Two current sources end up in one series circuit: the one with more compliance voltage takes over, the other saturates, and the module reports a pinned value or one that refuses to sit still. If that connection already happened, check the output channel against a series meter on a passive resistor load before trusting it again, then move to a sinking element.

What does the rig give when every relay leg is open?

Zero loop current, below the 4 mA live zero, so a healthy module raises its under-range or wire-break diagnostic. That makes every run of the test program a free check of the detection path. Confirm the exact trip threshold once per module type in its datasheet instead of assuming it.

What happens if two relay legs close at once?

The legs parallel and the current overshoots the range. 1200 ohm in parallel with 2000 ohm gives 750 ohm, and 24 V across 750 ohm is 32 mA, well above the top of the range and enough to trip a module diagnostic or stress the sense resistor. Interlock the relay coils in the driving logic so exactly one can energize.

Can a loop calibrator do the job instead of a rig?

For one channel at a time, yes. A calibrator in simulate mode acts as a two-wire transmitter and sinks its current from the module's supply; source mode drives current from its own battery and meets the same two-source conflict an active output meets on a loop-powering input. The rig earns its keep when a test must sweep several channels unattended and log the module's answers.

Keep reading

  • Troubleshooting

    Why a powered 4-20 mA output reads 32767 on an analog input

    A full-scale 32767 count on an input configured for a two-wire 4-20 mA transmitter usually means the source is an active output rather than a passive transmitter. Source and receiver electronics then fight over one loop, and the module never reports a valid measurement. Move the signal to the input's four-wire transmitter connection and the raw value tracks the measured current.

    Controllers and I/O

  • Troubleshooting

    Detect a failed analog input channel and report it to SCADA

    Read the raw input word and the module's per-channel diagnostics before you touch the SCP scaling, then alarm channel health as its own tag that names the channel number. A failed channel then reaches SCADA as a fault with an identity, not as a plausible scaled level, so you know whether to carry a card, a transducer, or wire.

    Controllers and I/O

  • Troubleshooting

    Fix a DL-06 4-20 mA reading that drops to half

    When the raw input word holds steady while the scaled value falls, the fault is in the ladder conversion path, not the 4-20 mA signal. On a DL-06 whose module setup returns binary counts, delete the BIN instruction that assumes BCD, and the reading comes back correct.

    Controllers and I/O