IMDHMIControls LibraryShop main store

Troubleshooting

Why an FX3U Modbus read of register 400001 fails

Industrial networks Published 6 min read By IMDHMI controls team

Short answer

The read fails because 400001 is a register reference, not an address: read holding registers with function 03 and a start address of 00001, never the six-digit number or its hex form. Confirm the PLC version in D8001 is 2.40 or later for the Modbus adapter functions; if 00001 still fails, check the adapter model, the drive's serial settings and the response the drive returns.

On this page
  1. Why 400001 is a reference, not an address
  2. Reading ABB register 400001 from an FX3U-485ADP-MB
  3. Check the version floor in D8001 first
  4. When the corrected address still fails, work this list
  5. The decision for each failure
  6. Questions asked

An FX3U reading 400001 from an ABB drive fails on the address before the ladder ever runs: 400001 is the drive's register reference, not an address to type or to convert. The working request is function code 03, read holding registers, with 00001 as the start address — the leading 4 of the reference names the holding-register table and the remaining digits are the offset. Hex-converting the six digits, or the five that remain after dropping a zero, asks for a register tens of thousands of places away from the target. Before anything else, read D8001: the adapter's Modbus functions need the PLC at version 2.40 or later. If 00001 still returns nothing, the suspect moves to the adapter model, the drive's serial settings or the response the drive actually sends.

Why 400001 is a reference, not an address #

The Modbus application protocol defines four data tables, and the documentation tradition gives each a leading digit: 0 for coils, 1 for discrete inputs, 3 for input registers and 4 for holding registers. The digit selects the table; what follows it is the offset within that table. The classic holding-register block runs 40001 to 49999, and master software that needs more extends the same scheme past it, which is how a drive register list ends up showing six-digit numbers in the 4-prefixed range.

On the wire none of that survives. A request carries a function code and a 16-bit offset — no leading digit, no six digits, no hexadecimal. The whole translation of the drive's reference is therefore the function that reads holding registers, with the offset the reference ends in. ABB's own Modbus documentation states that two addressing types are implemented on its devices, standard Modbus addressing and ABB SACE addressing, which is one more reason to treat the number in the register list as a reference to translate, not a field to fill.

Two habits around this convention cause their own faults. A reference counts registers from one while the on-the-wire address counts from zero, and that one-register shift is the subject of why a Modbus TCP coil write lands one address off the map. The leading digit that separates holding registers from input registers decides which read function applies, as Modbus holding register vs input register: which one to use sets out.

Reading ABB register 400001 from an FX3U-485ADP-MB #

Inputs. The target register is 400001, the reference the drive's Modbus register list gives for the value the job needs; the leading 4 marks the holding-register table. The master hardware is the FX3U-485ADP-MB adapter on the PLC's RS-485 port. The start-address field on the programming side takes four digits at most: GX Developer 8.78G accepts no more than four places in that field. The register quantity is not recorded for this job, so the drive's register description supplies it.

Rule in words. Split the six-digit reference into its table digit and its offset. Send the function that reads that table and put the offset alone in the start-address field — never the reference and never a conversion of it.

Arithmetic. Correct path: 400001 splits into table digit 4 and offset 00001, so the request is function 03, read holding registers, start address 00001. Wrong path, the one actually tried on the job: drop the zero, get 40001, convert to hex — 40001 ÷ 16 = 2500 remainder 1; 2500 ÷ 16 = 156 remainder 4; 156 ÷ 16 = 9 remainder 12, written C; 9 ÷ 16 = 0 remainder 9. The result reads 0x9C41. Check it backwards: 9 × 4096 + 12 × 256 + 4 × 16 + 1 = 36864 + 3072 + 64 + 1 = 40001.

Result. The working request asks for offset 00001 with the holding-register read. The converted entry 9C41 asks for offset 40001 instead — 40000 registers past the first one — so the drive refuses the request instead of returning data.

Decision. Any register a drive lists with a 4 prefix reads with function 03 and the last five digits of the reference in the start-address field; a 3 prefix marks an input register and takes the input-register read instead. The four-digit field is not a fault to work around: the offset's value here is 1, so it fits with or without padding, and software that refuses longer entries is behaving correctly.

Check the version floor in D8001 first #

The adapter's Modbus functions need the PLC at version 2.40 or later, and the version sits in the last three digits of D8001. Read it before touching the ladder: if the digits show an earlier version, the master functions will not run no matter how correct the request is, so the version check comes first. Any programming editor reads that register the same way.

