Appendix a.7. bacnet state text preload, Appendix a.7.1, Method 1 – using an offset/user table – FieldServer FS-8704-06 User Manual
Page 26

FS-8704-06 BACnet IP Driver Manual
Page 26 of 57
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
Appendix A.7. BACnet State Text Preload
BACnet Multistate Objects have a State_Text property. This property is defined as an array of character strings representing descriptions of all possible states
of the Present_Value. The number of descriptions matches the number of states defined in the Number_Of_States property. The Present_Value, interpreted as
an integer, serves as an index into the array.
When Multistate Objects are configured on a BACnet server it is necessary to define the State_Text property. This section illustrates how to define the
State_Text character strings and how to associate these definitions with Multistate Server Map Descriptors.
The maximum permitted length of any State_Text string is 50 characters.
Appendix A.7.1.
Method 1 – Using an Offset/User Table:
//set up a look up table
Offset_Table
Offset_Table_Name
, Table_String
, Table_Index_Value
FIRE_ALRM_TEXT
, SYSTEM READY
, 1
FIRE_ALRM_TEXT
, ALARM , 2
FIRE_ALRM_TEXT
, MAINTENANCE
, 3
FIRE_ALRM_TEXT
, OFF-LINE , 4
FIRE_ALRM_TEXT
, IN SERVICE , 5
FIRE_ALRM_TEXT
, OTHER , 6
Data_Arrays
Data_Array_Name , Data_Format , Data_Array_Length
DA_MI_01
, UINT16
, 100
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Object_Type , Object_Instance , Length , State_Text_Array
CMD_MI_01
, DA_MI_01
, 0
, Passive , N1 11
, MI
, 1
, 1
, Fire_Alrm_Text
Valid values are 1
to 16.