Serial Interface Manual
TLS4/TLS-450 Monitoring Systems
Part No. 577013-950, Revision L
93
Function Code:
21I
Version 2
Function Type:
Time Ordered Chart Delivery Comparison
Command Format:
Display:
<SOH>I21ITTIIiiyymmddYYMMDD
Computer:
<SOH>i21ITTIIiiyymmddYYMMDD
Notes:
1.
TT - Tank Number [01..32], (Decimal, 00=all)
2.
II - First Chart ID Number [01…99] (Decimal)
3.
ii - Second Chart ID Number [01…99] (Decimal)
4.
yymmdd - Optional Start Date
5.
YYMMDD - Optional End Date
6.
This command will show all ticketed deliveries within the
specified date range.
7.
Variance = estimated delivery volume – ticket delivery volume
Typical Response Message, Display Format:
<SOH>
I21ITT
JAN 31, 2008 14:42
TANK
nn
CHART DELIVERY COMPARISON BETWEEN
yyyy-mm-dd
AND
YYYY-MM-DD
TICKETED CHT
II
CHT
ii
CHT
II
CHT
ii
CHT
II
CHT
ii
DATE DELIVERY DELIVERY DELIVERY VARIANCE VARIANCE VAR% VAR%
---------- -------- -------- -------- -------- -------- -------- --------
yyyy-mm-dd dddddd.d xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x
yyyy-mm-dd dddddd.d xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x
yyyy-mm-dd dddddd.d xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x xxxxxx.x
-------- -------- -------- -------- -------- -------- --------
TOTALS: SSSSSS.S XXXXXX.X XXXXXX.X XXXXXX.X XXXXXX.X XXXXXX.X XXXXXX.X
<ETX>
Typical Response Message, Computer Format:
<SOH>i21ITTYYMMDDHHmmTTNNNN
yymmddDDDDDDDDVVVVVVVVvvvvvvvvRRRRRRRRrrrrrrrrPPPPPPPPpppppppp..
yymmddDDDDDDDDVVVVVVVVvvvvvvvvRRRRRRRRrrrrrrrrPPPPPPPPpppppppp..
yymmddDDDDDDDDVVVVVVVVvvvvvvvvRRRRRRRRrrrrrrrrPPPPPPPPpppppppp..
&&CCCC<ETX>
Notes:
1.
YYMMDDHHmm - Current Date and Time
2.
TT - Tank Number [01..32], (Decimal, 00=all)
3.
NNNN - Number of Comparison Records to follow (Decimal)
4.
yymmdd - Time Stamp
5.
DDDDDDDD - Ticketed Delivery Volume in Gallons/Liters (ASCII Hex IEEE
float)
6.
VVVVVVVV - Delivery Volume for 1st Chart (ASCII Hex IEEE float)
7.
vvvvvvvv - Delivery Volume for 2nd Chart (ASCII Hex IEEE float)
8.
RRRRRRRR - Delivery Variance volume for 1st Chart (ASCII Hex IEEE float)
9.
rrrrrrrr - Delivery Variance volume for 2nd Chart (ASCII Hex IEEE float)
10.
PPPPPPPP - Delivery Variance percent for 1st Chart (ASCII Hex IEEE float)
11.
pppppppp - Delivery Variance percent for 2nd Chart (ASCII Hex IEEE
float))
12.
&& - Data Termination Flag
13.
CCCC - Message Checksum