Protocols & Integration

Modbus Protocol: RTU, TCP, and Implementation in HVAC Systems

Technical BAS guidance tied to products, tools, downloadable files, and RFQ when you are ready to move from research into action.

Published 2026-04-16
Focus Modbus Protocol: RTU, TCP, and Implementation in HVAC Systems
Best for Engineering review, product selection, and site delivery prep

Modbus is one of the oldest and most widely used industrial communication protocols. Originally developed by Modicon (now Schneider Electric) in 1979 for programmable logic controllers, Modbus remains popular in HVAC and building automation due to its simplicity, reliability, and near-universal support.

Use this page to understand the topic first. Then move to tools, product selection, or RFQ without leaving the context.

Guide map

In this guide

Use the section map when you need to jump to the answer without breaking the reading flow.

Introduction


Modbus Protocol Overview

What Is Modbus?

Modbus is a master-slave request-response protocol for serial communication. A master device (controller) sends requests to slave devices (sensors, actuators, drives), which respond with the requested data.

Key Characteristics

Characteristic Description
Type Master-slave (1 master, multiple slaves)
Physical RS-485, RS-232, TCP/IP
Addressing Slave address 1-247
Error detection CRC (RTU), LRC (ASCII)
Data format Registers: 16-bit integers, coils: 1-bit

Modbus Variants

Modbus RTU

Physical: RS-485 (most common in HVAC) Encoding: Binary Speed: 9600-115200 bps

Frame format:

[Slave Address] [Function Code] [Data] [CRC Error Check]
  1 byte          1 byte          N bytes  2 bytes

Modbus TCP

Physical: Ethernet (TCP/IP) Encoding: Binary over TCP Port: 502

Frame format:

[Transaction ID] [Protocol ID] [Length] [Unit ID] [Function Code] [Data]
    2 bytes         2 bytes       2 bytes  1 byte      1 byte         N bytes

Modbus ASCII

Physical: RS-232 or RS-485 Encoding: ASCII text Speed: Slower than RTU; rarely used in modern systems


Function Codes

Code Name Description
01 Read Coils Read 1-bit output status
02 Read Discrete Inputs Read 1-bit input status
03 Read Holding Registers Read 16-bit values
04 Read Input Registers Read 16-bit input values
05 Write Single Coil Write 1-bit output
06 Write Single Register Write 16-bit value
15 Write Multiple Coils Write multiple 1-bit outputs
16 Write Multiple Registers Write multiple 16-bit values

Data Mapping

Register Types in HVAC

Register Type Function Code Typical Use
Holding Register 40001-49999 03/06/16 Read/write values (setpoints, commands)
Input Register 30001-39999 04 Read-only measurements
Coil 00001-09999 01/05/15 Binary on/off control
Discrete Input 10001-19999 02 Binary status inputs

Scaling in Modbus

Modbus registers are 16-bit integers (0-65535). Real-world values require scaling:

Temperature (°F):
    Raw register value: 725 (represents 72.5°F)
    Scale factor: 0.1
    Actual value: 72.5°F

Flow Rate (GPM):
    Raw register value: 1500 (represents 1500 GPM)
    Scale factor: 1
    Actual value: 1500 GPM

Modbus in HVAC Applications

Equipment with Modbus

  • Variable frequency drives (VFDs)
  • Chillers
  • Generators
  • Power meters
  • Some sensors and actuators
  • Legacy PLCs

Typical Data Points

Equipment Data Points
VFD Speed command, speed feedback, run/stop, fault, kW, Hz
Chiller Capacity %, LCHWT, CHW flow, entering/leaving temps, status, alarms
Power meter kW, kWh, voltage, current, power factor

Modbus vs. BACnet

Factor Modbus BACnet
Architecture Master-slave Peer-to-peer
Complexity Simple Comprehensive
Standard object model No Yes (built-in)
Native BTL testing N/A Yes
Native discovery No Yes (WhoIs)
Energy savings integration Limited Extensive
Modern buildings Less common for primary BAS Dominant
Equipment integration Excellent Good (with gateways)

Implementation Tips

  1. Consistent data types: Define register maps clearly for each device
  2. Polling rate: Don't poll faster than the device can respond (typically 1-5 seconds for most HVAC devices)
  3. Register numbering: Modbus register numbers are 1-based; programming often uses 0-based (adjust accordingly)
  4. Endianness: Modbus uses big-endian (most significant byte first)
  5. Gateway for BACnet: Use Modbus-to-BACnet gateways for integrating Modbus devices into BACnet BAS

Keywords: Modbus, Modbus RTU, Modbus TCP, Modbus register, master slave, HVAC protocol, Modbus gateway, Modbus vs BACnet

Next step

Turn this guidance into a project decision

Keep the reading flow clean, then use the shortest path for the job: matched product, engineering tool, reference file, or project help.

Keep the context

Related articles

Visit blog

Decision support

Article FAQ

Use the quick answers below when you are ready to move from reading into tools, product checks, or RFQ.

Start with AHU Control Panel Wiring Reference to confirm points, wiring, or integration scope, then compare USB to RS485 Converter (CP2102) against the required control scope, and review the AHU Controls solution page for system-level fit.

This article maps most closely to the Protocols & Integration cluster. The nearest application page is AHU Controls. The strongest product handoff from here is USB to RS485 Converter (CP2102).

Bring your control sequence, point list, protocol expectations, target lead time, and the main project risk you want reviewed. If you already have AHU Control Panel Wiring Reference, include it with the request so technical review can move faster.