| Page 13 of 24 |
4.4.6.Map Descriptor Example 3 - Binary Input (Area Machine)
A read from the Binary Input Data Array which is shared by a BACNet IP Map Descriptor will return the
BACNet IP Map Descriptor
//Client Side Map Descriptors
Map_Descriptors |
|
|
|
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_name, | Data_Type, | Object_ID, | Length, | Relinquish_Default |
SMD00_BI, | Binary_Input, | 0, | Server, | Virtual_BCU_11, | BI, | 1, | 512, | 0 |
Lutron Machine Map Descriptor
//Client Side Map Descriptors
Map_Descriptors |
|
|
|
|
|
|
|
|
|
Map_Descriptor_Name, Data_Array_Name, | Data_Array_Offset, | Function, | Node_name, | Grafik_Command, | Area, | DA_Lut_List, | DA_Lut_List_Offset, | Length | |
Area_sts_0, | Binary_Input, | 0, | ARCO, | LUT_GRF6_0, | area_sts_offscene, | 0, | off_scene, | 0, | 512 |
The ARCO function is the same as RDBC except that the Map Descriptor length is taken as the number of areas to poll. The start area number is specified under the “Area” Map Descriptor field. More than one ARCO Map Descriptor may be used to poll two series of area numbers, eg. from
The Data Array specified under “DA_Lut_List” must be preloaded with scene numbers as shown below:
//================================================================================
//Binary Input Scenes Setup
//All values are in decimal ( 0 - 65535 )
//Insert the
| Preloads |
|
|
|
|
|
|
| Data_Array_Name , | Preload_Data_Format , | Preload_Data_Value , | Location | |||
| // Binary Input Object ID 1 |
|
|
|
|
| |
|
|
|
|
|
| ||
| off_scene | , | Uint16 | , | 0 | , | 0 |
| // Binary Input Object ID 2 |
|
|
|
|
| |
|
|
|
|
|
| ||
| off_scene | , | Uint16 | , | 1 | , | 1 |
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)