The AHU display says the supply air is 14.3 °C. Your Modbus tool reads holding register 0 and shows 143. Nothing is broken. The controller sends the temperature as a whole number with one implied decimal, and it is your job to put the decimal back. That is Modbus scaling, and it is behind a large share of "the value is 10 times too big" questions on site.
This guide explains the scale factors you will meet (×0.1, ×0.01, ×10, offsets, scale-factor registers), how negative numbers are stored, and how to find the right scale when the register map is silent, with real screens and raw values.
What is Modbus scaling?
Modbus scaling is the conversion from the raw integer in a register to the real value in engineering units. The usual formula is:
Real value = raw value × scale + offset
A Modbus holding register or input register is a 16-bit value. The MODBUS Application Protocol Specification V1.1b3 (modbus.org) defines registers as 16-bit words and nothing more: no decimals, no units, no sign. A temperature of 21.5 °C cannot be sent as "21.5" in one register, so the manufacturer chooses a convention, for example "temperature in tenths of a degree". The device then sends 215, and the register map says scale 0.1 (or "÷10", "×10", "resolution 0.1 °C", "1 LSB = 0.1 °C"; all mean the same thing).
Scaling is not part of the Modbus protocol. It lives in the device's documentation. That is why the same 215 can mean 21.5 °C on one controller, 2.15 bar on a pressure sensor, and 215 V on a meter.
Why do devices scale values instead of sending floats?
A scaled int16 uses one register and needs no word order, while a float32 uses two registers and a byte order (see Modbus float byte order). Many smaller controllers also work in integers internally. The price is that you must know the scale: get it wrong and the value is 10, 100 or 1,000 times off.
Common Modbus scale factors (×0.1, ×0.01, ×10, ×100)
Manuals write the same idea in several ways. This table translates them:
| What the manual says | Scale to use | Raw example | Real value |
|---|---|---|---|
| "×10", "÷10", "0.1 °C/bit", "1 decimal" | 0.1 | 215 | 21.5 |
| "×100", "÷100", "0.01", "2 decimals" | 0.01 | 23055 | 230.55 |
| "×1000", "0.001", "3 decimals" | 0.001 | 950 | 0.950 |
| "unit: 10 W", "×10 W" | 10 | 1250 | 12,500 W |
| "unit: kWh", no scale given | 1 | 4021 | 4,021 kWh |
| "value = (°C + 40) × 10" | 0.1, offset −40 | 650 | 25.0 |
A word of caution on "×10": some manuals mean "the value has been multiplied by 10" (so you divide by 10, scale 0.1), others mean "multiply the raw value by 10" (scale 10). The worked example in the manual, or a comparison with the device display, settles it. The display check is described in the method below.
What scale do typical devices use?
These are typical patterns, not rules. Always check your device's own register map.
| Device type | Typical scaled values |
|---|---|
| HVAC controllers, thermostats | Temperatures and setpoints as int16 ×0.1 °C (or °F), humidity in % ×1 or ×0.1 |
| VFDs (drives) | Output frequency in 0.01 Hz or 0.1 Hz, current in 0.1 A or 0.01 A, speed reference as a percentage of a full-scale value |
| Energy meters | Floats for live values on many models; integer maps with ×0.1 V, ×0.001 A, power factor ×0.001, or a separate scale-factor register |
| Solar inverters (SunSpec) | Integer value plus a separate scale-factor register (power of ten) |
| Pressure and level transmitters | 0.01 bar, 0.1 %, or a linear range (0–10,000 = 0–100.00 %) |
For more examples of how these columns appear in real documentation, see how to read a Modbus register map.
How to scale a signed Modbus value (int16)
Read the register as int16 first, then apply the scale. Negative values are stored in two's complement: a 16-bit register holds 0 to 65,535 as unsigned (uint16), or −32,768 to 32,767 as signed (int16). Any raw unsigned value above 32,767 is a negative number when the register is signed:
Signed value = raw − 65,536 (when raw > 32,767)
Worked examples for an outdoor temperature with a scale of 0.1:
| Raw (uint16) | Hex | As int16 | × 0.1 | Real value |
|---|---|---|---|---|
| 60 | 0x003C | 60 | 6.0 | 6.0 °C |
| 65481 | 0xFFC9 | −55 | −5.5 | −5.5 °C |
| 65436 | 0xFF9C | −100 | −10.0 | −10.0 °C |
| 65535 | 0xFFFF | −1 | −0.1 | −0.1 °C |
The classic symptom: the outdoor temperature reads fine all summer, then on the first cold night the BMS shows 6,543.6 °C. The register was set up as uint16. Raw 65,436 × 0.1 = 6,543.6. As int16 it is −100 × 0.1 = −10.0 °C. The fix is the data type, not the scale.
Order matters. Convert to signed first, then scale. Scaling a uint16 and then trying to "fix" the sign gives wrong values, and no scale or offset can turn 6,543.6 into −10.0 for every temperature.
Offsets, linear ranges and scale-factor registers
Three other patterns are common.
Offset scaling
Some devices avoid negative numbers by adding a fixed offset. "Temperature = raw ÷ 10 − 40" means a raw 650 is 65.0 − 40 = 25.0 °C, and raw 0 is −40.0 °C. In a tag: scale 0.1, offset −40.
Linear range scaling (0–10,000 or a PLC analog range)
Analog values passed through a PLC or gateway often arrive as a count over a range. The general formula is:
Real = (raw − raw_min) × (eng_max − eng_min) ÷ (raw_max − raw_min) + eng_min
Example: a Siemens S7 analog input has a nominal range of 0 to 27,648. If 0–27,648 means 0–10 bar, a raw 13,824 is 13,824 × 10 ÷ 27,648 = 5.0 bar. As a tag, that is scale 10 ÷ 27,648 ≈ 0.00036169 and offset 0. If the engineering range does not start at zero, for example 0–27,648 = −20…+80 °C, the scale is 100 ÷ 27,648 and the offset is −20.
Scale-factor registers (SunSpec and others)
Some devices, notably solar inverters that follow SunSpec, put the scale in another register. The value register holds an integer and a companion "_SF" register holds a signed power of ten:
Real = raw × 10^SF
With SF = −2, a raw 23,055 becomes 230.55. With SF = −3 for power factor, a raw 950 becomes 0.950. Two practical rules:
- Read the value and its scale factor in the same request where possible. A scale factor can change, and reading them at different times can pair a new value with an old scale.
- The scale factor is signed (int16). −2 arrives as raw 65,534.
How to find the scale of a Modbus register, step by step
When the map is missing, wrong, or does not mention scale, compare the raw register with the device display. Here is the full method on an AHU controller, using ModLens and the free ModLens Sim so every value below is real.
Step 1: Read the raw registers
Open the Explorer, choose the device, unit ID 1, Holding registers (4x), start address 0 and a count of 12, then click Read.

