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.

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

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

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

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-input

0

analog-output

1

analog-value

2

binary-input

3

binary-output

4

binary-value

5

calendar

6

command

7

device

8

event-enrollment

9

file

10

group

11

loop

12

multi-state-input

13

multi-state-output

14

notification-class

15

program

16

schedule

17

averaging

18

multi-state-value

19

trend-log

20

life-safety-point

21

life-safety-zone

22

accumulator

23

pulse-converter

24

event-log

25

global-group

26

trend-log-multiple

27

load-control

28

structured-view

29

access-door

30

UNASSIGNED_31

31

access-credential

32

access-point

33

access-rights

34

access-user

35

access-zone

36

credential-data-input

37

network-security

38

bitstring-value

39

characterstring-value

40

date-pattern-value

41

date-value

42

datetime-pattern-value

43

datetime-value

44

integer-value

45

large-analog-value

46

octetstring-value

47

positive-integer-value

48

time-pattern-value

49

time-value

50

notification-forwarder

51

alert-enrollment

52

channel

53

lighting-output

54

Its representation in the AddressSpace is defined in Table 101.

Table 101 – BACnetObjectTypeSupportedBits Definition

Attribute

Value

BrowseName

BACnetObjectTypeSupportedBits

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

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

acknowledgeAlarm

0

confirmedCOVNotification

1

confirmedEventNotification

2

getAlarmSummary

3

getEnrollmentSummary

4

subscribeCOV

5

atomicReadFile

6

atomicWriteFile

7

addListElement

8

removeListElement

9

createObject

10

deleteObject

11

readProperty

12

UNASSIGNED_13

13

readPropertyMultiple

14

writeProperty

15

writePropertyMultiple

16

deviceCommunicationControl

17

confirmedPrivateTransfer

18

reinitializeDevice

19

vtOpen

20

vtClose

21

vtData

22

UNASSIGNED_24

23

UNASSIGNED_25

24

i-Am

25

i-Have

26

unconfirmedCOVNotification

27

unconfirmedEventNotification

28

unconfirmedPrivateTransfer

29

unconfirmedTextMessage

30

timeSynchronization

31

who-Has

32

who-Is

33

readRange

34

utcTimeSynchronization

35

lifeSafetyOperation

36

subscribeCOVProperty

37

getEventInformation

38

writeGroup

39

Its representation in the AddressSpace is defined in Table 103.

Table 103 – BACnetServicesSupportedBits Definition

Attribute

Value

BrowseName

BACnetServicesSupportedBits

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

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

0:HasProperty

Variable

0:OptionSetValues

0:LocalizedText []

0:PropertyType