21x, and cr7 dataloggers – Campbell Scientific AM16/32B Relay Multiplexer User Manual
Page 30

AM16/32B Relay Multiplexer
20
GENERALIZED “4x16” MO
10(X), 21X, and CR7
DE PROGRAM LOOPS FOR THE CR23X, CR
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
:BEGIN MEASUREMENT
;LOOP
2: Beginning of Loop (P87)
1:
0
Delay
2:
16
Loop
;CLOCK PULSE AND DELAY
3: 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
4: User Specified Measurement
Instruction
;END MEASUREMENT
;LOOP
5: End (P95)
;DEACTIVATE
;MULTIPLEXER
6: Set Port (P20)
1:
0
Set low
2:
1
Port
Number
Count
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.
;BEGIN MEASUREMENT
;LOOP
2: Beginning of Loop (P87)
1:
0
Delay
1
EX Card
2:
2
EX Chan
nits
=
.01 sec)
5: 5000
mV
Excitation
4: User Specified Measurement
Instruction
;END MEASUREMENT
;LOOP
5: End (P95)
;DEACTIVATE
;MULTIPLEXER
6: Set Port (P20)
1:
0
Set low
2:
1
EX Card
3:
1
Port No.
CR10(X), CR23X
2:
16
Loop Count
;CLOCK PULSE AND DELAY
3: Excitation with Delay (P22)
1:
3:
1
Delay
w/EX
(units=.01
sec)
4:
1
Delay
after
EX
(u
PROGRAM
SAMPLE
Table 1
ution
1:
0
Delay
2:
16
Loop Count
ulse
Port
2
2)
3:
1
Delay
after
EX
4:
0
mV
Excitation
5: User Specified Measurement
Instruction
;END MEASUREMENT
;LOOP
6: End (P95)
;DEACTIVATE
;MULTIPLEXER
7: Do (P86)
01: 51
Set
low
Port
1
*
1
Programs
01: 60
Sec.
Exec
Interval
;ACTIVATE MULTIPLEXER
1: Do (P86)
1: 41
Set
high
Port 1
;BEGIN MEASUREMENT
;LOOP
2: Beginning of Loop (P87)
;CLOCK PULSE
3: Do (P86)
1: 72
P
;DELAY
4: Excitation with Delay (P2
1:
1
EX
Chan
2:
0
Delay
w/EX
FIGURE 5-2. Example “4x16” mode program loops for CR23X,
CR10(X), 21X, and CR7 dataloggers