Skip to workspace
BAS Bridge
System explorer

Lesson · 18 min

Modbus register mapping and credible values

Distinguish a successful read from a correctly mapped measurement using function, offset, data type, scaling and units.

Start with the table and function

Modbus defines coils and discrete inputs as bit data, and holding registers and input registers as 16-bit data. The standard table model gives discrete inputs and input registers read-only access; supported functions and writable application points still depend on the product. Function 03 reads holding registers; function 04 reads input registers. A familiar numeric label alone is not enough to select the correct table or function. Confirm the exact model, firmware, unit/server address and register map before interpreting a value.

Separate a printed reference from the protocol address

A vendor may print references such as 40001 or number a register list from 1, while the starting address in the Modbus request is zero-based. Some integration tools already translate their displayed notation. Determine which convention the device map and client each expect; do not blindly subtract one from every number. Record the table, function and actual request offset together so another technician can reproduce the read without guessing.

Decode representation before judging the process

The protocol's 16-bit register does not by itself define an engineering measurement. The manufacturer's map must identify signedness, scale, units, invalid-value markers and any multi-register data format. Modbus defines high-byte-first encoding within a register; the word order and layout of a 32-bit application value must also be checked against the device map. Two plausible values can result from different decoding choices. A successful response proves neither correct conversion nor a calibrated sensor.

A timeout and an exception answer different questions

No response may result from an unreachable device, serial settings, a damaged request or another communication problem; it does not isolate one cause. A returned exception shows that a server processed the request far enough to report a problem. Exception 02 means the requested data address or range is not allowable, so check the documented table, offset and quantity before blaming the cable. Exception 01 concerns an unsupported or unavailable function. Interpret the exact returned code and product state rather than treating all failed reads alike.

Validate the mapping without writing to equipment

For a permitted read-only checkout, choose one documented point with a local reference, preserve the raw register data and request details, apply the documented conversion, and compare units, timestamp and status. The Belimo Energy Valve Version 3 manual is one manufacturer example that includes supported functions and a register map; its addresses and scaling apply only to the documented product. This lesson sends no packets and makes no live writes. Treat a displayed match as mapping evidence; independent sensor or process verification remains a separate step.

Field exercise

Fictional read-only mapping exercise: a new BAS point displays 214°F while the local device display reads 21.4°C. What does the available evidence support?

The exact fictional device map specifies an input register read with function 04.The returned raw 16-bit value is 214; its documented scale is 0.1°C per count.The BAS conversion and configured engineering units have not been checked.No sensor calibration or physical process test has been performed.
Select the best supported next step

Knowledge check

Answer all four questions. Pass the field exercise and at least three questions to complete this lesson.

1Which standard function reads input registers?
2A map prints 40001. What should be checked before entering an address in a client?
3A server returns exception 02 for a read. What is the most useful first check?
4A 32-bit value spans two registers. What establishes its engineering interpretation?
0/4 answered

Sources and scope

These original exercises draw on the sources below. For equipment settings and field actions, use the exact model, firmware, approved sequence and site procedure. Sources reviewed October 20, 2026.