Campbell Scientific AM16/32A Multiplexer User Manual

Page 20

Advertising
background image

AM16/32A Relay Analog Multiplexer

GENERALIZED “4x16” MODE PROGRAM LOOPS FOR THE CR23X, CR10(X), 21X, and CR7

21X SAMPLE PROGRAM

*

1

Table 1

Programs

01: 60

Sec.

Execution

Interval

:ACTIVATE MULTIPLEXER

1: Set Port (P20)

1:

1

Set high

2:

1

Port

Number

2: Excitation with Delay (P22)

1:

1

Ex

Channel

2:

0

Delay w/Ex

(0.01 sec units)

3:

15

Delay after Ex

(0.01 sec units)

4:

0

mV

Excitation

:BEGIN MEASUREMENT

;LOOP

3: Beginning of Loop (P87)

1:

0

Delay

2:

16

Loop Count

;CLOCK PULSE AND DELAY

4: Excitation with Delay (P22)

1:

1

EX Chan

2:

1

Delay

w/EX

(units=.01

sec)

3:

1

Delay

after

EX

(units=

.01 sec)

4: 5000

mV

Excitation

5: User Specified Measurement

Instruction

;END MEASUREMENT

;LOOP

6: End (P95)

;DEACTIVATE

;MULTIPLEXER

7: Set Port (P20)

1:

0

Set low

2:

1

Port

Number

CR7 SAMPLE PROGRAM

*

1

Table 1

Programs

01: 60

Sec.

Execution

Interval

;ACTIVATE MULTIPLEXER

1: Set Port (P20)

1:

1

Set high

2:

1

EX Card

3:

1

Port No.

2: Excitation with Delay (P22)

1:

1

Ex

Channel

2:

0

Delay w/Ex

(0.01 sec units)

3:

15

Delay after Ex

(0.01 sec units)

4:

0

mV

Excitation

;BEGIN MEASUREMENT

;LOOP

3: Beginning of Loop (P87)

1:

0

Delay

2:

16

Loop Count

;CLOCK PULSE AND DELAY

4: Excitation with Delay (P22)

1:

1

EX Card

2:

2

EX Chan

3:

1

Delay

w/EX

(units=.01

sec)

4:

1

Delay

after

EX (units =

.01 sec)

5: 5000

mV

Excitation

5: User Specified Measurement

Instruction

;END MEASUREMENT

;LOOP

6: End (P95)

;DEACTIVATE

;MULTIPLEXER

7: Set Port (P20)

1:

0

Set low

2:

1

EX Card

3:

1

Port No.

CR10X, CR23X SAMPLE PGM

*

1

Table 1

Programs

01: 60

Sec.

Execution

Interval

;ACTIVATE MULTIPLEXER

1: Do (P86)

1: 41

Set

high

Port 1

2: Excitation with Delay (P22)

1:

1

Ex

Channel

2:

0

Delay w/Ex

(0.01 sec units)

3:

15

Delay after Ex

(0.01 sec units)

4:

0

mV

Excitation

;BEGIN MEASUREMENT

;LOOP

3: Beginning of Loop (P87)

1:

0

Delay

2:

16

Loop Count

;CLOCK PULSE

4: Do (P86)

1: 72

Pulse

Port

2

;DELAY

5: Excitation with Delay (P22)

1:

1

EX

Chan

2:

0

Delay

w/EX

3:

1

Delay after EX

4:

0

mV

Excitation

6: User Specified Measurement

Instruction

;END MEASUREMENT

;LOOP

7: End (P95)

;DEACTIVATE

;MULTIPLEXER

8: Do (P86)

01: 51

Set

low

Port

1

FIGURE 7. Example “4x16” Mode Program Loops for CR23X, CR10(X), 21X and CR7 Loggers

14

Advertising