top of page

How to Connect a Flow Meter to a PLC, Display or Data Logger

Oct 8
9 min read

Updated: 4 hours ago

A flow meter can be installed perfectly in the pipe and still give the wrong reading at the PLC. The cause is often simple: the output type, wiring, power supply, or scaling does not match the receiving device.


Connecting a flow meter is not only an electrical task. The meter must suit the process, the pipe must stay full where required, the flow direction must match the arrow on the body, and the signal must be interpreted correctly by the PLC, display, or data logger. This ProSense Instruments guide walks through the practical checks that help local and remote readings agree.


Wide-angle view of an inline flow meter installed on a process pipe.
The process installation affects the signal before any wiring starts.

Start with the process installation


Before wiring the meter, confirm that it can measure the flow correctly in the first place. A bad installation can produce unstable readings, even when the electrical connection is correct.


Check the flow direction


Most inline flow meters have an arrow on the body. That arrow must match the actual flow direction through the pipe.


If the meter is installed backward, several things can happen:


  • The local display may show negative flow.

  • The output may stay at zero, depending on configuration.

  • Totalizers may count in the wrong direction.

  • A PLC may receive a valid signal that represents the wrong process condition.


Some meters can be configured for bidirectional measurement, but do not assume this is enabled. Check the meter settings and wiring manual before using reverse flow as a control signal.


Keep the pipe full when the meter requires it


Many liquid flow meters, including common magnetic and ultrasonic inline meters, need a full pipe to read accurately. Air pockets can cause noisy readings or sudden drops to zero.


Good installation practice usually means placing the meter where the pipe stays full during operation. Avoid high points where air collects. Be careful with downward vertical runs, partially filled horizontal lines, and low-flow conditions after a pump stops.


A vertical pipe with upward flow often works well for liquid applications because the line naturally stays full. For horizontal runs, place the meter where air cannot gather at the measuring section.


Respect straight pipe requirements


Flow meters often need a stable flow profile. Elbows, valves, reducers, pumps, and tees can disturb the flow just before it reaches the sensor.


The exact upstream and downstream straight pipe lengths depend on the meter type and manufacturer. Use the installation manual rather than a general rule when the measurement matters. If the site has limited straight pipe, choose a meter style that tolerates the available layout or use flow conditioning where suitable.


Match the meter to the fluid


A meter selected for clean water may not behave well with slurry, oil, steam, corrosive chemicals, or fluids with entrained air. Check:


  • Fluid type and conductivity if using a magnetic meter

  • Temperature and pressure range

  • Pipe size and flow range

  • Viscosity for oil or chemical service

  • Material compatibility for wetted parts

  • Required accuracy at minimum and maximum flow


The electrical signal can only report what the sensing element measures. If the process conditions fall outside the meter range, the PLC reading will not be reliable.


Identify the output signal before wiring


Flow meters commonly provide one or more output types. The three most common for plant monitoring and control are 4-20 mA, pulse, and RS485. Each one connects differently and carries different information.


Signal type

What it sends

Best use

What to check

4-20 mA

A scaled analog value

Continuous flow rate

Loop power, input type, scaling range

Pulse

One pulse per set quantity

Totalized volume or batching

Pulse factor, input speed, voltage levels

RS485

Digital data such as Modbus registers

Multiple values and diagnostics

Address, baud rate, wiring polarity, register map


A single flow meter may offer more than one output at the same time. For example, a PLC may use 4-20 mA for flow rate while a data logger records pulse totals.


Close-up view of shielded signal wires connected to flow meter terminals.
Signal type determines how the meter should be wired.

Connect a 4-20 mA flow signal


A 4-20 mA output is a common choice when the receiving device needs a live flow rate. It sends an analog current proportional to the configured measuring range.


For example, a meter may be scaled so that:


Current

Meaning

4 mA

0 gallons per minute

12 mA

50 percent of full scale

20 mA

100 gallons per minute


The PLC, display, or logger must use the same range. If the meter is set for 0 to 100 gallons per minute but the PLC input is scaled for 0 to 200 gallons per minute, the remote value will be half of the local reading.


Confirm whether the loop is active or passive


A 4-20 mA connection may be powered in different ways.


An active output supplies the loop current from the meter. The receiving device acts as a passive analog input.


