IMDHMIControls LibraryShop main store

Troubleshooting

Fix small nonzero counts at zero flow on a DVP04AD-E2 input

Controllers and I/O Published 6 min read

Short answer

Counts of 20-30 at 4 mA on a 0-32000 span are 0.06-0.09% of span, about 10-15 µA of loop error: that is normal converter offset and jitter. Verify the loop with a calibrator, calibrate measured endpoints per channel, then filter. A reading of 100 counts on another channel is a wiring or channel-offset clue, not a scaling error.

On this page
  1. What the counts represent
  2. Match the correction to the cause
  3. Verify the loop and locate the 100-count channel
  4. Calibrate the endpoints you measure
  5. Filter what remains
  6. Gate the zero-flow deadband on a live loop
  7. Acceptance checks
  8. Questions asked

Twenty to thirty raw counts at the live zero on a DVP04AD-E2 channel mapped 4-20 mA to 0-32000 are 0.0625-0.09375% of span, and that is normal conversion offset and jitter, not a fault. Verify the loop with a calibrator, calibrate the endpoints you actually measure, then filter what remains. The channel that reads 100 counts at the same no-flow condition is a different case: 0.3125% of span is more than jitter explains, and it points at wiring, shielding, or that channel's own offset. Work the fixes in dependency order - signal path, calibration, filtering, deadband last - and both numbers stop being a mystery.

What the counts represent #

The DVP04AD-E2 takes four voltage or current inputs and converts them into 16-bit digital values, and the current range with a live zero is one of its selectable ranges. With your range reading 0-32000 counts, one count equals the 16 mA span divided by 32000, which is 0.5 µA of loop current.

So the 20-30 counts are 10-15 µA of loop error: inside what converter offset, transmitter output tolerance, and picked-up noise produce on a working loop. The 100 counts are 50 µA, which conversion jitter alone does not explain on a healthy installation, so treat that reading as a symptom to locate rather than a number to scale away. For the mechanism behind the number, read how PLC analog input and output modules convert signals.

One configuration check belongs here: if the channel were set to the current range whose bottom end is zero current instead, the live-zero input would read about 6400 counts (4/20 × 32000), not 20-30. Your near-zero reading confirms the live-zero range selection is active.

Match the correction to the cause #

Correction Fixes Does not fix Use when
Wiring and source repair Noise, ground-path current, transmitter drift Scaling arithmetic The error follows the transmitter or cable when channels are swapped
Measured endpoint calibration A stable zero and span offset on one channel Unstable readings, a moving loop Injected live-zero and full-scale currents hold steady but do not read 0 and 32000
Averaging or low-pass filtering Short-term count variation A fixed offset The raw value moves around a repeatable average
Zero-flow deadband Residual indicated flow at a validated zero Analog faults, genuine low flow The loop is proven good and the process tolerates a zero region

Apply them in that order. A filter cannot remove a steady offset, and a deadband applied before the loop is proven simply hides a fault as healthy zero flow.

Verify the loop and locate the 100-count channel #

  1. Measure the loop current in series with a calibrated meter at no flow, and record the actual value instead of trusting the flowmeter's rounded display of the live-zero current. If the current itself moves more than about 10 µA, the module is reporting honestly: repair the transmitter, its supply, or the field cable before touching the program.
  2. Swap channels with the same transmitter and cable, or feed both channels from a loop calibrator. If the error follows the source or the cable, repair that path. If it stays with one channel, it is that channel's offset and it gets its own endpoint calibration.
  3. Check the shield and the commons: shield landed at one end only, analog conductors not bundled with drive or switching wiring, terminals tight. A second ground path on a current loop injects error that masquerades as channel offset; when grounding turns out to be the culprit, fixing a 4-20 mA ground fault with a signal isolator is one accepted cure.
  4. Trend the raw counts at no flow for a few minutes and note minimum, maximum, and average. A wide moving band selects the filter row above; a narrow band parked at 100 selects the wiring or calibration row.

Calibrate the endpoints you measure #

  1. Break the loop and inject 4.000 mA from a loop calibrator into the channel; record the stable average as Raw4.
  2. Raise the calibrator to 20.000 mA and record the stable average as Raw20.
  3. Scale with Flow = (Filtered - Raw4) × FullScaleFlow / (Raw20 - Raw4).
  4. Repeat per channel in use, because each channel keeps its own pair.

Worked example: Raw4 = 40 counts, Raw20 = 31,960 counts, FullScaleFlow = 50 L/s. The span is 31,960 - 40 = 31,920 counts, so one count is 50 / 31,920 = 0.00157 L/s. Uncalibrated, the no-flow reading displays 40 × 50 / 32000 = 0.0625 L/s; with the measured endpoints it displays (40 - 40) × 50 / 31,920 = 0 L/s. At the mid-scale check, 12 mA ideally reads 16,000 counts; a measured 16,020 gives (16,020 - 40) × 50 / 31,920 = 799,000 / 31,920 = 25.03 L/s against the ideal 25 L/s.

