Skip to workspace
BAS Bridge
System explorer

Level 4 · Modbus and system integration

Verify a Modbus gateway translation

18 minutes · Intermediate

Reading open · Practical open · Knowledge check open

What you’ll learn

  • Interpret a register using the manufacturer's map.
  • Separate communications success from signedness, scale and freshness errors.
Before you start · 2 related lessons0 of 2 prerequisites demonstrated. You can open this lesson at any time.

Use the exact map

Modbus RTU carries frames across a serial link and Modbus TCP carries application messages over TCP. A gateway may be healthy on the IP side while holding the last good sample from an unavailable serial meter. Identify the device model and firmware, register table, displayed reference convention and actual data format. Coils hold bits while holding and input registers hold 16-bit words. A multi-register value needs documented word order.

Decode the example explicitly

A map defines a signed 16-bit leaving-water temperature in tenths of a degree Celsius. A recorded word of 0xFFEA has unsigned value 65,514. As a signed 16-bit integer its value is 65,514 − 65,536 = −22. Applying the 0.1 scale gives −2.2°C. A plausible raw integer still needs its scale, units and any reserved invalid codes checked against the device documentation.

Preserve evidence across the integration

Compare the local meter display, the gateway's recorded last successful poll and the supervisor's mapped value for the same interval. A new front-end timestamp can merely indicate that a cached value was republished. For an authorized correction, record the original mapping, change only the confirmed field and compare at least two operating states with an independent reference.

From register to a trustworthy trend
  1. Meter display
  2. Documented register and format
  3. Gateway sample and age
  4. Scaling and units
  5. Supervisor trend

Normal operation

Example training conditions

  • A fictional device map specifies a signed 16-bit holding register in tenths of a degree Celsius. The requested register returns 213; the gateway displays 21.3°C and the local display agrees.
  • The map must identify the data type, scale and address convention before the raw value can be interpreted.

Worked service example

An energy meter appears online but demand is ten times the local display.

Recorded field evidence · training example

  • Local display 18.6 kW
  • Recorded unsigned register 186
  • Map defines 0.1 kW per count
  • Supervisor 186 kW

The raw count agrees with the display once scaled. The engineering-unit mapping is missing its multiplier. The matching sample times help distinguish this from a changing load.

Field procedure

  1. Locate the exact model's register definition and check whether the integration tool uses zero- or one-based display notation.
  2. Compare its recorded word and timestamp with an independent local reading.
  3. Calculate engineering units and document where the conversion occurs.

Hands-on exercise

Compare a raw input with a scaled engineering value. Explain where a factor-of-ten error could enter the integration.

Analog signal converter

0–100 psi transmitter · 0.00 psi

Set a 0–100 psi, 4–20 mA transmitter to the signal that represents 75 psi.

Unit 9 service call

East wing temperatures are flat on the BAS while the equipment still responds.

Use local references, point age and affected devices to bound the fault. Bring back the source, reading and time of your strongest observation.

Open case simulator

Knowledge check

Pass at 80%.

1. A fictional 16-bit signed register contains −32 and the approved map specifies tenths of a degree Celsius. What should the mapped temperature display?
2. Two adjacent registers make one 32-bit value. A known local test value is decoded incorrectly despite correct scaling. What map detail should be checked?
3. A register holds 317 counts with 0.1 kW per count. What should the supervisory trend show?
4. The gateway's BACnet object just updated but its serial meter sample is 40 minutes old. Which timestamp determines the age of the measurement?
5. A device manual identifies a holding register by a display label and separately lists its zero-based protocol offset. Which value should be entered into the gateway?

Field takeaways

  • Document the decoding rule as well as the register number.
  • Separate endpoint data age from gateway communication health.

References and further reading

Technician handbook