Setting And Displaying The Clock - 5 Mode; Displaying/Altering Input Memory, Flags, And Ports - ∗6 Mode; Sequence Of Time Parameters In 5 Mode; Mode Commands - Campbell CR510 Operator's Manual

Datalogger
Hide thumbs Also See for CR510:
Table of Contents

Advertisement

SECTION 1. FUNCTIONAL MODES
modes will return to the mode without
recompiling.
When the 0 or B Mode is used to compile, all
output ports and flags are set low, the timer is
reset, and data values contained in Input and
Intermediate Storage are reset to zero.
When the 6 Mode is used to compile data
values contained in Input Storage, the state of
flags, control ports, and the timer (Instruction
26) are unaltered. Compiling always zeros
Intermediate Storage.
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.
1-4
TABLE 1.2-1. Sequence of Time
Parameters in 5 Mode
Display
Key
ID:DATA
5
:HH:MM:SS
A
05:XXXX
A
05:XXXX
A
05:HH:MM:
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.
Key
Action
A
Advance to next input location or
enter new value
B
Back-up to previous location
C
Change value in input location
(followed by keyed in value, then "A")
D
Display/alter user flags
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 WITH THE KEYBOARD DISPLAY
When " 6" is entered, the keyboard/display will
read "06:0000". 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
Description
Display current time
Display/enter year
Display/enter day of year
1-365(366)
Display/enter
hours:minutes

6 Mode Commands

Advertisement

Table of Contents
loading

Table of Contents