
AM32 MULTIPLEXER
15
EXAMPLE PROGRAM FOR 21X
A PROGRAM TO MEASURE 10 TCs
*
1
Table 1 Programs
01:
5
Sec. Execution Interval
01:
P17
Panel Temperature
measure reference
01:
11
Loc [:ref temp ]
temp
02:
P86
Do
enable AM32
01:
41
Set high Port 1
03:
P87
Beginning of Loop
start loop to
01:
0
Delay
clock and measure
02:
10
Loop Count
04:
P22
Excitation with Delay
clock AM32
01:
2
EX Chan
02:
1
Delay w/ EX (units=.01sec)
03:
1
Delay after EX (units=.01sec)
04:
5000
mV Excitation
05:
P14
Thermocouple Temp (DIFF)
01:
1
Rep
measure TC
02:
1
5 mV slow Range
03:
5
IN Chan
04:
1
Type T (Copper-Constantan)
05:
11
Ref Temp Loc ref temp
06:
1--
Loc [:TC temp#1]
07:
1
Mult
08:
0
Offset
06:
P95
End
end loop
07:
P86
Do
disable AM32
01:
51
Set low Port 1
08:
P
End Table 1
*
A
Mode 10 Memory Allocation
01:
28
Input Locations
02:
64
Intermediate Locations
Input Location Labels:
1:TC temp#1 4:TC temp#4 7:TC temp#7 10:TC tem#10
2:TC temp#2 5:TC temp#5 8:TC temp#8 11:ref temp
3:TC temp#3 6:TC temp#6 9:TC temp#9 12:_________
Содержание AM32
Страница 27: ...This is a blank page ...