Serial Interface Manual
•
TLS2 Monitoring Systems
Part No. 577013-767, Revision H
40
Function Code:
21E
Version 4
Function Type:
Inventory Snapshot Volume
Command Format:
Display:
<SOH>I21ETTyymmddhhmm
Computer:
<SOH>i21ETTyymmddhhmm
Notes:
1.
yymmddhhmm - Request for Inventory records starting with this date to the
most recent. If no yymmddhhmm, return the most recent
records stored
Typical Response Message, Display Format:
<SOH>
I21ETT
JAN 22, 1996 3:06 PM
STATION HEADER 1....
STATION HEADER 2....
STATION HEADER 3....
STATION HEADER 4....
TANK Date/Time VOLUME TC VOLUME ULLAGE HEIGHT WATER TEMP
1 05/01/08 20:30 5329 5413 4699 47.97 0.00 37.39
05/01/08 19:30 5129 5113 4799 47.97 0.00 37.39
<ETX>
Typical Response Message, Computer Format:
<SOH>i21ETTYYMMDDHHmmTTpssssyymmddhhmmNNFFFFFFFF...
TTpssssyymmddhhmmNNFFFFFFFF&&CCCC<ETX>
Notes:
1.
YYMMDDHHmm - Current Date and Time
2.
TT - Tank Number (Decimal, 00=all)
3.
p - Product Code (one ASCII character [20h-7Eh])
4.
ssss - Number of Inventory Records to follow (Decimal)
5
yymmddhhmm - Stored Inventory records Date and Time
6.
NN - Number of eight character Data Fields to follow (Hex)
7.
FFFFFFFF - ASCII Hex IEEE floats:
1. Volume
2. TC Volume
3. Ullage
4. Height
5. Water
6. Temperature
7. Water Volume
8.
&& - Data Termination Flag
9.
CCCC - Message Checksum