The RAW (UINT16) column is what the device really sends. Register 0 shows 143 (hex 0x008F), register 10 shows 65, and register 11 shows 140. The display on the controller shows a supply air temperature of 14.3 °C and a setpoint of 14.0 °C. That is a strong hint: registers 0 and 11 are temperatures with scale 0.1, and register 10 (65) is a fan speed in % with no scale.
Notice something else: the float32 CDAB column for register 0 also shows a "real-looking" value, 22.00027, highlighted in green. It is a coincidence (register 1 holds a float of its own). A plausible-looking number is only a candidate; the display check decides.
Step 2: Try the common scales on one register
Click the magnifier on register 0 to open the inspector.

The If it is a scaled value section shows the same raw 143 at four common scales: ×0.1 = 14.3, ×0.01 = 1.43, ×0.001 = 0.143 and ×10 = 1,430. Only 14.3 matches the display.
Step 3: Check a register that may go negative
Temperatures that can drop below zero must be int16. Read the outdoor sensor block: unit ID 3, holding registers, start 10, count 3.

Register 10 is 60 (outdoor temperature, 6.0 °C with ×0.1), register 11 is 68 (humidity, 68 % with no scale) and register 12 is 126 (wind speed, 12.6 km/h with ×0.1). Today the temperature is positive, so uint16 and int16 agree. Set the outdoor temperature up as int16 anyway. If the map says "signed" or the value can ever be below zero, uint16 will fail on the first cold day, as in the table above.
Step 4: Let Find a value test every scale for you
Typing raw values into a calculator works for one register. For a whole device, use Find a value: enter the number on the display, the unit IDs to search and a register range, then click Search.

With 14.3 entered, ModLens searched unit IDs 1–5, holding and input registers 0–199, in about 3 seconds and returned two candidates: unit 1, holding register 0, as uint16 and int16, both with scale 0.1 and raw 143. They are the same register read two ways. Choose int16 for a temperature. If you get several different registers, wait for the value to change (or change a setpoint), enter the new value and click Re-check candidates: only the real register stays.
If nothing is found, the device may use a scale the search does not try (×0.5, ×0.25 or a range like 0–27,648). Go back to the Explorer and work out the ratio by hand: display ÷ raw = scale.
Step 5: Save the register as a tag with scale, offset and unit
Click Make tag on the int16 line. The form opens with the address, type and scale already filled.

The tag shows unit ID 1, Holding registers, address 0, int16, scale 0.1, offset 0, 1 decimal and the unit °C. The hint under the form repeats the formula: value shown = raw value × scale + offset. For an offset device (°C + 40), you would enter scale 0.1 and offset −40 here.
Step 6: Check all the scaled values live
Add the other registers the same way, then start monitoring on Live & tags.

