beautypg.com

78 set high or low resolution data storage format, 79 sample on maximum or minimum, 80 set active storage area – Campbell Scientific CR23X Micrologger User Manual

Page 185: 81 rainflow histogram

background image

SECTION 11. OUTPUT PROCESSING INSTRUCTIONS

11-5

Code

Result

xxx1

SECONDS (with resolution of 0.125 sec.)

xx1x

HOUR-MINUTE

xx2x

HOUR-MINUTE, 2400 instead of 0000

x1xx

JULIAN DAY

x2xx

JULIAN DAY, 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).

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

DATA STORAGE FORMAT

FUNCTION
This instruction enables high resolution (5
character) or low resolution (4 character) final
data storage format. 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.
See Table 2.2-1 for details.

PARAM.

DATA

NUMBER

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 Maximum (73)
or Minimum (74) Instruction. When the Output
Flag is set, the values copied to Intermediate
Storage 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 samples 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 one rep referring to that
input location.

PARAM.

DATA

NUMBER

TYPE

DESCRIPTION

01:

2

Repetitions (number of
sequential locations to
sample)

02:

4

Starting input location no.

Outputs Generated:

1 per repetition

*** 80 SET ACTIVE STORAGE AREA ***

FUNCTION

Instruction 80 is used to redirect Output data to
either of the Final Storage areas or to Input
Storage and to set the array ID for Final Storage.
At the beginning of each table the Active Output
area is set to Final Storage Area 1.

When directed to Final Storage, the second
parameter can be used to set the output array
ID. Instruction 80 should follow the instruction
setting flag 0. If 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 comes last.

NOTE: When a P80 is used to set any
array ID, all array IDs should be set to
unique numbers.

When data are sent to Input Storage, no array
ID is sent. Output array ID’s can be indexed
within a loop.

PARAM.

DATA

NUMBER

TYPE

DESCRIPTION

01:

2

Storage area option
00 or 01 = Final
Storage Area 1
02 = Final Storage Area 2
03 = Input Storage Area

02:

4

Starting input location
destination if option 03
Output Array ID if options
0-2 (1-511 are valid IDs)

*** 81 RAINFLOW HISTOGRAM ***

FUNCTION
Instruction 81 implements the rainflow counting
algorithm, essential to estimating cumulative
damage fatigue to components undergoing
stress/strain cycles. Data can be provided by
making measurements in either the standard or