OPC UA for BACnet – BACnet: OPC UA Information Model
10.3 OptionSet DataTypes used for BACnet bit strings
10.3.1 General
BACnet bit strings data types are mapped to OPC UA StructureDataTypes derived from the OptionSetDataType 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 OptionSetDataType and expose the list of bit names defined in the tables as 0:PropertyTypeOptionSetValues 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
monday
0
tuesday
1
wednesday
2
thursday
3
friday
4
saturday
5
sunday
6
Its representation in the AddressSpace is defined in Table 95.
Table 95 – BACnetDaysOfWeek Definition
Attribute
Value
BrowseName
BACnetDaysOfWeek
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasProperty
Variable
0:OptionSetValues
0: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-offnormal
0
to-fault
1
to-normal
2
Its representation in the AddressSpace is defined in Table 97.
Table 97 – BACnetEventTransitionBits Definition
Attribute
Value
BrowseName
BACnetEventTransitionBits
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasProperty
Variable
0:OptionSetValues
0: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
lowLimitEnable
0
highLimitEnable
1
Its representation in the AddressSpace is defined in Table 99.
Table 99 – BACnetLimitEnable Definition
Attribute
Value
BrowseName
BACnetLimitEnable
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasProperty
Variable
0:OptionSetValues
0: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.
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasProperty
Variable
0:OptionSetValues
0: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.
Subtype of the OptionSet DataType defined in OPC 10000-5
0:HasProperty
Variable
0:OptionSetValues
0: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
InAlarm
0
Fault
1
Overriden
2
OutOfService
3
Its representation in the AddressSpace is defined in Table 105.
Table 105 – BACnetStatusFlags Definition
Attribute
Value
BrowseName
BACnetStatusFlags
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the OptionSet DataType defined in OPC 10000-5