How to Read 4-20mA Sensors into Modbus TCP
(Without Buying an Expensive PLC)

Stop pulling shielded copper wire across your factory floor. Discover the engineering principles of direct 4-20mA to Modbus TCP conversion at the edge, bypassing PLC ladder logic completely.

Diagnose Edge Telemetry ↓
✓ Native 12-Bit ADC Resolution | ✓ Modbus TCP / MQTT Support | ✓ Zero-Code Hardware Scaling

The “Overkill” Problem in Data Acquisition

When facility managers need to pull data from remote pressure or level transmitters into a central Ignition or Wonderware SCADA, the traditional reflex is to route all analog signals back to a centralized Programmable Logic Controller (PLC).

However, if your goal is strictly data monitoring and visualization rather than complex high-speed PID control, deploying PLC analog input (AI) expansion racks is an architectural and financial overkill.

❌ The Traditional PLC Approach✅ The Edge I/O Architecture
High Hardware Cost: Requires a base CPU module plus notoriously expensive analog input (AI) expansion cards.Direct Edge Conversion: A dedicated Modbus TCP analog input module sits directly in the field panel, digitizing signals locally.
Wiring Nightmares: Pulling dozens of shielded twisted-pair cables across a noisy factory floor incurs massive copper and labor costs.Lossless Ethernet: Transmits 4-20mA data as digital TCP packets over standard Cat5e or WiFi, completely immune to distance-based voltage drop.
Programming Overhead: You must write complex ladder logic simply to scale the raw ADC values into engineering units.Zero-Code Integration: Advanced edge modules handle linear scaling internally, sending ready-to-read engineering units directly to SCADA.
Engineering Reality Check: Edge Ethernet I/O is the optimal solution for Data Monitoring, SCADA, and Telemetry. However, because network transmission introduces latency (typically 50ms – 200ms depending on the network), it should not be used to replace a PLC for mission-critical, sub-millisecond closed-loop PID motion control.

The Engineering Truth: Physics over Software

Why Pure Cellular Gateways Fail

A common procurement mistake is buying a standard 4G router or transparent serial gateway and expecting it to read a 4-20mA signal. It cannot. Pure networking devices lack the physical Analog-to-Digital Converter (ADC) chips and precise sampling resistors required to measure electrical current.

You need a hardware layer specifically designed for electrical sampling—like an industrial Remote I/O module—that sits at the physical boundary. This provides a direct 4-20mA to Ethernet bridge, acting as a Modbus TCP Server to hand that data seamlessly to your network.

The Scaling Dilemma (And the Hardware Fix)

A standard ADC module reports raw integers. For example, a 12-bit ADC reading a 0-4095 range will report roughly 819 at 4mA and 4095 at 20mA. Normally, you must write a linear scaling script ($y = mx + b$) in your SCADA to convert this to 0-100 PSI.

The Valtoris Solution: Our modules eliminate this scripting tax. Using the free VirCOM utility, engineers define the thresholds directly in the hardware (e.g., 4mA = 0.0, 20mA = 100.0). The edge gateway calculates this internally and outputs highly accurate IEEE 754 Float values directly to the Modbus holding register.

4-20mA to Ethernet Physical Topology

Click the nodes to explore wiring configurations and noise mitigation strategies.

Interactive diagram illustrating direct 4-20mA to Ethernet conversion. 2-wire and 3-wire sensors connect to an Edge I/O module, mapping analog signals to Modbus TCP.
INDUSTRIAL FIELD SENSORS
▷ ANALYZE WIRING & SIGNAL CONVERSION
SCADA / Cloud
Reads Modbus TCP Registers
Edge I/O Module
ADC & Protocol Conversion
2-Wire Sensor
Loop-Powered Transmitter
3/4-Wire Sensor
Self-Powered Transmitter
Motor / VFD
EMI Noise Source

