beautypg.com

Programming, Data retrieval/communication – Campbell Scientific CR7 Measurement and Control System User Manual

Page 6

background image

TABLE OF CONTENTS

ii

PROGRAMMING

1.

FUNCTIONAL MODES

1.1

Program Tables - *1, *2, and *3 Modes ................................................................................. 1-1

1.2

Setting and Displaying the Clock - *5 Mode ........................................................................... 1-2

1.3

Displaying and Altering Input Memory or Flags - *6 Mode ..................................................... 1-2

1.4

Compiling and Logging Data - *0 Mode ................................................................................. 1-3

1.5

Memory Allocation - *A........................................................................................................... 1-4

1.6

Memory Testing and System Status - *B Mode ..................................................................... 1-5

1.7

*C Mode - Security ................................................................................................................. 1-6

1.8

*D Mode - Save or Load Program .......................................................................................... 1-7

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-2

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/Card Number....................................................................................................... 3-1

3.3

Entering Negative Numbers ................................................................................................... 3-1

3.4

Indexing Input Locations ........................................................................................................ 3-2

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-6

3.10

Error Codes ............................................................................................................................ 3-9

DATA RETRIEVAL/COMMUNICATION

4.

EXTERNAL STORAGE PERIPHERALS

4.1

On-Line Data Transfer - Instruction 96, *4 Mode ................................................................... 4-1

4.2

Manually Initiated Data Output - *9 Modes............................................................................. 4-2

4.3

Storage Module ...................................................................................................................... 4-3

4.4

Printer Output Formats........................................................................................................... 4-4

5.

TELECOMMUNICATIONS

5.1

Telecommunications Commands .......................................................................................... 5-1

5.2

Remote Programming of the CR7.......................................................................................... 5-3

6.

9 PIN SERIAL INPUT/OUTPUT

6.1

Pin Description ....................................................................................................................... 6-1

6.2

Enabling Peripherals .............................................................................................................. 6-2

6.3

Interrupting Data Transfer to Storage Peripherals ................................................................. 6-2

6.4

Telecommunications - Modem Peripherals............................................................................ 6-2

6.5

Interfacing with Computers, Terminals, and Printers ............................................................. 6-2