FS-8700-64
ATMI
ACM
Page
8
of
22
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
4.4.4 Map Descriptor Example 1- Gas Values, Alarms & Warnings for all slots/ports.
This example illustrates the map descriptors required to complete store ACM data for 80 areas. Each map descriptor tells the ATMI ACM driver
where to store each component of ACM data. The gas number & area number determine the position in the array. Read section 6.1 for more
information
Map_blocks
Map_block_Name, Data_Array_Name, Data_Array_Offset, Function, node_name, Address, Length, protocol, atmi_data
MAP1 , DATA1_1 , 0 , passive , ACM1 , 0, 1280 , ATMI , port-values
MAP2 , DATA1_2 , 0 , passive , ACM1 , 0, 1280 , ATMI , port-alarm
MAP3 , DATA1_3 , 0 , passive , ACM1 , 0, 1280 , ATMI , port-warning
MAP4 , DATA1_4 , 0 , passive , ACM1 , 0, 1280 , ATMI , slot-alarm
MAP5 , DATA1_5 , 0 , passive , ACM1 , 0, 1280 , ATMI , slot-warning
MAP6 , DATA1_6 , 0 , passive , ACM1 , 0, 1280 , ATMI , slot-combo
MAP7 , DATA1_7 , 0 , passive , ACM1 , 0, 1280 , ATMI , port-combo
MAP8 , DATA1_8 , 0 , passive , ACM1 , 0, 1280 , ATMI , slot-values
A different array is
used for each
atmi_data
component being
stored.
The gas value array
would typically be
an array of FLOATs
and the alarms and
warnings could be
any data type
including bit arrays
.
This is a passive
client driver so the
function must be
passive.
This node name will
connect this map
descriptor to a node
which in turn is
connected to a port.
Hence the map
descriptor is
connected to a port.
These keywords tell the driver which component of the
ACM data should be
Stored using each map descriptor.
If you were only interested in the current value then
you would only use one map descriptor and set the
atmi_data
parameter equal to
gas-value
The “…-combo” types store a 1 for an alarm OR
warning and a zero when neither conditionis present.