beautypg.com

Campbell Scientific CR23X Micrologger User Manual

Page 133

background image

SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES

8-23

BLACK

RED

RED

BLACK

ASPTC

(LOWER)

PURPLE

RED

ASPTC

(UPPER)

PURPLE

RED

2H

2L

3H

3L

G

G

SWITCHED 12 V

FIGURE 8.12-1. Connections to Power Two 12 V ASPTCs with the Switched 12 V

on the CR23X Wiring Panel

PROGRAM

*

Table 1 Program

01:

20

Execution Interval (seconds)

01:

If time is (P92)
1:

40--

Minutes (Seconds --) into a

2:

60

Interval (same units as above)

3:

49

Set Port 9 High

02:

If time is (P92)
1:

0

Minutes (Seconds --) into a

2:

1

Interval (same units as above)

3:

30

Then Do

03:

If Flag/Port (P91)
1:

49

Do if Port 9 is High

2:

30

Then Do

04:

Reference Temperature (P17)
1:

1

Loc [ Ref_Temp ]

05:

Thermocouple Temp (DIFF) (P14)
1:

2

Reps

2:

1

±2.5 mV Slow Range

3:

2

DIFF Channel

4:

2

Type E (Chromel-Constantan)

5:

1

Ref Temp Loc [ Ref_Temp ]

6:

2

Loc [ Lower_TC ]

7:

1

Mult

8:

0

Offset

06:

Do (P86)
1:

59

Set Port 9 Low

07:

Z=X-Y (P35)
1:

3

X Loc [ Upper_TC ]

2:

2

Y Loc [ Lower_TC ]

3:

4

Z Loc [ del_TC ]

08:

If time is (P92)
1:

0

Minutes (Seconds --) into a

2:

60

Interval (same units as above)

3:

10

Set Output Flag High

09:

Real Time (P77)
1: 0110

Day,Hour/Minute

10:

Average (P71)
1:

4

Reps

2:

1

Loc [ Ref_Temp ]

11:

End (P95)

12:

End (P95)

Input Locations

1 Ref_Temp
2 Lower_TC
3 Upper_TC
4 del_TC