| Page 20 of 24 |
4.4.12.Map Descriptor Example 9 - Multistate Output (Zone and Area Machine)
A write to the Multistate Output Data Array which is shared by a BACNet IP Map Descriptor will execute one of multiple scripts. The multiple scripts are specified in the Data Array defined under “DA_Lut_List”. The value written into the Multistate Output Data Array is used as the offset into the Data Array defined under “DA_Lut_List” to retrieve a script number from the Data Array. Script numbers range from 0 to 65535.
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_MO, | MultiSt_Output, | 0, | Server, | Virtual_BCU_11, | MO, | 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, | DA_Lut_List, | DA_Lut_List_Offset, | Length, | Multi_Scripts_Length |
Run_scriptms_0, |
| MultiSt_Output, |
| 0, | AWT, | LUT_GRF6_0, | run_script_multi, | Scr_lst_MSO_0, | 0, | 1, | 10 |
The Multi_Scripts_Length field is used to indicate the maximum size of the Data Array specified under Data_Array_Name. One Map Descriptor per object must be defined with a Multi_Scripts_Length value of one or greater.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)