AM32 MULTIPLEXER
12
EXAMPLE PROGRAM FOR CR10(X)
(35 locations allotted to Input Storage)
A PROGRAM TO MEASURE 32 SOIL MOISTURE BLOCKS.
*
1
Table 1 Programs
01:
1
Sec. Execution Interval
01:
P92
If time is
measure every
01:
0
minutes into a
6 hours
02:
360
minute interval
03:
30
Then Do
02:
P86
Do
activate the AM32
01:
41
Set high Port 1
03:
P87
Beginning of Loop
start the loop to
01:
0
Delay
measure and clock
02:
32
Loop Count
04:
P86
Do
clock the AM32
01:
76
Pulse Port 6
05:
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
06:
P5
AC Half Bridge
measure moisture
01:
1
Rep
blocks
02:
14
250 mV fast Range
03:
1
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
07:
P59
BR Transform Rf[X/(1-X)]
01:
1
Rep
convert to
02:
1--
Loc : [SM Bars#1]
resistance (Rs)
03:
1
Multiplier (Rf)
08:
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
09:
P89
If X<=>F
If Rs < 5k ohms
01:
1--
X Loc SM Bars#1
02:
4
<
03:
5
F
04:
30
Then Do
Содержание AM32
Страница 27: ...This is a blank page ...