A passive output needs an external loop supply. In that case, the power supply, meter output, and analog input must be wired in series.


This is one of the most common causes of failed commissioning. If two active devices are wired together, the loop will not behave correctly. If no device powers a passive loop, the input will read zero or fault.


Check the analog input type


A PLC input card may accept current, voltage, or both. Make sure the channel is set for current input, not 0-10 V, when connecting a 4-20 mA signal.


Some inputs require a jumper, DIP switch, or software setting. Some need a resistor across the input to convert current to voltage. Use the input module manual and the meter manual together.


Use the right scaling in the receiver


Set the PLC or display to match the meter’s configured lower and upper range values. Confirm the engineering units as well. Gallons per minute, liters per minute, cubic meters per hour, and barrels per day can all describe flow, but they are not interchangeable.


For a typical analog setup, verify:


  • The meter’s 4 mA value

  • The meter’s 20 mA value

  • Engineering units

  • Fail current behavior, if supported

  • Damping or averaging time

  • Whether reverse flow is allowed


If the local display is stable but the PLC value jumps, look for electrical noise, poor shielding, loose terminals, or incorrect input filtering.


Connect a pulse output


A pulse output is often used when the main goal is total volume rather than live flow rate. The meter sends pulses, and each pulse represents a known quantity.


For example, the meter may be configured so that one pulse equals one gallon. The receiving device counts pulses and converts the count to total flow.


Pulse outputs are common for:


  • Batch filling

  • Totalizers

  • Water usage logging

  • Chemical dosing

  • Custody support where a separate approved system handles final records


Match the pulse factor


The pulse factor tells the receiver how much volume each pulse represents. The meter and the receiving device must agree.


If the meter sends one pulse per gallon but the data logger assumes one pulse per liter, the total will be wrong even though every pulse is counted.


Check whether the pulse value is configurable in the meter. Some meters let you choose pulses per unit. Others use a fixed K-factor supplied on the calibration certificate or data plate.


Confirm voltage and input type


Pulse outputs may be dry contact, open collector, transistor, NPN, PNP, or powered pulse. The receiving device must accept the type provided by the meter.


A dry contact behaves like a switch. An open collector output usually needs a pull-up resistor or a compatible input circuit. A powered pulse output sends a voltage pulse directly.


Also check the maximum pulse frequency. At high flow, the meter may produce pulses faster than a slow digital input can count. If the input misses pulses, the totalizer will undercount.


Plan for contact bounce and noise


Mechanical contact outputs can bounce, which means one physical change creates several fast transitions. Many PLCs and counters provide debounce settings to ignore these extra transitions.


For high-speed pulse applications, use a proper high-speed counter input. Keep wiring away from motor cables and variable frequency drives where possible. Use shielded cable when the manual calls for it, and ground the shield at the recommended point.


Connect RS485 for digital flow data


RS485 is used when the receiver needs more than one value from the flow meter. With a protocol such as Modbus RTU, one cable pair can carry flow rate, total volume, status, alarms, diagnostics, and configuration values.


This makes RS485 useful for data loggers, SCADA systems, and PLCs that poll several instruments over one network.


Eye-level view of a small control panel with a PLC and data logger wired to field instruments.
Digital connections can carry flow rate, totals, and status data.

Wire the A and B lines consistently


RS485 uses a differential pair, often labeled A and B, D+ and D-, or plus and minus. Unfortunately, naming is not always consistent across manufacturers.


If communication fails, swap the pair at one end and test again. Do this only after confirming the power, address, baud rate, and protocol settings.


Use twisted pair cable where possible. For longer runs or electrically noisy areas, use shielded twisted pair and follow the grounding guidance in the wiring manual.


Set the communication parameters


Every device on the network must use the same serial settings. Check:


  • Baud rate

  • Parity

  • Stop bits

  • Data bits

  • Device address

  • Protocol mode

  • Register format

  • Word order for 32-bit values


Two devices with the same address on one RS485 network will cause unreliable communication. Give each flow meter a unique address.


Use the correct register map


A Modbus register map tells the PLC or data logger where to find each value. One register may contain current flow rate. Another may contain totalized volume. Others may hold alarm status or signal quality.


Check whether the value is stored as an integer, floating-point number, or scaled integer. A reading that looks wildly wrong may be a word-order issue, not a bad meter.


