TD ADDENDUM—SECTION 2. INTERNAL DATA STORAGE
AD-2-2
•
The output interval is not an even multiple
of the scan rate (table execution interval).
• Table execution is such that Instruction 84
is not executed each scan.
• Table overruns occur.
• Watchdog errors (E08) occur.
2.1.2 RECORD NUMBERS
In addition to a timestamp, each record has
recor
d number. The record numbers are
unique within a data table. Record numbers are
4 byte unsigned numbers ranging from 0 to
4,294,967,296. When the datalogger program
is compiled the next record number for each
table is set to zero.
2.1.3 TABLES AND FIELDS.
There are four "built in" tables. These tables
ar
e pres
ent when the datalogger is powered on.
These tables are named INLOCS, TIMESET,
ERRORLOG, and STATUS. The fields within
these tables are also already defined with the
exception of the INLOCS. The field names for
each of the fields is given below. TmStamp is
the label for the timestamp and RecNbr is the
label for the record number.
TimeSet
TmStamp, RecNbr, OldTime
ErrorLog
TmStamp, RecNbr, Code
Status
TmStamp, RecNbr, Battery, WatchDog,
O
ver
Runs, InLocs, PrgmFree, Storage, Tables,
DaysFull, Holes, PrgmSig, PromSig, PromID,
ObjSrlNo
Where the labels are defined as follows:
Battery − Indic
ates the datalogger
battery
voltage.
WatchDog − The number
of Watchdog Errors
(E08). (Maximum 99). Section 3.10
OverRuns − Program
table overruns that have
occurred (Maximum 99). Section 1.1.1.
InLocs − Number of
Input Location that have
been allocated. Section 1.5.2
PrgmFree − Amount (by
tes) of program memory
remaining. Section 1.5.2
Storage − Number of
Final Storage Locations
available for Data Storage Tables. Section
1.5.2
Tables − Num
ber of
user created Data Tables.
DaysFull − Size (i
n days) of the Data Storage
Tables using automatic record allocation. See
Instruction 84.
Holes − Num
ber of
missed records or holes in
all Data Storage Tables. Section 2.1.1
PrgmSig − Signature of pr
ogram memory
program. Same as *B mode first window.
Section 1.6.
PromSig − Signatur
e of datalogger
PROM. Same
as *B mode second window. Section 1.6.
Prom ID − Item number of
PROM. Same as *B
mode seventh window. Section 1.6.
ObjSrlNo − Objec
t code serial number of
PROM. Same as *B mode eighth window.
Section 1.6.
Like the InLocs table, a new Status record is
alway
s available when the datalogger is checked
for data. For this reason the Status table is usually
collected for display rather than archive.
InLocs
TmStamp, RecNbr, Flags, Ports, Loc1, Loc2,
Loc
3, Loc4, Loc
5, Loc6, Loc7, Loc8, Loc9
Like the Status table, a new InLocs record is
alway
s available when the datalogger is checked
for data. For this reason these tables are usually
collected for display rather than archive.
By default only nine Input Location are labeled.
T
he default InLoc
s field labels can be replaced
with user created labels. These labels are
created with EDLOG technique for Input
Location labels. Press CTRL-L when editing a
LOC field.
When additional data tables are created with
Ins
tr
uction 84, these tables and the fields they
contain can also be named by the user. The
datalogger will supply a default name for tables
and fields if they are not named. The default
names are T01, T02, for the tables and F01,
F02, etc. for the fields, numbered in the order
they appear. Edlog allows the programmer to
name the tables and fields.
Komentarze do niniejszej Instrukcji