Modbus Holding Register vs Input Register (2026 Engineering Guide)
One of the most frequent commissioning errors in industrial automation is polling an Input Register with Function Code 03 or expecting a Holding Register offset like 40001 to behave identically to 30001. Although both store 16-bit words, they occupy separate protocol tables with distinct access permissions and function codes.
With ModbusSimulator, you can inspect and simulate all four Modbus tables simultaneously in Master and Modbus Slave Simulator modes on Windows 10/11—free for 30 days with zero hardware required.
1. Modbus Holding Register vs Input Register Comparison
| Property | Holding Register (4xxxx) | Input Register (3xxxx) |
|---|---|---|
| Access Permission | Read / Write | Read-Only |
| Word Width | 16-bit unsigned/signed (pair 2 for 32-bit Float/Int) | 16-bit unsigned/signed (pair 2 for 32-bit Float/Int) |
| Modicon 5-Digit Range | 40001 – 49999 (6-digit: 400001–465536) | 30001 – 39999 (6-digit: 300001–365536) |
| Read Function Code | FC 03 (0x03) Read Holding Registers | FC 04 (0x04) Read Input Registers |
| Write Function Codes | FC 06, FC 16, FC 22, FC 23 | None (cannot be written by Master) |
| Typical Field Data | PID setpoints, VFD speed targets, calibration offsets, device config | Live ADC readings, kWh power meter values, temperature, pressure |
2. Why 40001 and 30001 Both Send Wire Address 0x0000
In the Modbus PDU sent over TCP or RS-485, the leading digit (3 or 4) is never transmitted in the address bytes. Instead, the leading digit is legacy Modicon documentation shorthand telling your SCADA or PLC driver which function code to pick:
40001→ Driver sends FC 03 with 16-bit PDU offset0x0000.30001→ Driver sends FC 04 with 16-bit PDU offset0x0000.- Common Off-by-One Pitfall: Reading register
40010means PDU offset9(0x0009) in 1-based tools, or offset10(0x000A) in 0-based tools.
Explore all four tables—including Coils (0xxxx) and Discrete Inputs (1xxxx)—in our Modbus Register Types Explained guide.
3. Representing 32-Bit Floats & Multi-Format Data Types
Both Holding Registers and Input Registers store 16-bit integers per address. When energy meters, flow transmitters, or PLCs publish 32-bit IEEE 754 floats (Float32) or 32-bit integers (Int32 / UInt32), they span two consecutive registers (e.g., 30001 + 30002 or 40001 + 40002).
Verify ABCD (Big-Endian) vs CDAB (Word-Swapped) byte ordering quickly using our Modbus Data Types guide before deploying to production SCADA tags.
Test Holding & Input Registers Live on Windows 10/11
Upgrade from legacy ModRSsim2 or ModSim64—simulate all 4 register tables with built-in waveforms and live hex frames.
Download Free 30-Day TrialFrequently Asked Questions
What is the main difference between a Modbus Holding Register and an Input Register?
Holding Registers (4xxxx range, read via FC 03 and written via FC 06/16/23) are 16-bit read/write memory used for setpoints and configuration. Input Registers (3xxxx range, read via FC 04) are 16-bit read-only memory used for live analog sensor values.
Why does Modbus Holding Register 40001 map to wire address 0x0000?
Modicon 5-digit notation uses 40001 for the first Holding Register and 30001 for the first Input Register, while the Modbus PDU transmits 0-based wire offset 0x0000 and uses FC 03 vs FC 04 to select the table.
Can a Modbus Master write to an Input Register?
No. Input Registers are strictly read-only in the Modbus protocol specification. Attempting to write targets Holding Registers or returns an exception response.
How can I test both Holding Registers and Input Registers without a physical PLC?
Use ModbusSimulator in Slave mode on Windows 10/11 to serve 3xxxx Input Registers and 4xxxx Holding Registers over TCP or RTU with automatic sine/ramp test values during a 30-day free trial.