2 edlog – Campbell Scientific A6REL-12 Relay Driver User Manual
Page 10

A6REL-12 Relay Driver
6
5.2 EDLOG
Although the following example is a 21X program, other dataloggers that use
Edlog such as the CR10(X) and CR23X are programmed similarly.
*1 Table 1 Program
01: 5
Sec.
Execution
Interval
1: Panel Temperature (P17)
Measure the TC
1:
1
Loc [:REF TEMP ] reference temperature
2: Thermocouple Temp (DIFF) (P14)
1: 1
Rep
Measure
2: 1
5 mV slow Range
temperature
3: 1
IN
Chan
4: 1
Type
T
(Copper-Constantan)
5: 1
Ref Temp Loc REF TEMP
6: 2
Loc [:TEMP ]
7: 1.8
Mult
8: 32
Offset
3: If X<=>F (P89)
If temp is greater
1: 2
X Loc TEMP
than or equal to
2:
3
>=
99, set Flag 1 low
3:
99
F
4: 21
Reset flag 1
4: If X<=>F (P89)
If temp is less
1: 2
X Loc TEMP
than 96, set
2:
4
<
Flag 1 high
3:
96
F
4: 11
Set flag 1
5: Set Port (P20)
Set Port 1
1: 11
Set according to flag 1
according to
2:
1
Port
Number
Flag 1
Input Location Labels:
1:REF TEMP 2:TEMP