AM32 MULTIPLEXER
17
EXAMPLE PROGRAM FOR CR10(X)
A PROGRAM TO MEASURE SOIL MOISTURE BLOCKS AND THERMOCOUPLES.
(40 locations allocated to Input Storage)
*
1
Table 1 Programs
01:
1
Sec. Execution Interval
01:
P11
Temp 107 Probe
01:
1
Rep
02:
1
IN Chan
03:
3
Excite all reps w/EXchan 3
04:
33
Loc : [ref temp]
05:
1
Mult
06:
0
Offset
02:
P92
If time is
measure every 6
01:
0
minutes into a
hours
02:
360
minute interval
03:
30
Then Do
03:
P86
Do
enable the AM32
01:
41
Set high Port 1
04:
P87
Beginning of Loop
start loop to
01:
0
Delay
measure and clock
02:
16
Loop Count
05:
P86
Do
clock the AM32
01:
76
Pulse Port 6
06:
P22
Excitation with delay
01:
1
EX Chan
02:
0
Delay w/EX (units=/.01 sec)
03:
1
Delay after EX (units=.01 sec)
04:
0
mV Excitation
07:
P5
AC Half Bridge
measure moisture
01:
1
Rep
blocks
02:
14
250 mV fast Range
03:
3
IN Chan
04:
2
Excite all reps w/EXchan 2
05:
250
mV Excitation
06:
1--
Loc : [SM Bars#1]
07:
1
Mult
08:
0
Offset
08:
P59
BR Transform Rf[X/(1-X)]
01:
1
Rep
convert to
02:
1--
Loc : [SM Bars#1]
resistance (Rs)
03:
1
Multiplier (Rf)
09:
P89
If X<=>F
if Rs < 17k ohms
01:
1--
X Loc SM Bars#1
02:
4
<
03:
17.009
F
04:
30
Then Do
Summary of Contents for AM32
Page 27: ...This is a blank page ...