| Page 20 of 24 |
|
| ||||
| Appendix B.7. | BACnet State Text Preload |
|
|
| ||
| Method 1 – Using a Single Data Array: |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Data_Arrays |
|
|
|
|
|
|
| Data_Array_Name, | Data_Format, | Data_Array_Length |
|
|
|
|
| DA_MI_01, | UINT16, | 100 |
|
|
|
|
| DA_STATE_TXT, | BYTE, | 200 |
|
|
|
|
|
|
|
|
|
|
|
|
| Preloads |
|
|
|
|
|
|
| Data_Array_Name, | Preload_Data_Value, | Preload_Data_Format, | Preload_Data_Index |
| ||
| DA_STATE_TXT, | MyState1 MyState2 MyState3 MyState4 MyState5 MyState6, | String, | 0 |
| ||
|
|
|
|
|
|
|
|
| Map_Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Map_Descriptor_Name, | Data_Type, |
| Object_ID, | Function, | Data_Array_Name, | Data_Array_Index, | Node_Name, | Length, | State_Text_Array |
| ||||
| CMD_MI_01, |
| MI, |
|
| 1 | Server | DA_MI_01, | 0, | N1 11, | 1, | Da_State_Txt |
| ||
| Method 2 – 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, | 0 |
|
|
|
|
|
|
|
|
| ||
| FIRE_ALRM_TEXT, |
| ALARM, |
|
| 1 |
|
|
|
|
|
|
|
|
|
| FIRE_ALRM_TEXT, |
| MAINTENANCE, | 2 |
|
|
|
|
|
|
|
|
| ||
| FIRE_ALRM_TEXT, |
|
|
| 3 |
|
|
|
|
|
|
|
|
| |
| FIRE_ALRM_TEXT, |
| IN SERVICE, |
|
| 4 |
|
|
|
|
|
|
|
|
|
| FIRE_ALRM_TEXT, |
| OTHER, |
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Data_Arrays |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Data_Array_Name, | Data_Format, | Data_Array_Length |
|
|
|
|
|
|
|
| ||||
| DA_MI_01, | UINT16, | 100 |
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Map_Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Map_Descriptor_Name, | Data_Type, |
| Object_ID, | Function, | Data_Array_Name, | Data_Array_Index, | Node_Name, | Length, | State_Text_Array |
| ||||
| CMD_MI_01, |
| MI, |
|
| 1 | Server | DA_MI_01, | 1, | N1 11, | 1, | Fire_Alrm_Text |
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: support@fieldserver.com |
|
|