Serial Interface Manual
TLS4/TLS-450 Monitoring Systems
Part No. 577013-950, Revision L
95
Function Code:
21K
Version 2
Function Type:
Error Plot Comparison of Tank Charts
Command Format:
Display:
<SOH>I21KTTIIiiyymmddYYMMDD
Computer:
<SOH>i21KTTIIiiyymmddYYMMDD
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.
Use last 30 days if no dates are supplied
Typical Response Message, Display Format:
<SOH>
I21KTT
JAN 31, 2008 14:42
TANK
nn
CHART ERROR vs. HEIGHT COMPARISON BETWEEN
yyyy-mm-dd
AND
YYYY-MM-DD
% CHT
II
CHT
ii
HEIGHT VAR% VAR%
------ ------ ------
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
xxx.xx xxx.xx xxx.xx
<ETX>
Typical Response Message, Computer Format:
<SOH>i21KTTYYMMDDHHmmTTyymmddYYMMDDNNNNhhhhhhhhPPPPPPPPpppppppp...
hhhhhhhhPPPPPPPPpppppppp
TTyymmddYYMMDDNNNNhhhhhhhhPPPPPPPPpppppppp...
hhhhhhhhPPPPPPPPpppppppp
&&CCCC<ETX>
Notes:
1.
YYMMDDHHmm - Current Date and Time
2.
TT - Tank Number [01..32], (Decimal, 00=all)
3.
yymmdd - Start Date
4.
YYMMDD - End Date
5.
NNNN - Number of Error Points to follow (Decimal)
6.
hhhhhhhh - Height Percent (ASCII Hex IEEE float)
7.
PPPPPPPP - Variance Percent for 1st Chart (ASCII Hex IEEE float)
8.
pppppppp - Variance Percent for 2nd Chart (ASCII Hex IEEE float)
9.
&& - Data Termination Flag
10.
CCCC - Message Checksum