Node Info

    The Analog Connectivity Hardware Stack

    * Replace expensive PLC analog cards with purpose-built edge conversion hardware. Choose your uplink based on site infrastructure.

    Deployment ScenarioRole in ArchitectureRecommended Hardware
    Wired Local Networks
    (Factory Floors & Facilities)
    Ethernet I/O Series: Directly in the field panel. Available in 4 or 8 channel configurations with industrial grade isolation. Scales raw 4-20mA loop data and directly outputs Modbus TCP to your local LAN. View Ethernet I/O Series
    Remote Cloud Telemetry
    (Pump Stations & Wellheads)
    Cellular I/O Series: The ultimate remote solution. Combines 4G LTE modem with multi-channel analog sampling. No need for external routers. Data is sent directly to cloud SCADA via MQTT. View Cellular I/O Series
    Retrofitting Legacy Meters
    (Serial Backhaul Only)
    Serial-to-Cellular Gateway: If your field devices already output RS485/Modbus RTU and you don’t need to sample raw 4-20mA signals, use this compact gateway to securely parse Modbus-to-MQTT cloud. Explore VT-DTU Series

    Verified Expertise: Hardware-in-the-Loop (HIL) Lab Data

    72-Hour Stress Test Protocol

    Instead of fabricated marketing case studies, we rely on rigorous internal benchmarking. We subjected the Valtoris 8CH-IO-ETH to a continuous 72-hour Hardware-in-the-Loop (HIL) test.

    • Analog Input: 8 channels of continuous 4-20mA signal fluctuations.
    • Network Load: 50 Modbus TCP polling requests per second.
    • Environment: Simulated high EMI noise industrial enclosure.

    The Edge I/O Result

    Under peak network and signal load, the edge module bypassed the PLC completely while maintaining absolute Modbus TCP data integrity.

    12-Bit
    Stable ADC Resolution
    0%
    TCP Packet Loss

    ✓ Proven Stability: Zero dropped connections. Zero scaling drift.

    Download the Sensor Digitization Guide

    Get our comprehensive PDF cheat sheet covering 2-wire vs 3-wire schematic wiring, Modbus float scaling formulas, and EMI shielding standards.

    Analog_to_Modbus_Specs.pdf

    ✓ Physical layer engineering standards. No fluff.

    Download PDF Now

    Deep-Dive Technical FAQ

    Are 4-20mA ADC values stored in Modbus 3xxxx (Input) or 4xxxx (Holding) Registers?
    Strictly speaking, analog inputs should reside in 3xxxx Input Registers (Read-Only) according to Modbus protocols. However, because many legacy SCADA systems and HMIs prefer reading 4xxxx Holding Registers, industrial edge I/O modules typically mirror the ADC data into the 4xxxx range to ensure maximum compatibility.
    How does the Modbus system detect a broken sensor wire (Open Loop)?
    This is the primary advantage of a 4-20mA loop over a 0-10V signal. A “live” but zero-value reading sends 4mA. If a wire breaks or a sensor fails, the current drops to 0mA. Your SCADA logic can be programmed to trigger a ‘Wire Break Alarm’ anytime the Modbus decimal value falls significantly below the 4mA baseline integer.
    What is the analog sampling rate? Can it catch high-speed pressure spikes?
    Note: Standard edge I/O modules sample analog inputs at about 100 ms intervals. This is ideal for standard pressure monitoring, temperature and tank levels. If you want to capture microsecond mechanical pulses, you should use the High-speed counter feature of the Digital Input (DI) instead of an analog channel.
    Does the module read 4-20mA natively, or do I need an external precision resistor?
    It is contingent upon which hardware version you are ordering. Most Valtoris base models are pre-configured with a 0-5V voltage input as default. You can read a 4-20mA current loop by ordering the specific strong>Current (mA) version, which uses internal precision sampling resistors, or wiring a standard external 250Ω precision resistor across the AI and GND terminals of the voltage model to convert the 4-20mA current to a 1-5V signal that can be measured.
    Are the analog inputs galvanically isolated? How do you prevent Ground Loops?
    Yes. The primary cause of unstable 4-20mA signals are ground loops, which typically occur when sensors and controllers have different earth potentials. Valtoris Edge I/O modules provide industrial-grade optocoupler isolation between the field analog inputs and the Ethernet network/power supply to physically isolate common-mode voltage spikes and eliminate ground loop interference without the use of external signal isolators.
    The module outputs Floating Point values. What if my SCADA reads it backwards?
    Because a 32-bit Float requires two 16-bit Modbus registers, different SCADA brands interpret the byte order differently (Big-Endian vs Little-Endian). If your HMI shows an astronomical or erratic negative number, the data isn’t broken—you simply have a Byte Swap issue. Most SCADA software (like Ignition or Kepware) allows you to easily toggle the Word Order / Swapped Float setting in the Modbus driver profile to instantly correct the reading.
    Can the I/O module directly power a 2-wire (loop-powered) sensor?
    Standard remote I/O modules typically read the current loop but do not provide the 24VDC excitation voltage internally at the AI terminal. For a 2-wire transmitter, you must wire an external 24VDC industrial power supply in series with the sensor and the I/O analog input terminal to establish the current loop.