Appendix A.3. Accessing Data From Bacnet Properties Comprising Arrays Of Values; Appendix A.4. Fieldserver Implementation Of Bacnet Priority Arrays; Appendix A.4.1. Accessing Priority Array Information - SMC Networks FieldServer FS-8700-16 BACnet PTP Driver Manual

Serial
Table of Contents

Advertisement

Appendix A.3. Accessing Data from BACnet Properties Comprising Arrays of Values

Some BACnet Object properties (e.g. Priority_Array) are arrays of values (the Priority_Array property is
an array of 16 values). In order to read a specific array entry, the Array_Index must be specified in the
Map Descriptor. Array_Index is a Client Side Map Descriptor function
The following example shows a configuration that will read the Priority_Array value at Array_Index 7,
belonging to Analog Output 1.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name
CMD_AI_01
, DA_AI_01
, Data_Type , Object_ID , Property
, AO
, 1
, Priority_Array , 7
Details of the relevant BACnet properties and their associated arrays can be found in the BACnet
Protocol Spec.

Appendix A.4. FieldServer Implementation of BACnet Priority Arrays

When BACnet Output objects are written to the Server side of the FieldServer, an associated write priority
is given to each write value. When the FieldServer receives the write value, it stores it to the Map
Descriptor Priority Array Table at the specified priority. The Priority Array Table is then scanned and the
value with the highest priority is stored to the Data Array location specified by the Map Descriptor.
When a Write "Relinquished" command is received, the value is removed from the Priority Array Table
and the next highest value from the Priority Array Table is stored to the Data Array.
If all values have been "Relinquished" from the Priority Array Table, then the Map Descriptors "Relinquish
Default" value will be stored to the Data Array.

Appendix A.4.1. Accessing Priority Array Information

The Priority Array table and its "In_Use" (or Not Relinquished) state are stored internally to every Map
Descriptor and cannot be accessed directly. The information can be accessed indirectly by specifying the
following Data Arrays which will maintain an exact copy of the Priority Array Table for the Map Descriptor.
Section Title
Map_Descriptors
Column Title
DA_Pri_Array
DA_Pri_Array_Offset*
DA_Pri_In_Use
DA_Pri_In_Use_Offset*
Example
// Analog Output Map_Descriptor for testing Priority Arrays
Map_Descriptors
Map_Descriptor_Name , Data_Type , Object_ID , Function , Data_Array_Name , Data_Array_Index , Node_Name , Length
CMD_AOP_1
, AO
, Relinquish_default , DA_Pri_Array
, 40.56
, DA_Pri_Array_1 , 0
, 0
, Array_Index
Function
Name of the Data Array that contains the Priority Array Table.
Location 0 is the Relinquish Default value and locations 1 to
16 the different entries of the Priority Array Table.
Starting location in Data Array.
Name of Data Array that indicates if a particular Priority Value
is in use. Location 0 indicates whether the Relinquish Default
has been set and locations 1 to 16 indicate whether the index
is in use (1), or Relinquished (0).
Starting location in Data Array.
, 1
, Passive , DA_OUT
, DA_Pri_Array_Offset , DA_Pri_In_Use
Page 17 of 34
BACnet PTP Serial Driver Manual
, Rdbc
, DEV_01
, 0
, DA_Pri_In_Use_Offset
, DA_Pri_in_use_1 , 0
Legal Values
Up to 16
alphanumeric
characters
1-65535, 0
Up to 16
alphanumeric
characters
1-65535, 0
, N1 11
, 1

Advertisement

Table of Contents
loading

Table of Contents