BACnet object reference · type 19
BACnet Multi-state Value object (MSV, type 19)
The BACnet multi-state value object holds a software state with names: a system mode (Off, Auto, Manual), a season, an occupancy mode. Note its type number is 19, not 15: the multi-state value came later than the input and output.
- Object type
- 19 (multi-state-value)
- Common abbreviation
- MSV
- Present_Value
- Unsigned, 1 to Number_Of_States
- Commandable
- Optional: commandable only when it has Priority_Array and Relinquish_Default
- COV
- Yes: on every change of Present_Value or Status_Flags
- In OTDeck
- multi-state-value:1 or msv:1
What it is
A multi-state value is the software counterpart of the multi-state input and output: no hardware behind it, a set of named states the control program acts on.
Object type 19 in ASHRAE 135, written multi-state-value,N or MV-N / MSV-N.
Properties
Property identifiers as in ASHRAE 135. Required: present in every Multi-state Value object; blank: optional or required only in some configurations.
| Property | Id | Required | What it means in practice |
|---|---|---|---|
| Present_Value | 85 | yes | The state number, 1 to Number_Of_States. |
| Status_Flags | 111 | yes | Four bits: in-alarm, fault, overridden, out-of-service. The quickest health check of a point. |
| Event_State | 36 | yes | normal, or the alarm state the object is in (high-limit, low-limit, offnormal, fault). |
| Reliability | 103 | Why a value is not trustworthy: no-sensor, over-range, under-range, open-loop, shorted-loop, communication-failure, and so on; no-fault-detected when all is well. | |
| Out_Of_Service | 81 | yes | TRUE takes the value away from the program that sets it. |
| Number_Of_States | 74 | yes | How many states there are; Present_Value runs from 1 to this number. |
| State_Text | 110 | An array with one name per state: State_Text[2] is the name of state 2. | |
| Priority_Array | 87 | if commandable | 16 slots, 1 highest. Each holds a commanded value or NULL; the highest non-NULL slot becomes Present_Value. |
| Relinquish_Default | 104 | if commandable | The value Present_Value takes when all 16 slots are NULL. |
| Alarm_Values | 7 | States that count as offnormal. | |
| Fault_Values | 39 | States that mean a fault. |
Worked example: An operating mode as a multi-state value
A unit's operating mode as multi-state-value:4, commandable, with an alarm on one state.
| Property | Value and meaning |
|---|---|
| Number_Of_States | 4: Present_Value runs from 1 to 4. |
| State_Text | [1] Off, [2] Auto, [3] Heat, [4] Cool. The array index is the state number. |
| Present_Value | 3, shown as Heat. |
| Priority_Array | Slot 16: 2 (Auto, from the schedule); slot 10: 3 (Heat, a technician's override). |
| Alarm_Values | {4}: Cool in the heating season is an alarm (change-of-state reporting). |
| Fault_Values | {}: no state means a fault here. |
Relinquishing slot 10 brings Present_Value back to 2, Auto. Writing 5 is refused by the device with value-out-of-range, because the object has four states.
Priority array and relinquish
A write to Present_Value goes into one slot of the priority array: the priority in the WriteProperty request, or 16 when the request carries none. The multi-state value takes the value of the highest-priority slot that is not NULL. Writing NULL at a priority (relinquish) empties that slot; when all 16 are empty, Present_Value falls back to Relinquish_Default.
Without a priority array a write replaces the value and the priority is ignored.
| Priority | Use in ASHRAE 135 |
|---|---|
| 1 | Manual-Life Safety |
| 2 | Automatic-Life Safety |
| 3 | Available |
| 4 | Available |
| 5 | Critical Equipment Control |
| 6 | Minimum On/Off |
| 7 | Available |
| 8 | Manual Operator |
| 9–16 | Available (16 is used when a write carries no priority) |
COV
Every change of state or Status_Flags is reported.
Typical uses in HVAC and BMS
- Plant mode: Off, Auto, Manual, Test.
- Occupancy mode: Occupied, Unoccupied, Standby, Bypass.
- Season or heating/cooling changeover chosen by the BMS.
Field pitfalls
- Off-by-one when mapping from 0-based lists in other systems.
- Two state texts with the same name: writing by name is ambiguous; write by number.
- Assuming commandable: check for Priority_Array before relying on relinquish.
- Writing the state's name instead of its number: BACnet writes an Unsigned, the state number, and the name is only State_Text.
- Assuming 0 is a state: multi-state values start at 1, and 0 is always out of range.
Reading, writing and watching it in OTDeck
- Select multi-state-value:1 (or msv: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.
- Values show as Auto (2); Write… takes a state number or name and shows the number it sends. Writes are Pro, refused on read-only connections, need the connection name typed on production connections, and land in the write log as bacnet.write with the object, value and priority.
- The simulator's multi-state-value:1 Mode has three states (Off, Auto, Manual), is commandable and sits at Auto (2).
- The Alarms tab's Configured view shows the object's Alarm_Values, time delay and reported transitions when it reports change-of-state alarms.
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 object type number of a BACnet multi-state value?
19. Multi-state input is 13 and multi-state output 14; 15 is the notification class.
Can I write a BACnet multi-state value by its state name?
On the wire only the number is sent. A client looks the name up in State_Text and writes the matching number; OTDeck does that and shows the number before you confirm.
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.