Appendix A. Info Tables and Settings
579
Comms
MemFree(1)
Numeric
Y
•
Status
table field: ≈27
Succession of two-digit values in a single integer. Each value represents the number of buffers allocated to one of
five communication buffer pools: huge(
≈18 kB each),
large
(≈3 kB each),
medium
(≈530 bytes each),
little (
≈100
bytes each), and tiny (16 bytes each). When the system requires a buffer, one is taken from the smallest suitably-
sized pool that has at least one available. When the communication task is complete, the buffer is returned to the
pool. When TLS is active, all five pools are drawn from. When TLS is not active, huge is not used, and fewer
buffers are allocated for the remaining pools. Updated when status is queried. Allocations:
TLS active: 2309999160 (huge is left most — 02-30-99-99-160)
TLS not active: 15251505 (large is left most — 15-25-15-05)
Use the following expressions to decode the individual values from CommsMemFree(1):
tiny = CommsMemFree(1) % 100
lil = (CommsMemFree(1) / 100) % 100
mid = (CommsMemFree(1) / 10000) % 100
med = (CommsMemFree(1) / 1000000) % 100
lrg = (CommsMemFree(1) / 100000000) % 100
Comms
MemFree(2)
Numeric
Y
•
Status
table field: ≈27
Number of buffers (224 bytes each) free in keep memory
for PakBus routing,
neighbor lists, communication timeouts, TCP/IP connections, and CommsMemAlloc
setting. Each route or neighbor requires one buffer. Doubling CommsMemAlloc from the
default of 50 doubles CommsMemFree(2)
from ≈300 to ≈600. Updated when status is
queried.
Comms
MemFree(3)
Numeric
Y
•
Status
table field: ≈27
An integer specifying four two-digit fields, read from left to right as (1) number of output
packets waiting to be sent, (2) number of input packets waiting to be serviced, (3) number
of big packets available for TCP/IP comms, and (4) number of little packets available for
TCP/IP comms. Value at start up with no TCP/IP comms is 1530 (no output packets, no
input packets, 15 big packets, and 30 little packets). As TCP/IP comms commence, the
output and input queues increase from 0, big packets decrease from 15, and little packets
decrease from 30. These values are reported in IPTraceComport
(p. 543)
setting every 30
seconds as sendq, recvdq, bigfreeq, and lilfreeq. Updated when status is queried. The
following expressions decode the values:
lilfreeq = CommsMemFree(3) % 100
bigfreeq = (CommsMemFree(3) / 100) % 100
rcvdq = (CommsMemFree(3) / 10000) % 100
sendq = (CommsmemFree(3) / 1000000) % 100
A
CompileResults
String
Y
•
Station Status field: Results for Last Program Compiled
•
Status
table field: ≈18
Contains error messages generated at compilation or during runtime. Updated after compile.
Also appended to at run time for run time errors such as variable out of bounds.
CPUDriveFree
Numeric
Y
•
Keyboard: Settings (Datalogger)
Bytes remaining on the CPU: drive.
CSIO1net
Enable
Numeric
•
Settings Editor: CS I/O IP | Enabled #2
CSIO2net
Enable
Numeric
•
Settings Editor: CS I/O IP | Enabled (#1)
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......