Campbell Scientific AM16/32A Multiplexer User Manual

Page 21

Advertising
background image

AM16/32A Relay Analog Multiplexer

EXAMPLE “2x32” MODE PROGRAMS - GENERALIZED PROGRAM LOOPS FOR THE

CR23X, 21X, CR10(X), 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: 32

Loop

Count

CLOCK PULSE/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: 32

Loop

Count

;CLOCK PULSE/DELAY

4: Excitation with delay (P22)

1:

1

EX

Chan

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 PortP20

1:

0

Set

low

2:

1

EX

Card

3:

1

Port

No.

CR10(X), CR23X SAMPLE

PROGRAM

*

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: 32

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

(units=.01

sec)

3:

1

Delay after EX

(units=.01

sec)

0:

0

mV

Excitation

6: User Specified Measurement

Instruction

;END MEASUREMENT

;LOOP

7: End (P95)

;DEACTIVATE

;MULTIPLEXER

8: Do (P86)

1: 51

Set

low

Port

1

FIGURE 8. Example “2x32” Mode Program Loops for CR23X, CR10(X), 21X and CR7 Loggers

15

Advertising