Modbus function 03 04 holding input registers - PLC Playground troubleshooting guide

Modbus Register Exists but Reads Wrong? Check Function 03 Versus 04

The same numerical address can identify different objects under different Modbus functions. A successful reply does not prove the client selected the intended register table. Check the function alongside the address and data type.

Standard function distinction; product-specific mappings may differ.

What is happening?

Function 03 reads holding registers; function 04 reads input registers. Products decide how their application data maps into these tables and may expose overlapping or mirrored information. Address notation in manuals adds another layer that must be interpreted explicitly.

Check these five things

  1. Record the function actually transmitted by the client.

  2. Match the requested object to the product register table.

  3. Resolve displayed register notation to protocol address.

  4. Compare a known changing value with its expected response.

  5. Document function, address, length, type, and units as one interface entry.

Worked example

A teaching device exposes a measured temperature through an input register and a configuration value at the same numerical holding-register address. Both reads succeed, but choosing function 03 returns configuration rather than the measurement.

Quick diagnostic reference

Function Object table
03 Holding registers
04 Input registers
Address alone Insufficient identification

The mistake to avoid

A client label such as analog register may hide the underlying function. Inspect supported diagnostics or configuration rather than inferring the wire request from a friendly label.

How to verify the fix

Test known values and legitimate changes on every configured object. Ensure read-only measurements and writable parameters remain distinct in the client model, especially before enabling any write operation.

Field-work boundary: These are educational diagnostic guides. Use the exact equipment manuals and approved site procedures. Electrical testing and machinery changes belong to qualified, authorized personnel; control hazardous energy and validate affected functions before release.

Technical reference

Modbus Organization: Application Protocol Specification. The examples and diagnostic tables above are original teaching material; they do not replace the product manual.

Continue troubleshooting

Previous Post Next Post