A complaint comes in: "Zone 3 is cold every Monday morning." You open the BMS, and the history you need is not there. Either nobody set up a trend, the controller's buffer already wrapped over last Monday, or the workstation was off over the weekend.
Trending is one of the most useful tools for HVAC troubleshooting, and the BACnet trend log is how most of it is done. This guide covers the Trend Log object (from ASHRAE Standard 135), buffer sizing, polled versus COV logging, ReadRange, and when to log from a workstation instead. The screenshots show a simulated air handler, so you can repeat every step on a test bench.
What is a BACnet trend log?
A BACnet trend log is a Trend Log object (object type 20) inside a device that records the value of one property over time, with a timestamp for each record. It is defined in ASHRAE 135 as a standard object, so any BACnet workstation can configure it and read it, whatever the brand of the controller.
The object watches one property, named in Log_DeviceObjectProperty. That is usually a Present_Value, but it can be any property, in the same device or in another device. Each record holds:
- a timestamp (date and time from the device's clock),
- the logged value (real, unsigned, boolean, enumerated and so on), or a failure or status entry instead of a value,
- optionally, the Status_Flags of the logged object (in alarm, fault, overridden, out of service).
The buffer can also hold status entries such as "log disabled", "buffer purged", "log interrupted" or a clock change. A gap with a "log interrupted" entry is not the same as a flat line.
Trend Log, Trend Log Multiple and Event Log
ASHRAE 135 has three logging objects. Know which one you are looking at:
| Object | Type no. | What one record holds | Typical use |
|---|---|---|---|
| Trend Log | 20 | One value of one property | Temperatures, valve positions, setpoints |
| Event Log | 25 | One event notification (alarm, return to normal) | Alarm history kept in the controller |
| Trend Log Multiple | 27 | Values of several properties taken at the same moment | A whole AHU in one record, aligned timestamps |
Many controllers only support Trend Log; the device's PICS (Protocol Implementation Conformance Statement) lists the object types it supports.
The Trend Log properties you actually touch
Most of the configuration lives in about ten properties. The names below are the ASHRAE 135 property names; your BMS may show friendlier labels.
| Property | What it does | Field tip |
|---|---|---|
| Enable | Logging on or off | Disabled logs still show old data, so check this first when a trend "stopped" |
| Log_DeviceObjectProperty | The property being logged (device, object, property) | Wrong object instance after a database download is a classic |
| Logging_Type | POLLED, COV or TRIGGERED | See the next section |
| Log_Interval | Time between records, in hundredths of a second | 90000 = 15 minutes, 6000 = 1 minute |
| Start_Time / Stop_Time | Optional window when logging is active | An old Stop_Time silently ends logging |
| Buffer_Size | Maximum number of records kept | Decides how many days of history you get |
| Record_Count | Records in the buffer now | Writing 0 clears the buffer; no other value can be written |
| Total_Record_Count | Records ever logged (keeps counting after the buffer wraps) | Used as the sequence number by ReadRange |
| Stop_When_Full | TRUE: stop when full; FALSE: overwrite the oldest record | FALSE (circular) is what you want for diagnostics |
Watch the unit of Log_Interval: hundredths of a second. A generic BACnet explorer shows the raw number, so 900 means 9 seconds, not 15 minutes.
Polled, COV or triggered logging: which one to choose?
Use polled logging for steady trends that are easy to read and compare, COV logging to catch fast changes without filling the buffer, and triggered logging for event-based captures.
- POLLED: a record every Log_Interval, change or not. Predictable buffer use and regular timestamps. A slow change shows as a staircase; a short event between two samples is missed.
- COV: the trend log subscribes to the logged property and records each change of value notification. For analog values, a change is a move larger than the COV increment (the object's COV_Increment, or Client_COV_Increment if set). Steady values use almost no buffer; a hunting valve can fill it quickly. COV_Resubscription_Interval (in seconds) renews the subscription so a device restart does not end the logging.
- TRIGGERED: a record is taken each time the Trigger property is written to TRUE. Useful for "capture the values when this alarm happens" logic, rarely used for plain trending.
A practical rule many integrators follow: polled at 1 to 15 minutes for temperatures and setpoints, COV for binary points (fan status, occupancy) and for valves and dampers you are tuning.
How long will the buffer last? A worked example
Days of history = Buffer_Size ÷ records per day. For polled logs, records per day = 86,400 ÷ interval in seconds.
| Log interval | Records per day | Buffer of 500 | Buffer of 1,000 | Buffer of 5,000 |
|---|---|---|---|---|
| 1 minute | 1,440 | 8.3 hours | 16.7 hours | 3.5 days |
| 5 minutes | 288 | 1.7 days | 3.5 days | 17.4 days |
| 15 minutes | 96 | 5.2 days | 10.4 days | 52 days |
| 60 minutes | 24 | 20.8 days | 41.7 days | 208 days |
Worked example: the "cold on Monday" complaint. You want to see the full weekend plus Monday morning, so at least 4 days. At 15 minutes and a buffer of 500 records you have 5.2 days: enough, but only just, and only if somebody collects the data before Friday. At 5 minutes the same buffer covers 1.7 days and the Monday morning record will be gone by Wednesday.
Buffer sizes depend on the controller's memory and differ a lot between vendors; some share one memory pool between all logs. For example, Johnson Controls' Metasys documentation lists a default of 144 samples and a maximum of 5,000 for its Trend Log object. Check your vendor's documentation before promising anyone a month of 1-minute data.
For COV logs you cannot calculate this in advance. A value that changes every 30 seconds fills 1,000 records in about 8 hours.
How a workstation reads a trend log: ReadRange
A workstation reads trend records with the ReadRange service, asking for a slice of the Log_Buffer by position, by sequence number or by time. Reading the whole Log_Buffer with ReadProperty usually fails because the buffer does not fit in one message.
The three ways to ask:
- By position: "give me 50 records starting at record 1" (or counting backwards from the newest).
- By sequence number: "give me the records after sequence number 12,340". The sequence number follows Total_Record_Count, so the workstation can ask only for what is new since its last read, even after the buffer wrapped.
- By time: "give me the records after 2026-11-30 06:00".
Automated collection uses Notification_Threshold: when that many new records are in the buffer, the device sends a BUFFER_READY notification and the workstation reads the new records by sequence number. That is how a BMS server builds years of history from a buffer that holds only days.
In BIBB terms (the building blocks a PICS lists), look for T-VMT (viewing and modifying trends) and T-ATR (automated trend retrieval). A device marked T-VMT-I-B keeps its own trend logs; T-ATR-B means it can notify a workstation that records are ready.
Trend logs in the controller vs logging from a workstation
Controller trend logs survive network and PC outages; workstation logging covers many points fast, works on devices without Trend Log objects, and keeps as much history as the disk holds. Most sites need both.
| Trend Log object in the controller | Logging from a workstation | |
|---|---|---|
| Survives network or PC outage | Yes, the controller keeps logging | No, a gap appears |
| Setup effort | One object per point, per controller | Choose points (or all of them) once |
| History length | Limited by Buffer_Size | Limited by disk space |
| Devices without Trend Log support | Not possible | Works with any device that answers ReadProperty |
| Network traffic | Low (records read in batches) | Higher (every point read at every interval) |
| Good for | Critical points, compliance, long-term BMS archive | Commissioning, troubleshooting, temporary studies |
On MS/TP, be careful with the read rate. At 38,400 baud a trunk carries only a limited number of messages per second, and polling 30 devices every few seconds can slow the token loop for everybody. Controller trend logs read in batches are much lighter. See BACnet MS/TP troubleshooting for how token traffic behaves.
Step by step: logging an AHU from a workstation with BacLens
BacLens is a free BACnet explorer (public beta) that records every point it discovers, without you having to create anything in the controllers. The steps below use BacLens Sim, the free BACnet simulator, so you can try it at your desk: the device is a simulated air handler, AHU-2 (device 11001).
Step 1: Set the read rate and how long to keep history
After discovery, BacLens reads every point of every device and stores the values in a local database. The Logging card in Settings has three controls: the "Record all point values continuously" checkbox, Read every (seconds) and Keep history (days, 0 = forever).

On this test PC the read rate is 5 seconds and history is kept 30 days. The defaults are 15 seconds and 365 days. The card also shows what is stored: about 2.1 million values in 176 MB here, and the last read of 240 points took 0.5 s.
Choose the read rate like a Log_Interval: 5 to 15 seconds on a fast BACnet/IP network, 30 to 60 seconds on a busy MS/TP trunk. BacLens reads up to 20 points per ReadPropertyMultiple request when the device supports it.
Step 2: Understand what gets stored
BacLens does not store a row for every read. It stores changes: for analog points a new sample is written when the value moves by at least 0.5 % of its value (and at least 0.05 units), for binary and multi-state points on every change of state, plus one sample every 10 minutes when nothing changes. It works like a COV log with a heartbeat: steady points cost almost nothing and fast-moving points keep their detail.
Step 3: Chart one point
On the device page, the 📈 icon next to any point opens its chart, with 1 h, 6 h, 24 h, 7 days and 30 days views.

This is the duct static pressure (SA-SP) of AHU-2 over the last hour. It sits at 0 Pa while the supply fan is off, jumps when the fan starts just after 06:05, then holds close to its 250 Pa setpoint with small movements up and down. Hover over the line to read the exact value and time of any sample. Because every change is kept, a short spike is visible even on the 30-day view: when the chart has to reduce the number of samples, it keeps the minimum and maximum of each time slice instead of averaging them away.
Step 4: Compare several points on one time line
The Data log page puts several points of one device on the same time line, with a slider to move through time and a replay at up to 3,600 times real speed.

Here the duct static pressure is shown with its setpoint (DSP-SP, 250 Pa) and the supply fan speed (SF-VFD). You can read the start sequence at a glance: the fan speed jumps to about 53 % when the fan starts, then settles near 44.5 % once the pressure reaches the setpoint, and the pressure stays within a few pascals of 250 Pa. Below, "Values at this moment" shows every point of the AHU at the cursor time: a workstation version of a Trend Log Multiple, with nothing configured in the controller. Click a tile to add or remove that point from the chart.
Step 5: Summarise and export for a report
Reports → Trend summary gives the minimum, maximum, average and last value of the points you choose over a period (last 24 hours up to 12 months), as a printable page and a CSV file for Excel.

In this example the outdoor air temperature went from 4.32 to 13.12 °C over the last 24 hours with 562 samples, while the fan speed has only 17 samples: it changes in steps, so few records are needed. The Samples column tells you how many changes were recorded for each point in the period. A setpoint with very few samples did not move; a temperature with very few samples over 24 hours probably means a frozen sensor or a device that stopped answering.
What BacLens does not do: it does not read the Trend Log objects stored in the controllers (ReadRange). To pull a controller's own trend buffer, use the vendor's BMS software or a BACnet explorer that displays trend logs, such as YABE. The two approaches complement each other.
Common mistakes with BACnet trend logs
Most "the trend is empty" problems come from a handful of settings. Check these in order:
- Enable is FALSE. Disabled during commissioning and never turned back on, or stopped by Stop_When_Full.
- Stop_When_Full is TRUE. The buffer filled up weeks ago and logging stopped. For diagnostics, set it to FALSE so the oldest records are overwritten.
- Log_Interval read as seconds. 900 is 9 seconds. The buffer then lasts 100 times less than you expected.
- Old Stop_Time. A Stop_Time in the past ends logging silently.
- Wrong object reference. After a program change, Log_DeviceObjectProperty still points to the old object instance, and the log records the wrong point or only errors.
- Device clock wrong. Records carry the device's time. A controller that lost its time after a power cut logs with dates in the past. Set up time synchronization from the BMS.
- COV increment too small. A COV log on a noisy sensor with an increment of 0.01 fills the buffer in hours. Use 0.2 to 0.5 °C for temperatures.
- Workstation asleep. For PC-based logging, turn off sleep. BacLens writes a system log event when reading falls behind, so gaps are explained.
What to trend for HVAC troubleshooting
Trend the controlled variable, its setpoint and the output together, or the trend tells you nothing about why. For an air handler that means: supply air temperature with its setpoint and both valves (hunting, simultaneous heating and cooling), duct static with its setpoint and fan speed, outdoor, mixed and return air temperatures with the outdoor damper (economizer faults), and fan command with fan status.
ASHRAE Guideline 36 sequences use these same relationships for their fault detection rules. Once you have trends, you can check them automatically: see AI fault detection for HVAC for what such rules look for, and BACnet object types in plain English if the AI, AO and AV names in your trend list are new to you.
FAQ
What is a trend log in BACnet?
A trend log is a standard BACnet object (Trend Log, object type 20) that records the value of one property, usually Present_Value, with a timestamp. It can record at a fixed interval, on change of value, or when triggered, and keeps the records in a buffer that a workstation reads with the ReadRange service.
What unit is Log_Interval in?
Log_Interval is in hundredths of a second. A 15-minute interval is 90,000 and a 1-minute interval is 6,000. Most BMS software converts it to minutes for you, but a generic BACnet explorer shows the raw value.
How do I clear a BACnet trend log?
Write 0 to the Record_Count property. That is the only value Record_Count accepts. The device then empties Log_Buffer and usually adds a "buffer purged" entry; Total_Record_Count keeps counting.
Should I use COV or polled trend logs?
Polled logs give regular timestamps and predictable buffer use. COV logs record only real changes, so they catch short events and save buffer on steady values, but a noisy point fills the buffer fast. Many integrators use polled logs for analog values and COV logs for binary points.
Why is my BACnet trend log empty or stopped?
Check Enable, Stop_When_Full (a full buffer with Stop_When_Full TRUE stops logging), Start_Time and Stop_Time, and Log_DeviceObjectProperty. Also check the device clock: records with dates in the past can make a trend look empty in the time window you are viewing.
How does a BMS keep years of history if the controller buffer is small?
The BMS server reads new records regularly with ReadRange, often when the device sends a BUFFER_READY notification after Notification_Threshold new records, and stores them in its own database. The controller only needs to hold records until the server collects them.
Can I trend BACnet points without creating trend log objects?
Yes. A workstation can read the points itself at a regular rate and store the values; this is called workstation or client-side logging. It works with devices that have no Trend Log objects and needs no change in the controllers, but it stops if the PC is off. BacLens does this for every discovered point; download it here and try it with the free BACnet simulator.