DeviceHub
ESLicense PortalRequest Demo
Home/Blog/OT Protocols

What Is Modbus TCP and How It Works in Industrial Networks

Technical guide to Modbus TCP/IPv4: client-server architecture, port 502, FC01–FC04 function codes, and 16-, 32-, and 64-bit data types.

2026-11-10 · 6 min · IoTHost Engineering

Client–Server Architecture over Ethernet

Modbus TCP encapsulates classic Modbus frames inside standard TCP/IP packets (default port 502), dropping the RS-485 CRC checksum because TCP ensures transport integrity. A client (such as DeviceHub) polls registers from one or many servers (energy meters, PLCs, or RTU-to-TCP gateways).

Read Function Codes (FC01 to FC04)

Industrial telemetry and energy monitoring rely on four primary read function codes: FC01 (Coil Registers), FC02 (Discrete Inputs), FC03 (Holding Registers, common on Schneider and ABB analyzers), and FC04 (Input Registers, common on Finder meters).

Preventing Bottlenecks at Scale

Many field meters accept only 1 or 2 concurrent TCP sockets. Grouping variables into logical polling intervals and enforcing a per-device connection pool with a FIFO queue—as implemented in DeviceHub—eliminates timeouts and dropped samples.

Test this architecture today with DeviceHub

Deploy the official container in 2 minutes or request a 30-day Professional evaluation in the Customer Portal.