Section 7. Measurement Instructions
7-19
Parameter
& Data Type
Enter INT8 INSTRUCTION PARAMETERS
Funct8_5
Funct4_1
Constants
Each of the 8 input channels can be independently programmed for one of eight different
timing functions.
Funct8_5
is a four digit code to program the timing functions of INT8
channels 5 through 8.
Funct4_1
is a four digit code to program the timing functions of INT8
channels 1 through 4. See section 5.3 of the INT8 manual for further details about these
functions.
Digit
Results
0
None
1
Period (msec) between edges on this channel
2
Frequency (kHz) of edges on the channel
3
Time between an edge on the previous channel and the edge on this channel
(msec)
4
time between an edge on channel 1 and the edge on this channel (msec)
5
Number of edges on channel 2 between the last edge on channel 1 and the edge
on this channel using linear interpolation
6
Low resolution frequency (kHz) of edges on this channel
7
Total number of edges on this channel since last interrogation
8
Integer number of edges on channel 2 between the last edge on channel 1 and the
edge on this channel.
For example, 4301 in the second function parameter means to return 3 values: the period for
channel 1, (nothing for channel 2) the time between an edge on channel 2 and an edge on
channel 3, and the time between an edge on channel 1 and an edge on channel 4. The values
are returned in the sequence of the channels, 1 to 16.
Note: the destination array must be dimensioned large enough to hold all the functions
requested.
OutputOpt
Code to select one of the five different output options. The Output Option that is selected will
be applied to the data collection for all of the INT8 channels. The numeric code for each
option is listed below with a brief explanation of each. See the INT8 manual for detailed
explanations of each option.
Code Result
0:
Average of the event data since the last time that the INT8 was interrogated by the
datalogger. If no edges were detected, 0 will be returned for frequency and count
functions, and 99999 will be returned for the other functions. The INT8 ceases to
capture events during communications with the logger, thus some edges may be
lost.
32768
Continuous averaging, which is utilized when input frequencies have a slower
period than the execution interval of the datalogger. If an edge was not detected
for a channel since the last time that the INT8 was polled, then the datalogger will
not update the input location for that channel. The INT8 will capture events even
during communications with the datalogger.
nnnn
Averages the input values over "
nnnn
" milliseconds. The datalogger program is
delayed by this instruction while the INT8 captures and processes the edges for
the specified time duration and sends the results back to the logger. If no edges
were detected, 0 will be returned for frequency and count functions, and 99999
will be returned for the other functions.
Содержание CR9000
Страница 6: ...CR9000 Table of Contents iv This is a blank page ...
Страница 22: ...CR9000 Overview OV 16 This is a blank page ...
Страница 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Страница 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Страница 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Страница 217: ...This is a blank page ...