beautypg.com

Campbell Scientific CR7 Measurement and Control System User Manual

Page 117

background image

SECTION 11. OUTPUT PROCESSING INSTRUCTIONS

11-5

The year is output as 19xx if xx is greater than
85, otherwise it will be output as 20xx. The
CR7 will require a PROM update in the year
2085. If year is output along with a 2 option in
day or hour-minute, the previous year will be
output during the first minute of the new year.

CODE RESULTS

xxx1

SECONDS (with a resolution of 0.1 sec.)

xx1x

HOUR-MINUTE

xx2x

HOUR-MINUTE, 2400 instead of 0000

x1xx

DAY OF YEAR

x2xx

DAY OF YEAR, previous day during
first minute of new day

1xxx

YEAR

Any combination of Year, Day, HR-MIN, and
seconds is possible (e.g., 1011: YEAR, HR-
MIN, SEC).

PAR.

DATA

NO.

TYPE

DESCRIPTION

01:

4

Enter appropriate TIME
option code

Outputs generated: 1 for each time parameter

selected

*** 78 SET HIGH OR LOW RESOLUTION ***

FINAL STORAGE FORMAT

FUNCTION
This instruction sets the Final Storage Format to
high resolution (5 character) or low resolution
(4 character, Section 2.2). Instruction 78 should
be entered ahead of the output instructions for
which the specified resolution is desired. The
default format is low resolution. At the
beginning of each program table execution, the
low resolution format is automatically enabled.

PAR.

DATA

NO.

TYPE

DESCRIPTION

01:

2

0 = low resolution;
1 = high resolution

Outputs generated: 0

*** 79 SAMPLE ON MAXIMUM ***

OR MINIMUM

FUNCTION
Instruction 79 samples specified input location
values at the time a new maximum or minimum
value is detected by a previous Maximize (73)
or Minimize (74) Instruction. When the Output
Flag is set, the values are transferred to Final
Storage.

Instruction 79 must directly follow the maximum
or minimum Instruction to which it refers. If the
previous Instruction 73 or 74 has more than 1
repetition, Instruction 79 will sample whenever a
new maximum or minimum is detected in any of
the locations. If sampling is to occur only when
a specific input location shows a new maximum
or minimum, the previous Maximize or Minimize
Instruction should have 1 repetition referring to
that input location.

PAR.

DATA

NO.

TYPE

DESCRIPTION

01:

2

Repetitions (number of

sequential locations to sample)

02:

4

Starting input location number

Outputs generated: 1 per repetition

*** 80 SET ACTIVE OUTPUT AREA ***

Instruction 80 is used to direct Output data to
Final Storage or to Input Storage. At the
beginning of each table the Active Output area
is set to Final Storage. When directed to Final
Storage, the second parameter can be used to
set the output array ID. If 80 is used to direct
output to Final Storage, and Parameter 2 is 0,
the array ID is determined by the instruction
location number of Instruction 80 or by the
Instruction that set the Output Flag, whichever
came last. When data is sent to Input Storage,
no array ID is sent.