![FieldServer FS-8700-74 Скачать руководство пользователя страница 11](http://html.mh-extra.com/html/fieldserver/fs-8700-74/fs-8700-74_driver-manual_2287889011.webp)
FS-8700-74 Veeder Root Driver Manual
Page 11 of 33
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.5.
Map Descriptor Example 2 - Inventory
This example illustrates how you can poll for Tank Inventory Data. You need one Map Descriptor for each tank. Change the address
to correspond to the tank number. The Length parameter DOES NOT tell the driver how many tanks to process but it does tell the
driver how much storage space to reserve for storing the inventory data. The inventory data is stored as follows.
Index Contents
0.
Product Code (Example Array value = 49 indicates product code = ASCII ‘1’)
1.
Tank Status (Bit 1 - (LSB) Delivery in Progress, Bit 2 - Leak Test in Progress, Bit 3 - Invalid Fuel Height Alarm (MAG Probes Only))
2.
Volume
3.
TC Volume
4.
Ullage
5.
Height
6.
Water
7.
Temperature
8.
Water Volume
.
Map_Descriptor_Name,
Data_Array_Name,
Data_Array_Offset
Function,
Scan_Interval,
node_name,
Address,
Length,
Data_Type
InventoryPoll1,
DA_INVENTORY ,
0 ,
rdbc ,
1.0s ,
Node_A ,
1 ,
10 ,
In-Tank Inventory
Reading the
inventory requires
an active Map
Descriptor.
Set the address equal to the
tank number. One Map
Descriptor per tank.
This is the minimum number of Data
Array elements required to store
inventory data.
Tanks 1’s data will be stored in the
array DA_INVENTORY starting at the
zero’th element (offset=0) and 10
elements of the array are reserved for
this data.
Setting the data type
generates the
correct poll. Ensure
that spelling,
periods, hyphens in
exactly the same as
this example.