1 displaying and altering input storage, 2 displaying and toggling user flags, 3 displaying and toggling ports – Campbell Scientific CR7 Measurement and Control System User Manual

Page 31: 4 compiling and logging data - *0 mode

Advertising
background image

SECTION 1. FUNCTIONAL MODES

1-3

TABLE 1.3-1. *6 Mode Commands

Key

Action

A

Advance to next location or enter new
value

B

Back-up to previous location

C

Change value in displayed location(Key
C, then value, then A)

D

Display/alter user flags

#

Display current location and allow a
location no. to be keyed in, followed by
A to jump to that location

*

Exit *6 Mode

1.3.1 DISPLAYING AND ALTERING INPUT

STORAGE

When *6 is keyed, the display will read
"06:0000". One can advance to view the value
stored in Input Storage location 1 by pressing 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 ID portion of
the display shows the last two digits of the
location number. If the value stored in the
location being monitored is the result of a
program instruction, the value will be updated
each time the instruction is executed.

Values may be entered into input locations
using the change command, C. While viewing
the contents of the input location in which the
value is to be entered, key C; the location
number in the ID field will disappear. Key in the
desired value and then enter it by pressing A.

If an algorithm requires parameters to be
manually modified during execution of the
program WITHOUT INTERRUPTION of the
Table execution process, the parameters can
be loaded in Input Storage locations and the *6
Mode can be used to change the values. If
values must be in place before program
execution commences, use Instruction 91 at the
beginning of the program table to prevent
execution until a flag is set high (see next
section). The initial values can be entered into
input locations using the *6 Mode after
compiling the table. The flag can then be set
high to enable the table(s).

If any program tables *1, *2, *3, or *4 output
options are altered and complied in the *0
Mode, values in Input Storage will be set to 0.
To preserve values entered in Input Storage,
compile with *6.

1.3.2 DISPLAYING AND TOGGLING USER

FLAGS

If D is keyed while the CR7 is displaying a
location value, the current status of the user flags
will be displayed in the following format:
"00:01:00:10". The characters represent the
flags, the left-most digit represents Flag 1 and
right most Flag 8. A "0" indicates the flag is low
and a "1" indicates the flag is high. In the above
example, Flags 4 and 7 are set high. To toggle a
flag, simply key the corresponding number. To
return to displaying the input location, press A.

Entering appropriate flag tests into the program
allows manual control of program execution.
For example: It is desired to be able to
manually start the execution of Table 2.
Instruction 91 is the first instruction entered in
Table 2:

01:

P91

If Flag

01:

25

5 is set low

02:

0

Go to end of program table

If Flag 5 is low, all subsequent instructions in
Table 2 will be skipped. Flag 5 can be toggled
from the *6 Mode, effectively starting and
stopping the execution of Table 2.

1.3.3 DISPLAYING AND TOGGLING PORTS

The current status of the Digital Control ports on
the active 725 excitation card can be displayed
by hitting "0" while looking at an input location
(e.g., *6A0). Ports are displayed left to right as
C8, C7, ..., C1 (exactly opposite to the flags). A
port can be toggled by pressing its number on
the keypad while in the port display mode.

The active excitation card defaults to address 1.
The active card may only be changed with
Instruction 20 in the CR7 Program (Section 9).

1.4 COMPILING AND LOGGING DATA -

*0 MODE

When the *0 Mode is entered after
programming the CR7, the program is compiled
(Section 1.1.4) and the display shows "LOG"
and the numbers of the program tables that
were enabled at compilation. The display is not
updated after entering *0.

Advertising