Industrial Networks and OT · #85
Online Modbus Register Address Converter
Converts the register number in a device manual to the address your SCADA/PLC driver expects.
- Data is processed in your browser and not sent to a server
Tool
What does this tool do?
One manual says 'holding register 40001', another '0x0000', the SCADA driver wants '400001'; all are the same register. An off-by-one error reads the wrong value or, worse, writes the wrong register. The tool converts each notation to table, function code and 0-based PDU address.
How to use it
- Enter addresses one per line and choose the format: Modicon (40001/400001/4x0001), 0-based PDU or 1-based register number.
- For PDU/1-based formats choose the register table; enter a count for consecutive reads.
- Press Run.
Fields
- Addresses
- One address per line; hex accepted with 0x.
- Input format
- Register table
- For non-Modicon formats.
- Count
- Consecutive registers/bits to read.
Worked example
| Input | Value |
|---|---|
| Addresses | |
| Input format | Modicon (40001, 400001, 4x0001) |
| Register table | 4x Holding register |
| Count | 2 |
Expected result: 40001 → holding register, FC03, PDU 0 (0x0000), 400001; 30010 → input register FC04, PDU 9; 400100 → PDU 99; 4x0020 → PDU 19; 00017 → coil FC01, PDU 16.
Use the PDU column if your SCADA driver wants 0-based addresses, the last column if it wants 6-digit Modicon. A count of 2 is for two-register values like 32-bit floats; continue to the Modbus Byte and Word Order Decoder for byte order.
Second scenario
| Input | Value |
|---|---|
| Addresses | |
| Input format | PDU address (0-based) |
| Register table | 4x Holding register |
| Count | 1 |
Expected result: 0-based holding registers 0x0064 and 1000 correspond to Modicon 40101 and 41001.
Method and assumptions
Modicon: the first digit is the table (0 coil, 1 discrete input, 3 input register, 4 holding register), the rest the 1-based register; PDU = number − 1. 5-digit notation covers 1–9999 only, 6-digit 1–65536.
Function codes: read 01/02/04/03; write 05/15 for coils, 06/16 for holding registers.
Using the result and troubleshooting
On first read check a known value (e.g. device serial or a constant parameter); if it is shifted by one register there is a 0/1-base mismatch.
Limits and common mistakes
- Vendor-specific notations (%MW, N7:0, HR100 etc.) and register map validation are not supported.
Frequently asked questions
Why does 40001 map to address 0?
In Modicon notation register numbers start at 1, while the Modbus protocol carries a 0-based address in the PDU. So 40001 → 0, 40002 → 1.
Related tools and service
- Modbus Byte and Word Order DecoderFinds which byte/word order gives the right value by showing all possibilities side by side.
- Modbus RTU Polling Time CalculatorCalculates how many milliseconds it takes to read every device on an RS-485 line once.
Related service: PLC–PLC and PLC–Server Integration