![FieldServer FS-8700-74 Скачать руководство пользователя страница 26](http://html.mh-extra.com/html/fieldserver/fs-8700-74/fs-8700-74_driver-manual_2287889026.webp)
FS-8700-74 Veeder Root Driver Manual
Page 26 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
Appendix C. Advanced Map Descriptor Examples
Appendix C.1. Advanced Example 1 – Polling for Tank / Sensor / Input / Relay / Device Status
In section 4.4.1 we polled for the system status. This returns the alarm states for the whole system which includes tank status
information. In this example we poll directly for the status of a particular tank. Only the status of this tank is returned. The length
parameter reserves space in the array for the driver to store the possible alarm states for the tank. The table in section 6.2 provides
details of the alarm types.
The first element of the array is used to store an alarm summary state. The array element is set non-zero if there are any alarms and
is set to zero if there are none. The remaining array elements are set non-zero based on the types of alarms active for the tank.
Example: Tank 1 has two alarms 02 = Tank Leak Alarm 05 = Tank Low Product Alarm
The driver sets array DA_TANK1_ALMS as follows
Index=0 : Value=1 (Summary)
Index=2 : Value=2 (Leak)
Index=5 : Value=5 (Product)
Map_Descriptor_Name Data_Array_Name
Data_Array_Offset
Function
Scan_Interval
node_name
Address
Length
Data_Type
Tank1_01_status
DA_TANK1_ALMS 0
rdbc
1.0s
Node_A
1
30
Tank
The biggest difference
between this Map
Descriptor and the one
provided in example
4.4.4 is that this is an
active Map Descriptor
producing a poll
whereas the other
example is passive
relying on the
response to a different
poll.
The address must
correspond to the tank
number (in this
example or the sensor
/ input / relay / device
number depending on
the data type. )
Amount of array space
required to store the
alarm types.
Other possible values
are
System
Liquid Sensor
Vapor Sensor
Input
Groundwater Sensor
Type-A Sensor
Type-B Sensor
Universal Sensor
Press. Line
WPLLD
Relay