Provide proper power and grounding


Flow meters may need AC power, DC power, battery power, or loop power. Do not assume the signal terminals power the whole instrument.


Before energizing the meter, confirm:


  • Supply voltage range

  • AC or DC requirement

  • Polarity for DC wiring

  • Power consumption

  • Fuse or breaker requirements

  • Earth ground or protective ground terminal

  • Isolation between signal and power circuits


Use a stable supply sized for the meter and any loop-powered devices. If the meter display resets when pumps start, the supply may sag or electrical noise may be entering the circuit.


Grounding also matters. Magnetic flow meters, for example, may need proper process grounding to measure low-level electrode signals correctly. Plastic pipes, lined pipes, and nonconductive fittings may require grounding rings or grounding electrodes, depending on the meter design.


Always follow the manufacturer’s wiring diagram. Local electrical codes and plant safety rules also apply, especially in wet areas, washdown zones, and hazardous locations.


Scale the signal in the PLC, display, or logger


Once the wiring is complete, scaling turns the raw input into a useful number.


For analog input, the receiver converts current to flow rate. For pulse input, it converts counts to volume or rate. For RS485, it reads a digital value and applies any needed multiplier.


Analog scaling example


Suppose the meter is set to 4-20 mA for 0 to 250 gallons per minute. The PLC should display:


Input current

Displayed flow

4 mA

0 gallons per minute

8 mA

62.5 gallons per minute

12 mA

125 gallons per minute

16 mA

187.5 gallons per minute

20 mA

250 gallons per minute


If the PLC shows 500 gallons per minute at 20 mA, the receiver is scaled for the wrong full-scale value.


Pulse scaling example


If the meter sends 100 pulses per gallon, the receiver must divide the pulse count by 100 to show gallons.


If the system counts 10,000 pulses, the total should be 100 gallons. If the display shows 10,000 gallons, it is counting pulses as full gallons.


Digital scaling example


A Modbus register might show `12345` while the manual says the value has one decimal place. The displayed flow should be 1,234.5 in the selected unit. Read the register notes carefully, especially scale factors and units.


Close-up view of a handheld meter testing a 4-20 mA signal in a control cabinet.
Testing the signal at the terminals helps separate wiring faults from scaling faults.

Confirm the local and remote readings agree


After installation, compare the meter’s local display with the PLC, display, or data logger reading under real flow conditions.


Do this at more than one flow rate if possible. A single check at low flow may not reveal a scaling error at full range.


A practical startup check looks like this:


  1. Confirm the meter powers up without alarms.

  2. Verify the pipe is full and flow direction is correct.

  3. Check the local display for stable flow.

  4. Measure the 4-20 mA loop current, pulse activity, or RS485 communication.

  5. Compare the remote value with the local meter display.

  6. Check the totalizer over a known time or known volume.

  7. Record the final scaling and settings for future service.


If the readings do not match, work from the meter outward. Confirm the meter display first, then the output at the terminals, then the input at the PLC or logger, then the software scaling.


Common symptoms and likely causes


Symptom

Likely cause

PLC reads zero while local display shows flow

Open loop, missing loop power, wrong input type, no pulse pull-up

PLC reading is stable but wrong by a fixed ratio

Scaling mismatch, wrong engineering units, incorrect pulse factor

Reading jumps or drops during motor starts

Electrical noise, poor shielding, weak power supply

RS485 data appears random

Wrong baud rate, parity, address, register type, or word order

Local reading is unstable too

Air in pipe, partially full line, poor grounding, bad sensor location


A flow meter connection is successful when the process conditions, wiring, power, and scaling all agree. The local display should match the remote reading within the expected accuracy of the meter and receiving device.


Keep a record of the final settings, including signal type, output range, pulse factor, communication parameters, and engineering units. That record saves time when the system is serviced, expanded, or checked after a process change.



Need help with your application?


ProSense Instruments - explore instruments, sensors, data loggers and test equipment.


ProSense Solutions - discuss complete monitoring and automation systems.


ProSight Software - explore cloud dashboards, alarms and reporting. Device integration must be confirmed for your application.



Project enquiries: sales@prosense.com.au. Software enquiries: info@prosightsoftware.com.

Comments


bottom of page