Each value is now in real units: supply air 14.6 °C (it moved since step 4, which is a good sign the register is live), setpoint 14 °C (holding 11, int16 ×0.1), power factor 0.9 (input register 6 on the meter, uint16 ×0.001), outdoor temperature 6 °C (int16 ×0.1) and wind speed 12.6 km/h (uint16 ×0.1). Compare each line with the display before you start logging.
You can do steps 1, 2 and 4 with the free Modbus register converter for single values, or with the ModLens free trial on the real device. The install and user guide covers connecting over TCP and RS-485.
Writing scaled values (setpoints)
To write a scaled value, do the formula backwards: raw = (real − offset) ÷ scale. To set a supply temperature setpoint of 21.5 °C on a register with scale 0.1, write 215, not 21.5.
| Wanted setpoint | Scale | Type | Write raw | Hex |
|---|---|---|---|---|
| 21.5 °C | 0.1 | int16 | 215 | 0x00D7 |
| 14.0 °C | 0.1 | int16 | 140 | 0x008C |
| −2.0 °C | 0.1 | int16 | −20 (65,516 unsigned) | 0xFFEC |
| 45.00 Hz | 0.01 | uint16 | 4500 | 0x1194 |
Common write mistakes:
- Writing the decimal value. Many tools round 21.5 to 21 or 22 when the register is an integer, and the controller then sees 2.1 °C or 2.2 °C. On a heating setpoint, that can mean the plant stops heating.
- Writing a negative value to a register set up as uint16. Use int16, or write 65,536 + the negative value.
- Ignoring limits. Many devices reject out-of-range writes with exception code 03 (Illegal Data Value), but some clamp silently. Read the register back after every write.
Common Modbus scaling mistakes and how to fix them
| Symptom | Likely cause | Fix |
|---|---|---|
| Value is exactly 10× or 100× too big | Scale missing | Set scale 0.1 or 0.01 |
| Value is exactly 10× or 100× too small | Scaled twice (device or gateway already scaled it) | Set scale 1 in one of the two places |
| Fine in summer, ~6,500 in winter | Signed value read as uint16 | Change the data type to int16 |
| Value jumps between 0 and 65,535 near zero | Same as above | int16 |
| Value always a round number (e.g. 21, 22, never 21.5) | Scale applied before an integer conversion, or decimals set to 0 | Apply the scale in a float, show 1 decimal |
| Value is off by a constant (always 40 or 273 more) | Offset missing | Add offset −40 or −273.15 |
| Value wrong by a factor like 0.36 | Linear range (0–27,648, 0–4,095, 0–10,000) | Use span ÷ count as scale |
| Value right on one device, wrong on the next of the same model | Different firmware, or a scale-factor register | Check the version and read the _SF register |
| No scale matches the display at all | Different units (°F vs °C, W vs kW, kPa vs bar) | Check the unit on the display and in the map first |
| Huge or tiny number like 1.3e-38 | Not a scaling problem: wrong data type or byte order | Try float32 and word swap; see find a register address |
Where to apply the scale: device, gateway or BMS?
Apply it once, in one place. On many projects the value passes through a gateway, a PLC and a BMS driver, and each has a scale field. Write down in the points list where the scale lives. Double scaling (the gateway divides by 10, the BMS divides by 10 again) is one of the most common causes of "values 10 times too small" during commissioning.
FAQ
What does ×10 mean in a Modbus register map?
It usually means the value has been multiplied by 10 before being sent, so you divide the raw value by 10 (scale 0.1): a raw 215 means 21.5. Some manuals use "×10" the other way, meaning multiply the raw value by 10. The worked example in the manual or a comparison with the device display tells you which one applies.
How do I convert a raw Modbus value to engineering units?
Use real value = raw × scale + offset. Read the register as the right data type first (uint16, int16, or a 32-bit type over two registers), then multiply by the scale from the register map and add any offset. For a linear range such as 0–10,000 = 0–100 %, the scale is span ÷ count, here 0.01.
Why does my Modbus temperature show 6553 instead of a negative number?
The register holds a signed value but is read as unsigned (uint16). A raw 65,436 is −100 as int16, which is −10.0 °C with a scale of 0.1, but read as uint16 it becomes 6,543.6. Change the data type to int16; the scale stays the same.
How do I convert a negative Modbus value from two's complement?
If the raw 16-bit value is above 32,767, subtract 65,536. For example, 65,481 − 65,536 = −55, which is −5.5 with a scale of 0.1. For 32-bit signed values over two registers, combine the registers first and subtract 4,294,967,296 if the result is above 2,147,483,647.
Does Modbus support decimal numbers?
Not directly. The Modbus specification only defines 16-bit registers and 1-bit coils, with no decimal or sign. Devices send decimals either as scaled integers (215 with scale 0.1) or as IEEE 754 floats spread over two registers. Which one a device uses is in its register map.
What is a scale factor register in SunSpec?
SunSpec devices store many values as an integer plus a separate scale-factor register (often named with "_SF"). The scale factor is a signed power of ten: real = raw × 10^SF, so a raw 23,055 with SF = −2 is 230.55. Read the value and its scale factor together, because the scale factor can change.
How do I write a decimal setpoint to a Modbus register?
Reverse the scaling: raw = (real − offset) ÷ scale. To write 21.5 °C to a register with scale 0.1, write 215. Read the register back after writing, because some devices clamp or reject out-of-range values.
How can I find the scale if the register map does not say?
Read the raw register and the device display at the same moment, then divide display by raw. Common results are 0.1, 0.01, 0.001 and 10; an odd ratio points to a linear range or an offset. Confirm with a second reading after the value changes. A tool that tests every common scale for you, like ModLens Find a value, speeds this up on devices with many registers.