beautypg.com

1 data storage, Table 77. data-storage drives – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 332

background image

Section 8. Operation

332 

 

 

Table 76. CR1000 SRAM Memory

Use

Comments

----------------------------------
Variables & Constants


Stores variables in the user program. These values may persist through power-
up, recompile, and watchdog events if the PreserveVariables instruction is in
the running program.

----------------------------------
Final-Storage Data Tables
Final Storage is given lowest
priority in SRAM memory
allocation.


Stores data resulting from CR1000 measurements. This memory is termed "Final
Storage." Fills memory remaining after all other demands are satisfied.
Configurable as ring or fill-and-stop memory. Compile error occurs if
insufficient memory is available for user-allocated data tables.

----------------------------------
Communications Memory 1


Construction and temporary storage of PakBus® packets.

----------------------------------
Communications Memory 2


Constructed Routing Table: list of known nodes and routes to nodes. Routers use
more space than leaf nodes because routes to neighbors must be remembered.
Increasing the PakBusNodes field in the Status table will increase this allocation.

----------------------------------
USR: drive
<= 3.6 MB (4 MB Mem)
<= 1.5 MB (2 MB Mem)
Less on older units with more
limited memory.


Optionally allocated. Holds image files. Holds a copy of Final Storage when
TableFile() instruction used. Provides memory for FileRead() and FileWrite()
operations. Managed in File Control. Status reported in Status table fields
"USRDriveSize" and "USRDriveFree."

 

8.3.1.1 Data Storage

Data-storage drives are listed in table CR1000 Memory Drives

(p. 332).

Data-table

SRAM and the CPU: drive are automatically partitioned for use in the CR1000.
The USR: drive can be partitioned as needed. The USB: drive is automatically
partitioned when a Campbell Scientific mass-storage device

is connected.The

CRD: drive is automatically partitioned when a CF card is installed.

Table 77. Data-Storage Drives

Drive Recommended

File

Types

CPU:

1

cr1, .CAL

USR:

2

cr1, .CAL

USB: .DAT