Campbell CR23X Specifikace Strana 107

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 106
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES
7-19
CR23X
CONNECTIONS
FIGURE 7.16-1. CR23X/Paroscientific "T" Series Transducer Wiring Diagram
PROGRAM EXAMPLE
The following example reads the coefficients
from a subroutine only when the datalogger
program is compiled. The coefficients are
stored in Input Locations 3 through 16. The
temperature frequency is read on single-ended
Channel 1 and stored in Input Location 1.
Pressure is measured on single-ended Channel
2 and stored in Location 2. Instruction 64
converts the readings to engineering units.
Temperature (°C), pressure (psi), and signature
are stored in Locations 19 through 21,
respectively. The signature is based on the 14
coefficients. Record the signature once the
coefficients are correctly entered in the
program. The recorded signature may be used
to identify any changes made to the coefficients
at a later date. Instructions to output the
readings to Final Storage are not included in
this example.
PROGRAM
* Table 1 Program
01: 60 Execution Interval (seconds)
;Load the coefficients if the program has
;just compiled.
;
01: IF (X<=>F) (P89)
1: 17 X Loc [ Comp_Chk ]
2: 1 =
3: 0 F
4: 1 Call Subroutine 1
;Measure the temperature period in
;microseconds.
;
02: Period Average (SE) (P27)
1: 1 Reps
2: 4 Input Gain = 1
3: 1 SE Channel
4: 9000 No. of Cycles
5: 6 Timeout (units = 0.01 seconds)
6: 1 Loc [ Temp_us ]
7: 1 Mult
8: 1 Offset
;Measure the pressure period in
;microseconds.
;
03: Period Average (SE) (P27)
1: 1 Reps
2: 4 Input Gain = 1
3: 2 SE Channel
4: 5000 No. of Cycles
5: 15 Timeout (units = 0.01 seconds)
6: 2 Loc [ Press_us ]
7: 1 Mult
8: 0 Offset
Zobrazit stránku 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 373 374

Komentáře k této Příručce

Žádné komentáře