7-1
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES
This section gives some examples of Input Programming for common sensors used with the CR23X.
These examples detail only the connections, Input, Program Control, and Processing Instructions
necessary to perform measurements and store the data in engineering units in Input Storage. Output
Processing Instructions are omitted. It is left for the user to program the necessary instructions to obtain
the final data in the form desired. NO OUTPUT TO FINAL STORAGE WILL TAKE PLACE WITHOUT
ADDITIONAL PROGRAMMING.
The examples given in this section would likely be only fragments of larger programs. In general, the
examples are written with the measurements made by the lowest numbered channels, the
instructions at the beginning of the program table, and low number Input Storage locations used to
store the data. It is unlikely that an application and CR23X configuration exactly duplicates that
assumed in an example. THESE EXAMPLES ARE NOT MEANT TO BE USED VERBATIM;
SENSOR CALIBRATION AND INPUT LOCATIONS SELECTED MUST BE ADJUSTED FOR THE
ACTUAL CIRCUMSTANCES. UNLESS OTHERWISE NOTED, ALL EXCITATION CHANNELS ARE
SWITCHED ANALOG OUTPUT.
7.1 SINGLE-ENDED VOLTAGE/
SWITCHED 12 V TERMINAL - CS500
The CS500 is a modified Vaisala 50Y Humitter
temperature and relative humidity sensor. It
has high level linear output of 0 to 1 V for the
temperature range of -40
°
to +60
°
C and relative
humidity of 0 to 100%. It is measured with
Instruction 1 (Volts SE). The multiplier for
temperature is found with the following
relationship [60°C - (-40°C)] / [1000 mV - 0 mV]
= 0.1°C/mV. The offset is -40°C. The multiplier
for relative humidity is [100 % - 0 %] / [1000 mV
- 0 mV] = 0.1 %/mV and the offset is 0 %. The
CS500 is powered by the CR23X’s 12 V battery
and draws <2 mA of current while on. Battery
power can be conserved by turning the CS500
on just prior to making the measurement and
turning it off after the measurement is
completed. This is done with the Switched 12 V
terminal on the CR23X wiring panel.
CONNECTIONS
The CS500 output is measured using two
single-ended voltage measurements on analog
inputs 5 and 6. Single-ended analog inputs are
labeled in blue on the CR23X wiring panel. A
wiring diagram on connections between the
CR23X and the CS500 is given in Figure 7.1-1.
CAUTION:
The Switched 12 V Control
terminal will be permanently damaged if 12
V is applied to it. Do not connect 12 V to
the Switched 12 V Control terminal.
PROGRAM
;Turn CS500 on.
;
01:
Do (P86)
1: 49
Set Switched 12 V High
;Allow CS500 to warm up and stabilize on
;the Temperature and Relative Humidity.
;
02:
Excitation with Delay (P22)
1:
3
Ex Channel
2:
0
Delay W/Ex (units = 0.01 sec)
3: 10
Delay After Ex (units = 0.01 sec)
4:
0
mV Excitation
;Measure Temperature.
;
03:
Volts (SE) (P1)
1:
1
Reps
2: 25
±
5000 mV Slow 60 Hz
Rejection Range
3:
5
SE Channel
4:
1
Loc [ Temp_C ]
5:
.1
Mult
6: -40
Offset
Содержание CR23X
Страница 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Страница 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Страница 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Страница 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Страница 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Страница 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Страница 103: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 15 CR23X AVW1 FIGURE 7 15 2 Well Monitoring Example ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Страница 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Страница 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Страница 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Страница 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Страница 239: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 13 S A N Y O FIGURE 14 11 6 Removal of band clamp and battery ...
Страница 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Страница 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Страница 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Страница 278: ...This is a blank page ...
Страница 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Страница 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Страница 300: ...This is a blank page ...
Страница 302: ...This is a blank page ...
Страница 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Страница 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Страница 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Страница 342: ...This is a blank page ...
Страница 373: ...This is a blank page ...