Campbell Scientific CR10 CR10 Measurement and Control - Page 25
ov-l1
View all Campbell Scientific CR10 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 25 highlights
CRlO OVERVIEW TABLE OV4.2-2. Additional Keys Allowed in Telecommunications g - CR : S or nS C or nC Action Change Sign, Index (same as C) Enter/advance (same as A) Colon (used in setting time) Stops transmission of data (10 second time-out; any character restads) Aborts transmission of Data OV4.3 PROGRAMMING SEOUENCE ln routine applications, the CR10 measures sensor output signals, processes the measurements over some time interval and stores the processed results. A generalized programming sequence is: 1. Enter the execution interval. ln most cases, the execution interval is determined by the desired sensor scan rate. 2. Enter the InpuVOutput instructions required to measure the sensors. 3. lf processing in addition to that provided by the Output Processing Instructions (step 5) is required, enter the appropriate Processing Instructions. 4. Enter the Program Control Instruction to test the output condition and set the Output Flag when the condition is met. For example, use lnstruction 92 to output based on time. Instruction 86 to output every execution interval. Instruction 88 or 89 to output based on a comparison of values in input locations. This instruction must precede the Output Processing lnstructions which store data in Final Storage. Instructions are described in Sections 9 through 12. 5. Enter the Output Processing Instructions to store processed data in Final Storage. The order in which data are stored is determined by the order of the Output Processing lnstructions in the table. Repeat steps 4 through 6 for additional outputs on ditferent intervals or conditions. NOTE: The program must be executed for output to occur. Therefore, the interval at which the Output Flag is set must be evenly divisible by the execution interval. For example, with a 2 minute execution interval and a 5 minute output interval, the program willonly be executed on the even multiples of the 5 minute intervals, not on the odd. Data will be output every 10 minutes instead of every 5 minutes. Execution interuals and output intervals set with f nstruction 92 are synchronized with real time starting at midnight. OV4.4 INSTRUCTION FORMAT Instructions are identified by an instruction number. Each instruction has a number of parameters that give the CR10 the information it needs to execute the instruction. The CR10 Prompt Sheet has the instruction numbers in red, with the parameters briefly listed in columns following the description. Some parameters are footnoted with further description under the "lnstruction Option Codes" heading. For example, Instruction 73 stores the maximum value that occurred in an Input Storage location over the output interval. The instruction has three parameters (1) REPetitionS, the number of sequential Input Storage locations on which to find maxima, (2) TIME, an option of storing the time of occurrence with the maximum value, and (3) LOC the first Input Storage location operated on by the Maximum Instruction. The codes for the TIME parameter are listed in the "lnstruction Option Codes". The repetitions parameter specifies how many times an instruction's function is to be repeated. -For example, four l0T.thermistor probes may be measured with a single lnstruction 11, Temp107, with four repetitions. Parameter 2 specifies the input channel of the first thermistor (the probes must be connected to sequential channels). Parameter 4 specifies the Input Storage location in which to store measurements from the first thermistor. lf location 5 were used and the first probe was on channel 1, the ov-l1