10.3 OptionSet DataTypes used for BACnet bit strings

10.3.1 General

BACnet bit strings data types are mapped to OPC UA Structure DataTypes derived from the OptionSet DataType defined in OPC 10000-5.

The OptionSet structure contains the field value as ByteString and the field validBits as ByteString. The validBits field indicates which bits in the field value are valid.

All DataTypes defined in this clause are derived from the OptionSet DataType and expose the list of bit names defined in the tables as 0:PropertyType OptionSetValues of the DataType node. The OptionSetValues 0:PropertyType provides an array of LocalizedText.

10.3.2 BACnetDaysOfWeek

This DataType is a subtype of 0:OptionSet representing the days of a week. Its values are defined in Table 94.

Table 94 – BACnetDaysOfWeek Values
Value Bit No. Description
monday0
tuesday1
wednesday2
thursday3
friday4
saturday5
sunday6

Its representation in the AddressSpace is defined in Table 95.

Table 95 – BACnetDaysOfWeek Definition
Attribute Value
BrowseNameBACnetDaysOfWeek
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasPropertyVariable0:OptionSetValues0:LocalizedText []0:PropertyType

10.3.3 BACnetEventTransitionBits

This DataType is a subtype of 0:OptionSet representing BACnet event transition bits. Its values are defined in Table 96.

Table 96 – BACnetEventTransitionBits Values
Value Bit No. Description
to-offnormal0
to-fault1
to-normal2

Its representation in the AddressSpace is defined in Table 97.

Table 97 – BACnetEventTransitionBits Definition
Attribute Value
BrowseNameBACnetEventTransitionBits
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasPropertyVariable0:OptionSetValues0:LocalizedText []0:PropertyType

10.3.4 BACnetLimitEnable

This DataType is a subtype of the 0:OptionSet representing if limits are enabled. Its values are defined in Table 98.

Table 98 – BACnetLimitEnable Values
Value Bit No. Description
lowLimitEnable0
highLimitEnable1

Its representation in the AddressSpace is defined in Table 99.

Table 99 – BACnetLimitEnable Definition
Attribute Value
BrowseNameBACnetLimitEnable
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasPropertyVariable0:OptionSetValues0:LocalizedText []0:PropertyType

10.3.5 BACnetObjectTypeSupportedBits

This DataType is a subtype of 0:OptionSet and represents an option set that defines the object types that are supported by the BACnet Device. The OptionSetValues are defined in Table 100.

Table 100 – BACnetObjectTypeSupportedBits OptionSetValues
Name Bit No. Description
analog-input0
analog-output1
analog-value2
binary-input3
binary-output4
binary-value5
calendar6
command7
device8
event-enrollment9
file10
group11
loop12
multi-state-input13
multi-state-output14
notification-class15
program16
schedule17
averaging18
multi-state-value19
trend-log20
life-safety-point21
life-safety-zone22
accumulator23
pulse-converter24
event-log25
global-group26
trend-log-multiple27
load-control28
structured-view29
access-door30
UNASSIGNED_3131
access-credential32
access-point33
access-rights34
access-user35
access-zone36
credential-data-input37
network-security38
bitstring-value39
characterstring-value40
date-pattern-value41
date-value42
datetime-pattern-value43
datetime-value44
integer-value45
large-analog-value46
octetstring-value47
positive-integer-value48
time-pattern-value49
time-value50
notification-forwarder51
alert-enrollment52
channel53
lighting-output54

Its representation in the AddressSpace is defined in Table 101.

Table 101 – BACnetObjectTypeSupportedBits Definition
Attribute Value
BrowseNameBACnetObjectTypeSupportedBits
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasPropertyVariable0:OptionSetValues0:LocalizedText []0:PropertyType

10.3.6 BACnetServicesSupportedBits

This DataType is a subtype of 0:OptionSet and represents an option set that defines the BACnet service set supported by the BACnet device. The OptionsSetValues are defined in Table 102.

Table 102 – BACnetServicesSupportedBits OptionSetValues
Name Bit No. Description
acknowledgeAlarm0
confirmedCOVNotification1
confirmedEventNotification2
getAlarmSummary3
getEnrollmentSummary4
subscribeCOV5
atomicReadFile6
atomicWriteFile7
addListElement8
removeListElement9
createObject10
deleteObject11
readProperty12
UNASSIGNED_1313
readPropertyMultiple14
writeProperty15
writePropertyMultiple16
deviceCommunicationControl17
confirmedPrivateTransfer18
reinitializeDevice19
vtOpen20
vtClose21
vtData22
UNASSIGNED_2423
UNASSIGNED_2524
i-Am25
i-Have26
unconfirmedCOVNotification27
unconfirmedEventNotification28
unconfirmedPrivateTransfer29
unconfirmedTextMessage30
timeSynchronization31
who-Has32
who-Is33
readRange34
utcTimeSynchronization35
lifeSafetyOperation36
subscribeCOVProperty37
getEventInformation38
writeGroup39

Its representation in the AddressSpace is defined in Table 103.

Table 103 – BACnetServicesSupportedBits Definition
Attribute Value
BrowseNameBACnetServicesSupportedBits
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasPropertyVariable0:OptionSetValues0:LocalizedText []0:PropertyType

10.3.7 BACnetStatusFlags

This DataType is a subtype of 0:OptionSet and represents an option set that defines the general health of the device. Three of the values are flags that are associated with values of other properties of the object. Read these values to obtain more specific error information. See the BACnet specification for more information. The OptionSetValues are defined in Table 104.

Table 104 – BACnetStatusFlags OptionSetValues
Name Bit No. Description
InAlarm0
Fault1
Overriden2
OutOfService3

Its representation in the AddressSpace is defined in Table 105.

Table 105 – BACnetStatusFlags Definition
Attribute Value
BrowseNameBACnetStatusFlags
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasPropertyVariable0:OptionSetValues0:LocalizedText []0:PropertyType