The functions live on the Modbus-capable adapter. On the RS-485 side that is the FX3U-485ADP-MB, whose installation manual states it carries all FX3U-485ADP functionality plus Modbus communication — which makes the plain FX3U-485ADP the same adapter without the Modbus functions. Confirm which one is bolted to the PLC before blaming the program.

When the corrected address still fails, work this list #

Offset 00001 with the right function and a current firmware can still fail, and the remaining checks run in this order:

  1. Confirm the installed adapter carries the Modbus functions — the -ADP-MB marking on the RS-485 adapter. A plain 485 adapter has none to run.
  2. Re-read the version register and confirm the floor is met; an older version voids every later test.
  3. Look at what the PLC actually receives. Silence points at the serial path — wiring and termination, the station number, and baud, parity and stop bits that must match the drive's setup. An exception code means the drive heard the request and refused it, and the code names the reason: exception 02, illegal data address, points at the offset or the register quantity, as in Modbus exception 02 when a read crosses a register map gap.
  4. Take the drive-side values — station number, baud, parity, stop bits, register quantity, timeout — from the drive's Modbus documentation. The record for this failure supplies none of them, so none is verified here and none should be guessed.

One safety note: stay on reads until the exchange is proven — the first write into a drive's control registers can start or stop the motor.

The decision for each failure #

  • Request still carries the six-digit reference or a hex conversion: rebuild it as the holding-register read with the offset — the last five digits of the reference — and drop the conversion habit entirely.
  • Offset correct, firmware current, still no data: the PLC side is finished; the fault sits in the adapter model, the drive's serial settings or the register quantity.
  • Drive silent: wiring, termination, station number or serial format.
  • Drive answers with an exception: the request contents, and exception 02 says address or quantity.
  • The four-digit field refusing longer input: correct behavior, not a fault — the offset fits.

Questions asked

Which function codes write to the drive after the read works?

Function 06 writes one holding register and function 16, often shown as hex 10, writes a block of them; the expanded six-digit reference range runs on the wire with those same codes. Both take the offset you proved with the read, not the six-digit reference. Keep the first writes to parameters that cannot move the machine, and prove the read path end to end before any write into a control register.

How high does the six-digit reference numbering go?

The classic 40001 to 49999 block for holding registers extends to 465536. The reason is arithmetic: the offset on the wire is a 16-bit field, so it runs from 0 to 65535, and 400001 plus 65535 gives 465536. A reference beyond that cannot exist, because no 16-bit address can name it.

Why does a drive parameter sometimes need two registers?

Many parameters are 32-bit values, and a holding register carries 16 bits, so the parameter occupies two consecutive registers. The drive's register description states which register holds the high word, so read both and assemble them in the documented order. Reading only the first register returns half the value, which looks like garbage or zero depending on where the high word sits.

Does the same offset rule apply to other drive families?

Yes: the leading-digit scheme belongs to the documentation, not to any one PLC, so any register list that numbers holding registers with a 4 prefix reads with the holding-register function and the last five digits as the offset. What changes between PLC families is the master instruction and the adapter that runs it, not the translation.

Keep reading

  • Troubleshooting

    Why Modbus error 8189 needs 400001 added to the register address

    Status 16#8189 from MB_MASTER on an S7-1200 is an invalid data address, not a wiring fault. When the slave's manual documents a zero-based holding-register offset, add the holding-register base to it: offset 20200 is entered as DATA_ADDR 420201, and the block transmits function code 3 to the intended register. The accepted address ranges, the arithmetic and the checks for a stubborn 8189 follow.

    Industrial networks

  • Troubleshooting

    CB1241 reads zero on Modbus RTU while the transmitter works

    A CB1241 that reads zero while a USB-to-RS-485 converter reads the same transmitter is failing on the PLC side, and TIA Portal hides the cause: MB_MASTER completes with an error and the next scan's retry clears STATUS. Latch STATUS into a memory word when ERROR goes true, then fix the parity code, the unit ID, the 40001-based register number and the RS-485 bus, and keep the converter off the bus.

    Industrial networks

  • How-to

    How an S7-1200 reads PAC3200 floats over Modbus RTU

    MB_MASTER takes register references, not the meter's offsets: DATA_ADDR is 40001 plus the offset, so offset 1 for the Va-n voltage becomes 40002, and DATA_LEN counts registers, so one 32-bit float needs a length of 2. The meter sends the high word first, which is already REAL order in S7-1200 memory, so the pair decodes with no swap.

    Industrial networks