Campbell Scientific AM16/32B Relay Multiplexer User Manual

Page 28

Advertising
background image

AM16/32B Relay Multiplexer

# 3 Clock and Delay — With the CR23X and CR10(X) the clock line is

he pulse port command

s.

hen using a 21X

o either an

nnection to an excitation port is preferred because

P22) is required to send the clock

he instruct

to provide a 10 ms delay with

5000 mV of excitation. A control port can be used to clock the AM16/32B if

n excitation port is not available. The 21X and CR7 instruction sequence

ired to clock with a control port is: instruction Set Port(s) (P20) (set port

Excitation with Delay (P22) (delay 20 ms without

ed by instruction Set Port(s) (P20) (set port low).

ction

Step Loop Index (P90) is used when a measurement instruction within a loop

is instruction allows 2 – 4 sensors per SET to

ut channels. The instruction sends each

p

put Location is indexed.

ps specified in

ssigned to indexed input

ions (

three.

pass:

cond

pas

sensor

rd

pass:

6 numbers

Removing

the program, the following situation

ults:

2 3 4 5 6

pass:

2

cond

pas

sensor

rd

pass:

bers

ithout Step Loop Index (P90) the measurement values for the 2nd and 4th

sensors will be overwritten in their input locations. The 1st, 3rd, 5th, and 6th

p

ed.

connected to a control port. Instruction Do (P86) with t
(71– 78) pulses the clock line high for 10 ms. Instruction Excitation with

nal 10 m

Delay (P22) can be added following the Do (P86) to delay an additio

W

or CR7, the clock line may be connected t

excitation or control port. Co
only one instruction Excitation with Delay (
pulse. T

ion should be configured

a
requ
high), instruction
excitation), follow

# 4 Step Loop Index — With the CR23X, CR10(X), 21X or CR7, instru

has more than one repetition. Th
be measured by 2 – 4 analog inp
measurement value to a sequentially assigned input location without
overwriting any other current iteration value. Without this instruction, the
input location within the loop will advance by only one location per loo
iteration
even though the measurement instruction’s In

Example: 2 sensors per SET, 6 sensors total; two re
measurement instruction; two measurement values a
locat

--); P90 step of 2. Loop count of

Input

locations


First

1 2 3 4 5 6
1 2

Se
Thi

s: 3 4

5

the step loop instruction from

res

Input

Locations


First

1
1

Se

s: 3 4

Thi

5 6 num

W

measurement values will reside in the first 4 input locations.

Step Loop Index (P90) is available in the CR23X, CR10(X), CR7, and 21X
(with 3

rd

PROM). For 21X dataloggers without 3

rd

PROM (no instruction Ste

Loop Index (P90)), a separate measurement instruction (with one rep) is
required for each sensor measured within the loop. The input location
parameter within both measurement instructions is index

For example: 2 sensors per SET; one rep in each of two measurement
instructions; two measurement values assigned to indexed input locations (--),
one begins with input location 1, the other with input location 4; no Step Loop
Index (P90)
. A total of six sensors to be measured; loop count is three.

18

Advertising