Campbell Scientific CR10 CR10 Measurement and Control - Page 108
Peripherals, Paroscientific, Transducer
View all Campbell Scientific CR10 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES 23: P30 01: 0 02: 0 03: 40 24: P30 01: 0 02: 0 03: 41 25: 01: 02: 03: P30 0 0 42 27: P85 01: 2 28: P 01: 15 02: I 03: 40 29: P33 01: 16 02: 40 03: 40 30: P87 01: 0 02: 3 Z=F F Exponent of 10 Z Loc [:SCRATCH 1] Z=F F Exponent of 10 Z Loc [:SCRATCH 2] Z=F F Exponent of 10 Z Loc [:CMPILE CK] End Beginning of Subroutine Subroutine Number 36 Z=X"Y X Loc POLLY M4 YLocU Z Loc [:SCRATCH 1] Z=X+Y X Loc POLY M3 Y Loc SCRATCH 1 Z Loc [:SCRATCH 1] Beginning of Loop Delay Loop Count 31: P36 01: 8 02: 40 03: 40 32; 01: 02: 03: P33 17- 40 40 33: P95 Z=X*Y XLocU Y Loc SCRATCH 1 Z Loc [:SCRATCH 1] Z=X+Y X Loc POLY M2 Y Loc SCRATCH 1 Z Loc [:SCRATCH 1] End 34: P9s End 35: P End Table 3 *A O012:: 50 64 03: 0.0000 Mode 10 Memory Allocation lnput locations Intermediate locations Finaf Storage Area2 7-24 7.18 SDM PERIPHERALS The SDM peripherals are measurement and controlmodules which are controlled by the CR10 through control ports 1 ,2, and 3. The instructions for these peripherals are: 101 SDM-|NT8I channel interval timer, 102 SDMSW8 8 channel switch closure multiplexer, 103 SDM-A04 4 channelanalog output multiplexer, and 104 SDM-CD16 16 channelcontrol port expansion. Please consult the SDM peripheral manual for programming examples. 7.1 9 PAROSCIENTIFIC PRESSURE TRANSDUCER PROCESSING This example demonstrates the use of Instruction 64 and 65 for calculating the pressure measured with a Paroscientific "T" Series transducer. Figure 7.17-l details the components required for connecting the transducer to the CR10. The user-supplied components are commonly available at commercial electronic stores. Example: The 14 coefficients shown below are for Paroscientific "T" Series transducer Serial Number 30135. Your coefficients will be ditferent. Coeff. Value Entry uo 5.860253 Y1 -3970.348 -3970.3 Y*Y2 3 -7114.265 102779.1 -7114.3 102.78 c1 70.29398 70.294 c2 6.610141 6.6101 ca -119.2867 -1 19.29 *D1 0.0308837 30.884 D2 0.0 0.0 T1 26.33703 26.337 T2 0.8516985 0.851 T3 21.80118 21.801 T4 0.0 0.0 T5 0.0 0.0 " Y3 and D1 coefficients are entered as Y3/1000 and D,.1000. 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 12 and stored in Input Location 1. Pressure is measured on single-ended Channel 1 and stored in Location 2. Instruction 64 converts the readings to engineering units.