beautypg.com

7 *c mode -- security, 8 *d mode -- save or load program, 1 internal flash program storage – Campbell Scientific CR510 Basic Datalogger User Manual

Page 41

background image

SECTION 1. FUNCTIONAL MODES

1-11

1.7

∗∗∗∗

C MODE -- SECURITY

The

C Mode is used to block access to the

user's program information and certain CR510
functions. There are 3 levels of security, each
with its own 4 digit password. Setting a
password to a non-zero value "locks" the
functions secured at that level. The password
must subsequently be entered to temporarily
unlock security through that level. Passwords
are part of the program. If security is enabled in
the active program, it is enabled as soon as the
program is run when the CR510 is powered up.

When security is disabled,

C will advance

directly to the window containing the first
password. A non-zero password must be
entered in order to advance to the next window.
Leaving a password 0, or entering 0 for the
password disables that and subsequent levels
of security.

Security may be temporarily disabled by
entering a password in the

C Mode or using

the telecommunications L command (Section
5.1). The password entered determines what
operations are unlocked (e.g., entering
password 2 unlocks the functions secured by
passwords 2 and 3). Password 1 (everything
unlocked) must be entered before any
passwords can be altered.

When security is temporarily disabled in the

C

Mode, entering

0 will automatically re-enable

security to the level determined by the
passwords entered.

The telecommunications L command
temporarily changes the security level. After
hanging up, security is reset.

1.8

∗∗∗∗

D MODE -- SAVE OR LOAD

PROGRAM

The

D Mode is used to save or load CR510

programs, to set the degree to which memory is
cleared on powerup, to set the datalogger ID,
and to set communication to full or half duplex.

Programs (

1,

2,

3,

4,

A,

C, and

D Mode

data) may be stored to and from computers,
internal flash memory, and Storage Modules.
Several programs can be stored in the CR510
Flash Memory and later recalled and run using
the

D Mode or Instruction 111.

Campbell Scientific’s datalogger support software
automatically makes use of the

D Mode to upload

and download programs from a computer.
Appendix C gives some additional information on
Commands 1 and 2 that are used for these
operations.

When "

D" is keyed in, the CR510 will display

"13:00". A command (Table 1.8-1) is entered
by keying the command number and "A".

TABLE 1.8-1.

∗∗∗∗

D Mode Commands

Command

Description

1

Send (Print) ASCII Program

2

Load ASCII Program,

0 Compile

2--

Load ASCII Program,

6 Compile

6

Store Program in Flash

7

Load Program from Flash

7N

Save/Load/Clear Program from
Storage Module N

8

Set Datalogger ID

9

Set Full/Half Duplex

10

Set Powerup Options

If the CR510 program has not been compiled
when the command to save a program is entered,
it will be compiled before the program is saved.
When a program is loaded, it is immediately
compiled and run. When a command is complete,
"13:0000" is displayed;

D must be entered again

before another command can be given.

TABLE 1.8-2. Program Load Error Codes

E 94

Program Storage Area full

E 95

Program does not exist in flash

E 96

Storage Module not connected or
wrong address

E 97

Data not encountered within 30 sec.

E 98

Uncorrectable errors detected

E 99

Wrong type of file or Editor Error

1.8.1 INTERNAL FLASH PROGRAM STORAGE

Several programs can be stored in the CR510
Flash Memory and later recalled and run using
the

D Mode. The Flash Electrically Erasable

Programmable Read Only Memory is non-
volatile memory that can only be erased in 16K
blocks. The CR510 has 128K of Flash
EEPROM memory, one 16K block is reserved
for storing extra programs.

When a program is loaded and compiled, it is
saved as the active program. The active