SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES
8-3
Input Location Labels:
1:Rain (mm)
2:15min tot
*
1
Table 1 Programs
01:
60
Sec. Execution Interval
01:
P3
Pulse
01:
1
Rep
02:
1
Pulse Input Chan
03:
2
Switch Closure
04:
1
Loc [:Rain (mm)]
05:
.254
Mult
06:
0
Offset
02:
P92
If time is
01:
0
minutes into a
02:
15
minute interval
03:
10
Set high Flag 0 (output)
03:
P80
Set Active Storage Area
01:
3
Input Storage Area
02:
2
Array ID or location
04:
P72
Totalize
01:
1
Rep
02:
1
Loc Rain (mm)
05:
P89
If X<=>F
01:
2
X Loc 15min tot
02:
2
<>
03:
0
F
04:
30
Then Do
06:
P80
Set Active Storage Area
01:
1
Final Storage Area 1
02:
25
Array ID or location
07:
P77
Real Time
01:
110
Day,Hour-Minute
08:
P70
Sample
01:
1
Reps
02:
2
Loc 15min tot
09:
P95
End
10:
P
End Table 1
8.3 USING CONTROL PORTS AND
LOOP TO RUN AM416
MULTIPLEXER
This example uses an AM416 to measure 16
copper-constantan thermocouples and 16
Model 223 soil moisture blocks. The sensors
are read every ten minutes and the average
value output once an hour. The multiplexer is
housed in an AM-ENCT enclosure to minimize
thermocouple errors created by thermal
gradients. A 107 Temperature Probe is
centrally located on the multiplexer board and
used as a thermocouple temperature reference.
The AM416 switches the 223 moisture block
out of the circuit when it is not being measured.
This eliminates the need for the blocking
capacitors used in the model 227 soil moisture
block. The 223 blocks are about one fifth the
cost of the 227 blocks.
Control ports are used to reset the AM416 and
clock it through its channels. The sequence of
the program is:
•
Measure the 107 probe located at the
AM416 for TC temperature reference.
•
CR10 sets the port high which resets the
AM416.
•
A loop is entered; within each pass:
•
The port clocking the AM416 is pulsed.
•
The connected TCs and moisture blocks
are measured.
•
CR10 sets the port controlling AM416 reset
low.
•
Soil moisture measurements are converted
to block resistances.
The input location in which the temperature and
soil moisture measurements are stored is
indexed to the loop counter (Instruction 87,
Section 12). An indexed location is
incremented by one with each pass through the
loop. For example, on the first pass
temperature is stored in Location 2, and soil
moisture in Location 18. On the second pass
temperature is stored in Location 3, and soil
moisture in Location 19. After 16 loop passes,
temperature and soil moisture measurements
occupy Locations 2 through 17 and 18 through
33, respectively.
Connections are shown in Figure 8.3-1.
Содержание CR10 PROM
Страница 2: ...This is a blank page ...
Страница 4: ...This is a blank page ...
Страница 9: ...CR10 TABLE OF CONTENTS v LIST OF TABLES LT 1 LIST OF FIGURES LF 1 INDEX I 1 ...
Страница 10: ...CR10 TABLE OF CONTENTS vi This is a blank page ...
Страница 14: ...CR10 OVERVIEW OV 2 ...
Страница 15: ...CR10 OVERVIEW OV 3 FIGURE OV1 1 1 CR10 and Wiring Panel ...
Страница 16: ...CR10 OVERVIEW OV 4 FIGURE OV1 1 2 CR10 Wiring Panel Instruction Access ...
Страница 17: ...CR10 OVERVIEW OV 5 ...
Страница 34: ...CR10 OVERVIEW OV 22 ...
Страница 35: ...CR10 OVERVIEW OV 23 FIGURE OV6 1 1 Data Retrieval Hardware Options ...
Страница 36: ...CR10 OVERVIEW OV 24 OV7 SPECIFICATIONS ...
Страница 37: ...CR10 OVERVIEW OV 25 ...
Страница 38: ...CR10 OVERVIEW OV 26 ...
Страница 51: ...SECTION 1 FUNCTIONAL MODES 1 13 This is a blank page ...
Страница 53: ...2 2 ...
Страница 62: ...SECTION 3 INSTRUCTION SET BASICS 3 6 ...
Страница 63: ...SECTION 3 INSTRUCTION SET BASICS 3 7 ...
Страница 68: ...SECTION 3 INSTRUCTION SET BASICS 3 12 This is a blank page ...
Страница 74: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 6 ...
Страница 79: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 11 10 0X X is current address enter address to change to 1 8 ...
Страница 88: ...6 5 FIGURE 6 6 1 Addressing Sequence for the RF Modem ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 17 FIGURE 7 16 2 Well Monitoring Example ...
Страница 132: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 13 This is a blank page ...
Страница 197: ...SECTION 13 CR10 MEASUREMENTS 13 18 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 203: ...SECTION 13 CR10 MEASUREMENTS 13 24 This is a blank page ...
Страница 215: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 12 This is a blank page ...
Страница 218: ...APPENDIX A GLOSSARY A 3 and computers in a terminal mode fall in this category ...
Страница 220: ...APPENDIX A GLOSSARY A 5 This is a blank page ...
Страница 228: ...APPENDIX C BINARY TELECOMMUNICATIONS C 6 This is a blank page ...
Страница 230: ...This is a blank page ...
Страница 232: ...This is a blank page ...
Страница 234: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 2 FIGURE G 1 Disassembling CR10 ...
Страница 235: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 3 FIGURE G 2 Jumper Settings for Different RAM Configurations in Early CR10s ...
Страница 236: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 4 FIGURE G 3 Jumper Settings and Locations ...
Страница 237: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 5 This is a blank page ...
Страница 241: ...LIST OF TABLES LT 4 This is a blank page ...
Страница 253: ...CR10 INDEX I 10 This is a blank page ...