OTDeck

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.

PropertyIdRequiredWhat it means in practice
Present_Value85yesThe state number, 1 to Number_Of_States.
Status_Flags111yesFour bits: in-alarm, fault, overridden, out-of-service. The quickest health check of a point.
Event_State36yesnormal, or the alarm state the object is in (high-limit, low-limit, offnormal, fault).
Reliability103Why 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_Service81yesTRUE takes the value away from the program that sets it.
Number_Of_States74yesHow many states there are; Present_Value runs from 1 to this number.
State_Text110An array with one name per state: State_Text[2] is the name of state 2.
Priority_Array87if commandable16 slots, 1 highest. Each holds a commanded value or NULL; the highest non-NULL slot becomes Present_Value.
Relinquish_Default104if commandableThe value Present_Value takes when all 16 slots are NULL.
Alarm_Values7States that count as offnormal.
Fault_Values39States 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.

PropertyValue and meaning
Number_Of_States4: 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_Value3, shown as Heat.
Priority_ArraySlot 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.

PriorityUse in ASHRAE 135
1Manual-Life Safety
2Automatic-Life Safety
3Available
4Available
5Critical Equipment Control
6Minimum On/Off
7Available
8Manual Operator
9–16Available (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

Field pitfalls

Reading, writing and watching it in OTDeck

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.