SECTION 9. INPUT/OUTPUT INSTRUCTIONS
9-15
PARAM.
DATA
NUM.
TYPE
DESCRIPTION
01:
4
MASK (0-255)
02:
4
INPUT LOCATION TO
STORE RESULT
Input locations altered:
1
*** 26 TIMER ***
FUNCTION
This instruction will reset a timer or store the
elapsed time registered by the timer in seconds
in an Input Storage location. Instruction 26 can
be used with Program Control Instructions to
measure the elapsed time between specific
input conditions. There is only one timer and it
is common to all tables (e.g., if the timer is reset
in Table 1 and later in Table 2, a subsequent
instruction in Table 1 to read the timer will store
the elapsed time since the timer was reset in
Table 2).
Elapsed time is tracked in 0.125 second
increments. The maximum interval that can be
timed is 8191.875 seconds.
The timer is also reset in response to certain
keyboard entries:
1.
When tables are changed and compiled
with the *0 Mode, the timer is reset
automatically.
2.
Entering "*6" after changing the program
compiles the programs, but does NOT
reset the timer.
PARAM.
DATA
NUM.
TYPE
DESCRIPTION
01:
4
Input location no. of
elapsed time in
seconds (or enter 0 to
reset)
Input locations altered: 1
(0 if timer is being reset)
*** 27 PERIOD MEASUREMENT ***
FUNCTION
Instruction 27 measures the period
(microseconds) of a signal on a single ended
input channel. As an option, the frequency of
the signal in kHz may be output instead of the
period. The specified number of cycles are
timed with a resolution of +60 nanoseconds,
making the resolution on the period 60
nanoseconds divided by the number of cycles
measured. Resolution is reduced by noise and
signals with a slow transition through the zero
voltage threshold. The "Time out" parameter
specifies the maximum length of time the
instruction will wait on each repetition for the
specified number of cycles. If the cycles have
not been counted within this time, -99999 will
be loaded into the input location.
Input Frequency Gain Codes
Range
Peak to Peak Volts
Maximum
Code
Required @ Max. Freq.
*
Frequency
1
2 mV
8 kHz
2
3 mV
20 kHz
3
12 mV
50 kHz
4
2 V
200 kHz
0x Output period in microseconds
1x Output frequency in kHz where x is range
code
* AC voltage; must be centered around CR10 ground.
PARAM.
DATA
NUM.
TYPE
DESCRIPTION
01:
2
Repetitions
02:
2
Gain/output option
03:
2
Single-ended input
channel
04:
4
# Cycles to measure
05:
4
Time out (0.01 sec, at
least the maximum
duration of the number
of cycles spe 1
1/2 cycles.)
06:
4
Destination input
location
07:
FP
Multiplier
08:
FP
Offset
Input locations altered:
1* Repetitions
*** 28 VIBRATING WIRE ***
MEASUREMENT
FUNCTION
Excites a vibrating wire sensor with a swept
frequency (from low frequency to high), then
measures the response period and calculates 1/T
2
,
where T is the period in ms. Excitation is normally
provided for before each repetition. As an option, a
single excitation can be made prior to all repetitions
Summary of Contents for CR10 PROM
Page 2: ...This is a blank page ...
Page 4: ...This is a blank page ...
Page 9: ...CR10 TABLE OF CONTENTS v LIST OF TABLES LT 1 LIST OF FIGURES LF 1 INDEX I 1 ...
Page 10: ...CR10 TABLE OF CONTENTS vi This is a blank page ...
Page 14: ...CR10 OVERVIEW OV 2 ...
Page 15: ...CR10 OVERVIEW OV 3 FIGURE OV1 1 1 CR10 and Wiring Panel ...
Page 16: ...CR10 OVERVIEW OV 4 FIGURE OV1 1 2 CR10 Wiring Panel Instruction Access ...
Page 17: ...CR10 OVERVIEW OV 5 ...
Page 34: ...CR10 OVERVIEW OV 22 ...
Page 35: ...CR10 OVERVIEW OV 23 FIGURE OV6 1 1 Data Retrieval Hardware Options ...
Page 36: ...CR10 OVERVIEW OV 24 OV7 SPECIFICATIONS ...
Page 37: ...CR10 OVERVIEW OV 25 ...
Page 38: ...CR10 OVERVIEW OV 26 ...
Page 51: ...SECTION 1 FUNCTIONAL MODES 1 13 This is a blank page ...
Page 53: ...2 2 ...
Page 62: ...SECTION 3 INSTRUCTION SET BASICS 3 6 ...
Page 63: ...SECTION 3 INSTRUCTION SET BASICS 3 7 ...
Page 68: ...SECTION 3 INSTRUCTION SET BASICS 3 12 This is a blank page ...
Page 74: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 6 ...
Page 88: ...6 5 FIGURE 6 6 1 Addressing Sequence for the RF Modem ...
Page 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 17 FIGURE 7 16 2 Well Monitoring Example ...
Page 132: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 13 This is a blank page ...
Page 197: ...SECTION 13 CR10 MEASUREMENTS 13 18 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Page 203: ...SECTION 13 CR10 MEASUREMENTS 13 24 This is a blank page ...
Page 215: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 12 This is a blank page ...
Page 218: ...APPENDIX A GLOSSARY A 3 and computers in a terminal mode fall in this category ...
Page 220: ...APPENDIX A GLOSSARY A 5 This is a blank page ...
Page 228: ...APPENDIX C BINARY TELECOMMUNICATIONS C 6 This is a blank page ...
Page 230: ...This is a blank page ...
Page 232: ...This is a blank page ...
Page 234: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 2 FIGURE G 1 Disassembling CR10 ...
Page 236: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 4 FIGURE G 3 Jumper Settings and Locations ...
Page 237: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 5 This is a blank page ...