![](/images/new-backgrounds/1192638/19263817x1.webp)
Page 8 of 22 |
4.4.4Map 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 | , |
MAP2 | , DATA1_2 | , 0 | , passive | , ACM1 | , 0, | 1280 | , ATMI | , |
MAP3 | , DATA1_3 | , 0 | , passive | , ACM1 | , 0, | 1280 | , ATMI | , |
MAP4 | , DATA1_4 | , 0 | , passive | , ACM1 | , 0, | 1280 | , ATMI | , |
MAP5 | , DATA1_5 | , 0 | , passive | , ACM1 | , 0, | 1280 | , ATMI | , |
MAP6 | , DATA1_6 | , 0 | , passive | , ACM1 | , 0, | 1280 | , ATMI | , |
MAP7 | , DATA1_7 | , 0 | , passive | , ACM1 | , 0, | 1280 | , ATMI | , |
MAP8 | , DATA1_8 | , 0 | , passive | , ACM1 | , 0, | 1280 | , ATMI | , |
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
The
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)