Data type, Array index – Contemporary Control Systems BASview User Manual
Page 20
TD110500-0MC
20
Data Type
The data type used for the objects listed above with property #85 (present value) is automatically known
and used. If a property other than present value is used, or for any property of a proprietary object the
default data type is "String". This will allow the value of the property to be viewed but will probably not be
sufficient to write a new value to the property. Note that only NULL, boolean, character string and all of
the numeric data types currently support writing.
To use a different data type, it must be specified immediately following the property ID with a comma and
a data type specifier:
Examples:
AV32,81,BOOL
— Analog Value 32, property ID 81 (Out of Service flag), treat the value as a boolean.
22032:89,72,INT
— Proprietary object type #22032, instance #89, property 112 (status flags), treat the value as an integer.
The list of supported point types includes:
NULL
— A NULL or empty value
BOOL
— Boolean off/on, 0/1, inactive/active, etc.
UINT
— Unsigned integer
INT
— Signed integer
REAL
— A Real" or floating point value
DBL
— A double precision floating point value
OCT
— Octet String (binary data)
STR
— Character string (standard ASCII characters)
BITS
— Bit String
ENUM
— Enumeration
DATE
— Date
TIME
— Time
OBJ
— Unspecified object type
RES1
— Currently reserved by BACnet
RES2
— Currently reserved by BACnet
RES3
— Currently reserved by BACnet
Array Index
For array type objects, an array index may be specified after the data type with a comma, followed by the
array index to read:
Example:
22032:89,72,INT,56
—
Proprietary object type #22032, instance #89, property 112 (status flags), treat the value as an
integer, array index 56.
Note: All parameters of an address must be specified in the order listed above. For example, the
array index may not be specified unless the property ID and data type are also specified first.