BACnet Data Type Representation
- Last UpdatedAug 24, 2021
- 1 minute read
The Plant SCADA data types that correspond to BACnet property data types are fairly straightforward for most BACnet data types. Data types which require further explanation are described below.
BACnet Date/Time Data Types
BACnet date/time properties are represented as a string in the following formats:
-
BACnetDate: dd/mm/yyyy
Examples: "01/09/2008", "01/09/****" if year is not specified, "**/**/****" if none of the date elements are specified.
-
BACnetTime: hh:mm:ss.mmm.
Examples: "05:20:30:400", "05:**:30:400" if hour is not specified, "**:**:**:***" if none of the time elements are specified.
-
BACnetDateTime: dd/mm/yyyy hh:mm:ss.mmm.
Examples: "01/09/2008 05:20:30:400", "01/09/**** 05:**:30:400" if year and minutes are not specified.
-
BACnetWeekNDay: dd/ww/mm.
Examples: "04/02/03", "04/02/**" if month is not specified.
BACnet Any Data Type
For BACnet properties that can be any primitive data type, the driver supports the following BACnet data types:
-
Boolean
-
Real
-
Unsigned
-
Enumerated
-
CharacterString
-
BACnetDate
-
BACnetTime
-
BACnetDateTime.
Corresponding Plant SCADA data types can be DIGITAL, LONG, REAL or STRING.
BACnetPriorityArray
BACnetPriorityArray is represented as a string.
Example: "NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 78, 89, NULL, NULL, NULL, NULL, NULL".