Appendix A.5. Bacnet State Text Preload; Appendix A.5.1. Method 1 - Using An Offset/User Table; Appendix A.5.2. Method 2 - Using A Single Data Array - SMC Networks FieldServer FS-8700-16 BACnet PTP Driver Manual

Serial
Table of Contents

Advertisement

Appendix A.5. 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.5.1. Method 1 – Using an Offset/User Table
//set up a look up table
Offset_Table
Offset_Table_Name
FIRE_ALRM_TEXT
FIRE_ALRM_TEXT
FIRE_ALRM_TEXT
FIRE_ALRM_TEXT
FIRE_ALRM_TEXT
FIRE_ALRM_TEXT
Data_Arrays
Data_Array_Name
, Data_Format
DA_MI_01
, UINT16
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
CMD_MI_01
, DA_MI_01
, Data_Type
, Object_ID
, MI
, 1
Appendix A.5.2. Method 2 – Using a Single Data Array
Data_Arrays
Data_Array_Name
, Data_Format
DA_MI_01
, UINT16
DA_STATE_TXT
, BYTE
Preloads
Data_Array_Name , Preload_Data_Value
DA_STATE_TXT
, MyState1 MyState2 MyState3
MyState4 MyState5 MyState6
Map_Descriptors
Map_Descriptor_Name , Data_Type , Object_ID , Function , Data_Array_Name , Node_Name , Length , State_Text_Array
CMD_MI_01
, MI
, Table_String
, Table_Index_Value
, SYSTEM READY
, 1
, ALARM
, 2
, MAINTENANCE
, 3
, OFF-LINE
, 4
, IN SERVICE
, 5
, OTHER
, 6
, Data_Array_Length
, 100
, Data_Array_Offset
, 0
, Length
, State_Text_Array
, 1
, Fire_Alrm_Text
, Data_Array_Length
, 100
, 200
, Preload_Data_Format , Preload_Data_Index
, String
, 1
, Passive
Page 18 of 34
BACnet PTP Serial Driver Manual
, Function
, Node_Name
, Passive
, N1 11
, 0
, DA_MI_01
, N1 11
Valid values are 1
to 16.
, 1
, Da_State_Txt

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FieldServer FS-8700-16 BACnet PTP and is the answer not in the manual?

Table of Contents