beautypg.com

2 setting and displaying the clock - *5 mode, 1 displaying and altering input storage, 2 setting and displaying the clock – Campbell Scientific CR23X Micrologger User Manual

Page 38: Mode

background image

SECTION 1. FUNCTIONAL MODES

1-4

1.2 SETTING AND DISPLAYING THE

CLOCK -

5

MODE

The

5

Mode is used to display or set time.

When "

5" is entered, time is displayed. It is

updated approximately once a second or longer
depending on the rate and degree of data
collection and processing taking place. The
sequence of time parameters displayed in the

5

Mode is given in Table 1.2-1.

To set the year, day, or hours and minutes,
enter the

5

Mode and advance to display

the appropriate value. Key in the desired
number and enter the value by keying "A".
When a new value for hours and minutes is
entered, the seconds are set to zero and current
time is again displayed. To exit the

5

Mode, key "

" and the mode you wish to enter.

When the time is changed, a partial recompile
is done automatically to synchronize the
program with real time.

Changing time affects the output and execution
intervals in which time is changed. Because
time can only be set with a 1 second resolution,
execution intervals of 1 second or less remain
constant. Averaged values will still be accurate,
though the interval may have a different number
of samples than normal. Totalized values will
reflect the different number of samples. The
pulse count instruction will use the previous
interval's value if an option has been selected to
discard odd intervals, otherwise it will use the
count accumulated in the interval.

TABLE 1.2-1. Sequence of Time

Parameters in

5

Mode

Display

Key

ID:DATA

Description

5

HH:MM:SS

Display current time

A

Year

Display/enter year

XXXX

A

Day of Year

Display/enter day of

XXXX

year 1-365(366) or

or

press

D

and enter

MMDD

as month and day,

XXXX

such as 1012 for
October 12.

D

toggles back to Day
of Year.

A

Time

Display/enter

HHMM

hours:minutes

A

Seconds

Display/enter

SS

seconds

1.3 DISPLAYING/ALTERING INPUT

MEMORY, FLAGS, AND PORTS -

6

MODE

The

6

Mode is used to display and/or

change Input Storage values and to toggle and
display user flags and ports. If the

6

Mode

is entered immediately following any changes in
program tables, the program will be compiled and
run.

NOTE: Input Storage data and the state of
flags, control ports, and the timer
(Instruction 26) are UNALTERED
whenever program tables are altered and
recompiled with the

6

Mode.

Compiling always zeros Intermediate
Storage.

TABLE 1.3-1.

6

Mode Commands

Key

Action

6

Enter

6

mode

A

Advance to next input location or
enter new value

B

Back-up to previous location

C

Change value in first input location on
display (followed by keyed in value,
then "A")

D

Display/alter user flags 1 through 8

1

Display/alter user flags 11 through 18

0

Display/alter ports

#

Display current location and allow a

location number to be keyed in,
followed by "A" to jump to that
location

1.3.1 DISPLAYING AND ALTERING INPUT

STORAGE

When "

6" is entered, the keyboard/display will

read "Mode 06 Enter Loc". One can advance to
view the value stored in input location 1 by
keying "A". To go directly to a specific location,
key in the location number before keying "A".
For example, to view the value contained in
Input Storage location 20, key in "*6 20 A". The
left portion of the display shows the location
number and the 9-character label assigned to
that location in the programming portion
(EDLOG) of Campbell Scientific’s PC208W
datalogger support software. If the value stored
in the location being monitored is the result of a
program instruction, the value on the display will
be the result of the most recent scan and will be