Do not use the transmitter's no-flow output as Raw4 unless the meter confirms the loop is actually sitting at the live zero.

Filter what remains #

When the ES2 MPU hosts this module, its configuration lives in special registers, and the DVP-ES2 module manual documents an averaging setting for the input channels: you choose how many conversions are averaged, which suppresses jitter inside the module. Set it from that manual rather than copying a filter constant from another PLC family.

If you filter in the program instead, use a first-order low pass: Filtered = Filtered + α × (Raw - Filtered), with α between 0 and 1. At α = 0.25, a raw step from 40 to 16,000 counts reads 4030 after one update, 7023 after two, and 9267 after three, passing 63% of the step between the third and fourth update. A smaller α smooths harder and answers slower. Choose α = 0.2 to 0.5 for a flow display, and confirm the delay with a real step test before the value drives control or an alarm.

Gate the zero-flow deadband on a live loop #

With the example span, a filtered no-flow band of ±8 counts is ±8 × 0.00157 = ±0.0125 L/s. If that residual flicker still disturbs the display or the totalizer, set the deadband at 0.05 L/s, which is 32 counts above Raw4, provided the smallest flow you must detect is at least 0.5 L/s.

Safety note: apply the deadband only while the loop is valid, because an open or shorted loop pulls the current below the live zero and would otherwise be reported as healthy zero flow; detecting a failed analog input channel and reporting it to SCADA covers that check.

Acceptance checks #

  • Live-zero current injected: raw sits at Raw4, scaled flow 0 L/s, deadband inactive.
  • 12 mA injected: 25.03 L/s on the example span, 0.06% of full scale above the ideal 25 L/s.
  • Full-scale current injected: full-scale flow with no clipping at 32,000 counts.
  • Step from the live zero to full scale: measured filter delay acceptable for every alarm derived from this flow.
  • Transmitter reconnected: no-flow current, raw band, filtered value, scaled flow, and deadband state recorded together.

Hold each injected current long enough for the filtered value to settle, and log raw beside scaled so the next technician can separate module behavior from process behavior.

Questions asked

Should I subtract the no-flow counts in the scaling formula?

Not as a blind constant. Inject the live-zero current from a loop calibrator first. If the module then reads near zero, the 20-30 counts belong to the transmitter, so trim the transmitter rather than the program. If the injected current also reads around 40 counts, that is channel offset and belongs in Raw4, the measured endpoint the formula subtracts. Either way the correction is measured, never assumed.

Is the module defective if one channel reads 100 counts at the live zero?

Not yet. One hundred counts is 0.3125% of span, about 50 µA, which wiring, shielding, or channel offset explains. Run the swap test, then calibrate that channel's own endpoints and re-check the 12 mA midpoint. If the channel holds its endpoints and lands within about 0.1% of full scale at midpoint, keep it in service. Replace the module only if a channel cannot hold a calibrated endpoint or the error moves between channels without any wiring change.

How much residual jitter is acceptable after filtering?

Set the limit from the process, not from the module. Convert the smallest flow that matters into counts with your measured span, and accept a filtered no-flow band up to about a tenth of it. On the example span of 31,920 counts for 50 L/s, a 0.5 L/s minimum flow is about 320 counts, so a filtered band up to roughly 30 counts needs no further work. A wider band means the noise source is still active.

Does the DVP04AD-E2 provide built-in filtering?

Yes, through configuration rather than code. The DVP-ES2 module manual sets the module up through special registers and includes an averaging setting for the analog input channels, so you choose the number of conversions averaged per channel instead of writing a low-pass filter. Averaging adds response delay, so confirm the setting with a step test before the channel feeds control or alarming.

Keep reading

  • 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

  • Troubleshooting

    Fixing 4-20 mA scaling on a Quantum AVI030 analog input

    On the Quantum AVI030 analog input, the raw range follows the channel resolution: 12-bit reports 0-4095 counts and 16-bit maps 4-20 mA to 6400-32000 counts. Neither 0-64000 nor a mismatched 0-4095 will scale or hold; set the block's raw limits to match the configured resolution and verify with 4, 12 and 20 mA test currents.

    Controllers and I/O

  • Troubleshooting

    Troubleshooting non-linear 4-20 mA readings on an S7-1200 analog input

    A 4-20 mA loop is linear by construction, so counts swinging between 10 and 30246 mean the current at the terminal is not what the sensor LCD shows. On the SM 1231, 27648 counts is the top of the 4-20 mA range and 30246 decodes to 21.5 mA over-range fault current. Check the loop with a series meter, split sensor from module with a calibrator, and anchor NORM_X to 0 and 27648.

    Controllers and I/O