BMS Logic Academy - Building Logic One Block At A Time
Menu

 Modbus training series

Modbus training / Part 1 of 6

What is Modbus?

Understand how BMS controllers exchange information with meters, drives and packaged plant.

How does 21.5 °C reach the BMS?

The controller polls device 5. Follow the request out and the temperature reading back.

BMS clientRead input registerFC04 · offset 0
Device 5Return raw value215
BMS displayApply scale × 0.121.5 °C
What is Modbus?

Introduced in 1979, Modbus is an open, widely supported communication protocol. BMS controllers use it to exchange data with electric meters, inverters, variable-speed drives, pumps, sensors, chillers, heat pumps and packaged equipment from different manufacturers.

An open protocol

Modbus provides a common way for equipment to exchange numbers and statuses, regardless of which company manufactured the devices.

Why engineers use it

It supports third-party integration, offers a well-established set of operations and allows structured commissioning and fault finding.

How does it work?

A controller acting as a Modbus client (traditionally called the master) initiates a request. A field device acting as a server (traditionally called a slave) sends the response. The device normally does not send unsolicited values: the BMS polls it at configured intervals.

Modbus polling cycle

BMS controller

Client / master

Request 

 Response

Energy meter

Server / slave

When polling several devices, the client requests information from each addressed server in turn and processes the returned values.

What's inside a Modbus message?

An RTU request identifies which device should respond, what operation is required and where the requested data starts. The response includes the data or an exception. RTU uses a CRC to detect transmission errors.

FieldPurposeWorked example
Slave addressWhich device?Device 5
Function codeWhich operation?FC04 - read input registers
Starting addressWhere to read?0 (reference 30001)
Response dataWhat value came back?215 � 0.1 = 21.5 �C
Error checkIs the RTU frame intact?CRC
What can Modbus read and write?

Read / monitor

Temperatures, energy readings, pump speed, drive status, faults and alarms.

Write / command

Where permitted by the manufacturer: enable commands, setpoints or operational settings. Never assume every available value is writable.

Where is Modbus used in BMS?

Typical examples include electric meters, VSDs, heat pumps, packaged ventilation units and plant controllers. The manufacturer's register list determines the available points and the correct data interpretation.

Remember: The function code, address, register layout and data type all need to be correct. Good communications alone do not prove the value is being interpreted correctly.

Check your understanding

Who normally initiates a Modbus request?

Reveal answer

The BMS client/master polls a server/slave, which then responds.

Reference: Modbus protocol specifications. Always consult the equipment manufacturer's register map.