Справочник Пользователя для FieldServer FS-8700-83

Скачать
Страница из 24
FS-8700-83 Gamewell 
 
 
 
 
 
 
 
 
Page 16 of 24 
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA  Web:www.fieldserver.com 
Tel: (408) 262-2299   Fax: (408) 262-9042   Toll_Free: 888-509-1970   email: support@fieldserver.com 
6.6 Advanced Map Descriptor Examples 
Example 1 : Filtering Data 
You can direct the driver to filter the incoming messages so that data arrays are only updated for particular states. For example an incoming 
messge which reports a device in Ckt 1 to be in a FAULT state (Status:FAULT) will use the map descriptor ‘Ckt1_data03’ to store the data and the 
array DA_FAULTS1 will be updated. If however, the message reported an ALARM state (Status:ALARM) then the array DA_ALRMS1 would have 
been updated. 
 
In fact, because the examples below provide a map descriptor where the data type is ‘Any’, each incoming message would update two data 
arrays. The DA_Status1 array would be updated by every single message and the other arrays would be updated depending on the state being 
reported in the message.  
 
Map_Descriptors 
Map_Descriptor_Name, Data_Array_Name  , Data_Array_Offset, Function, node_name, ckt     , Length , Data_Type      , Clear_on_Reset 
Ckt1_data01        , DA_STATUS1       , 000              , passive , panel1   , 1       , 100    , Any            , Yes 
Ckt1_data02        , DA_AlARMS1       , 000              , passive , panel1   , 1       , 100    , Alarms         , Yes 
Ckt1_data03        , DA_FAULTS1       , 000              , passive , panel1   , 1       , 100    , Faults         , Yes 
Ckt1_data04        , DA_EVENTS1       , 000              , passive , panel1   , 1       , 100    , Events         , Yes 
Ckt1_data05        , DA_BUS1          , 000              , passive , panel1   , 1       , 100    , Bus            , Yes 
Ckt1_data06        , DA_COMM1         , 000              , passive , panel1   , 1       , 100    , Comm           , Yes 
Ckt1_data07        , DA_CONTROL1      , 000              , passive , panel1   , 1       , 100    , Control        , Yes 
Ckt1_data08        , DA_ACK1          , 000              , passive , panel1   , 1       , 100    , Ack            , Yes 
Ckt1_data09        , DA_SIGSIL1       , 000              , passive , panel1   , 1       , 100    , Signal Silence , Yes 
Ckt1_data10        , DA_TROUBLES1     , 000              , passive , panel1   , 1       , 100    , Troubles       , Yes 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
By using specific data types, the driver will 
only update the associated data arrays when 
the messages report a state that matches the 
data type.  
You would need another set of these map 
descriptors for any other circuit you are 
monitoring.