2 displaying and toggling user flags, 3 displaying and toggling ports, 4 compiling and logging data - *0 mode – Campbell Scientific CR10X Measurement and Control System User Manual
Page 41: 5 memory allocation - *a, 1 internal memory

SECTION 1. FUNCTIONAL MODES
1-5
Storage location 20, key in "*6 20 A". The ID
portion of the display shows the last 2 digits of
the location number. If the value stored in the
location being monitored is the result of a
program instruction, the value on the
keyboard/display will be the result of the most
recent scan and will be updated each time the
instruction is executed. When using the
∗6
Mode from a remote terminal, a number (any
number) must be sent before the value shown
will be updated.
Input locations can be used to store parameters
for use in computations. To store a value in a
location, or change the current value, key "C"
while monitoring the location, followed by the
desired number and "A".
If an algorithm requires parameters to be
manually modified during execution of the
Program without interruption of the Table
execution process, the
∗6 Mode can be used. (If
parameters will not need modification, it is better
to load them from the program using Instruction
30.) If initial parameter values are required to be
in place before program execution commences,
use Instruction 91 at the beginning of the
program table to prevent the execution until a
flag is set (see the next section). Initial
parameter values can be entered into input
locations using the
∗6 Mode C command. The
flag can then be set to enable the table(s).
If the program is altered and compiled with
∗0
Mode, all values previously entered via
∗6C will
be set to zero. To preserve
∗6C entered values,
compile in the
∗6 Mode after changing the
program.
1.3.2 DISPLAYING AND TOGGLING USER
FLAGS
If D is keyed while the CR10X is displaying a
location value, the current status of the user flags
will be displayed in the following format:
"00:010010". The characters represent the flags,
the left-most digit is Flag 1 and right most is Flag
8. A "0" indicates the flag is clear and a "1"
indicates the flag is set. In the above example,
Flags 4 and 7 are set. To toggle a flag, simply
press 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, to manually start the execution of
Table 2: enter Instruction 91 as the first
instruction in Table 2. The first parameter is 25
(do if Flag 5 is low), the second parameter is 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 status of the CR10X ports 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 configured as output can be toggled by
hitting its number while in the port display mode.
There is no effect on ports configured as inputs.
On power up all ports are configured as inputs.
Instruction 20 is used to configure a port as an
output. Ports are also configured as outputs by
any program control commands which uses the
port as an output (pulse, set high, set low,
toggle).
1.4 COMPILING AND LOGGING DATA -
∗∗∗∗0 MODE
When the
∗0 Mode is entered after
programming the CR10X, the program is
compiled and the display shows "LOG" followed
by the active program table numbers. The
display is not updated after entering
∗0.
NOTE: All output ports are set low, the
timer is reset, and data values in Input and
Intermediate Storage are RESET TO ZERO
whenever the program tables are altered
and the Program is recompiled with the
∗0
Mode. The same is true when the
programs are compiled with
∗B or ∗D.
To minimize current drain, the CR10X should
be left in the
∗0 Mode when logging data.
1.5 MEMORY ALLOCATION -
∗∗∗∗A
1.5.1 INTERNAL MEMORY
When powered up with the keyboard display
attached, the CR10KD displays HELLO while
performing a self check. The total system
memory is then displayed in K bytes. The size
of memory can be displayed in the
∗B mode.