Data retrieval/communication, Program examples – Campbell Scientific CR510 Basic Datalogger User Manual
Page 6

CR510 TABLE OF CONTENTS
ii
2.
INTERNAL DATA STORAGE
2.1
Final Storage Areas, Output Arrays, and Memory Pointers ................................................... 2-1
2.2
Data Output Format and Range Limits .................................................................................. 2-3
2.3
Displaying Stored Data on Keyboard/Display -
∗7 Mode........................................................ 2-3
3.
INSTRUCTION SET BASICS
3.1
Parameter Data Types ........................................................................................................... 3-1
3.2
Repetitions ............................................................................................................................. 3-1
3.3
Entering Negative Numbers ................................................................................................... 3-1
3.4
Indexing Input Locations ........................................................................................................ 3-1
3.5
Voltage Range and Overrange Detection .............................................................................. 3-2
3.6
Output Processing.................................................................................................................. 3-2
3.7
Use of Flags: Output and Program Control........................................................................... 3-3
3.8
Program Control Logical Constructions ................................................................................. 3-4
3.9
Instruction Memory and Execution Time................................................................................ 3-7
3.10
Error Codes .......................................................................................................................... 3-11
DATA RETRIEVAL/COMMUNICATION
4.
EXTERNAL STORAGE PERIPHERALS
4.1
On-Line Data Transfer - Instruction 96 .................................................................................. 4-1
4.2
Manually Initiated Data Output -
∗8 Mode .............................................................................. 4-3
4.3
Printer Output Formats........................................................................................................... 4-3
4.4
Storage Module ...................................................................................................................... 4-4
4.5
∗9 Mode -- SM192/716 Storage Module Commands............................................................. 4-5
5.
TELECOMMUNICATIONS
5.1
Telecommunications Commands .......................................................................................... 5-1
5.2
Remote Programming of the CR510...................................................................................... 5-4
6.
9-PIN SERIAL INPUT/OUTPUT
6.1
Pin Description ....................................................................................................................... 6-1
6.2
Enabling and Addressing Peripherals .................................................................................... 6-2
6.3
Ring Interrupts........................................................................................................................ 6-3
6.4
Interrupts During Data Transfer ............................................................................................. 6-3
6.5
Modem/Terminal Peripherals ................................................................................................. 6-4
6.6
Synchronous Device Communication .................................................................................... 6-4
6.7
Modem/Terminal and Computer Requirements..................................................................... 6-5
PROGRAM EXAMPLES
7.
MEASUREMENT PROGRAMMING EXAMPLES
7.1
Single-Ended Voltage 107 Temperature Probe ..................................................................... 7-1
7.2
Differential Voltage Measurement.......................................................................................... 7-1
7.3
HMP35C Temperature and RH Probe ................................................................................... 7-2
7.4
Anemometer with Photochopper Output ................................................................................ 7-3
7.5
Tipping Bucket Rain Gage with Long Leads .......................................................................... 7-4
7.6
100 ohm PRT in 4 Wire Half Bridge....................................................................................... 7-4
7.7
100 ohm PRT in 3 Wire Half Bridge....................................................................................... 7-6