BACnet object reference · type 12
BACnet Loop object (type 12): PID control
The BACnet loop object exposes a PID control loop: it reads a controlled variable, compares it with a setpoint and writes its output to another object. Present_Value is the loop output.
- Object type
- 12 (loop)
- Common abbreviation
- LP
- Present_Value
- REAL: the loop output, in Output_Units
- Commandable
- No; it writes its output to the manipulated variable at Priority_For_Writing
- COV
- Yes: on a change of at least COV_Increment, or of Status_Flags
- In OTDeck
- loop:1
What it is
A loop ties three references together: the controlled variable (a temperature), the setpoint (a fixed value or another object), and the manipulated variable (usually an analog output) it writes its Present_Value to.
Object type 12 in ASHRAE 135. Many controllers run PID internally without exposing loop objects; when they do, the loop is the way to see and tune it over BACnet.
Properties
Property identifiers as in ASHRAE 135. Required: present in every Loop object; blank: optional or required only in some configurations.
| Property | Id | Required | What it means in practice |
|---|---|---|---|
| Present_Value | 85 | yes | The output of the PID algorithm, in Output_Units. |
| Output_Units | 82 | Units of Present_Value, often percent. | |
| Manipulated_Variable_Reference | 60 | The object and property the loop writes (an analog output's Present_Value). | |
| Controlled_Variable_Reference | 19 | The object and property it controls (a sensor's Present_Value). | |
| Controlled_Variable_Value | 21 | The current value of the controlled variable. | |
| Setpoint_Reference | 109 | Where the setpoint comes from, when it is another object. | |
| Setpoint | 108 | The setpoint value in use. | |
| Action | 2 | direct or reverse: whether the output rises or falls when the controlled variable rises above setpoint. | |
| Proportional_Constant | 93 | P gain. | |
| Integral_Constant | 49 | I term. | |
| Derivative_Constant | 26 | D term. | |
| Bias | 14 | Output offset. | |
| Maximum_Output | 61 | Upper clamp of the output. | |
| Minimum_Output | 68 | Lower clamp of the output. | |
| Priority_For_Writing | 88 | The priority the loop writes its output at. | |
| COV_Increment | 22 | if COV | The smallest change of Present_Value that makes the device send a COV notification. |
| Status_Flags | 111 | yes | Four bits: in-alarm, fault, overridden, out-of-service. The quickest health check of a point. |
| Out_Of_Service | 81 | yes | TRUE stops the loop from writing; the output stays where it is. |
Commanding
A loop has no priority array. It is itself a commander: it writes the manipulated variable at Priority_For_Writing, so an operator override at a higher priority on that output takes the output away from the loop.
COV
Subscribing to a loop reports changes of Present_Value by COV_Increment and of Status_Flags, which is a cheap way to watch a loop's output while tuning.
Typical uses in HVAC and BMS
- Supply air temperature control through a heating or cooling valve.
- Duct static pressure control through a fan speed.
- Chilled water differential pressure control through pump speed.
Field pitfalls
- Action set the wrong way round: the valve opens further as the space overheats.
- An override on the manipulated output at a higher priority: the loop winds up while its output has no effect.
- Units of the integral and derivative constants differ between vendors (Integral_Constant_Units, Derivative_Constant_Units): check them before copying values between controllers.
Reading, writing and watching it in OTDeck
- Select loop:1 in the object tree: OTDeck reads every property the device lists (Property_List, or the standard set on older devices) with ReadPropertyMultiple, and shows Present_Value large with its units and status flags.
- Watch it: the watch list subscribes with SubscribeCOV (lifetime 300 s, renewed while watched) and falls back to polling when the device refuses; the value goes to the trend panel next to MQTT, Modbus and OPC UA values.
- Watch the loop's Present_Value next to its controlled variable and output on the trend panel to see how it behaves. OTDeck 0.7 writes Present_Value only, so tuning constants are read, not written.
OTDeck is a BACnet/IP and BACnet/SC client for macOS, Windows and Linux; discovering, reading and watching are free for one connection.
FAQ
What is the Present_Value of a BACnet loop object?
The loop output: the value the PID algorithm writes to the object named in Manipulated_Variable_Reference, in Output_Units.
Is a BACnet loop commandable?
No. A loop has no priority array; it commands another object at its Priority_For_Writing.
Related object types
Download OTDeck, free for one connection BACnet client All object types
Object type numbers and property identifiers follow ASHRAE 135 (BACnet). Devices differ in which optional properties they implement; read the object's Property_List for the real set. Found a mistake? Write to support@otdeck.com. BACnet is a trademark of ASHRAE; OTDeck is not affiliated with ASHRAE.