Campbell Scientific SDM-IO16 16-Channel Input/Output Expansion Module User Manual

Page 25

Advertising
background image

SDM-IO16 16 Channel Input/Output Expansion Module

Cooling unit:
Activate when temperature >27.5°C.
Deactivate when temperature <24.5°C.

Mixing fan:
Activate whenever the heating or cooling units are activated.
Activate for 5 minutes out of every 15 minutes.

The program assumes that the temperature measurements have been made, and
that the average temperature for each greenhouse is computed and stored in
input locations 1 to 5. For further information on loops and input location
indexing, please refer to your datalogger manual.

Input location assignments are as follows:

Input
Location

Input
Location Label


Description

1..5

Temp #1..#5

Avg. temp. greenhouse 1..5

10..14

Heat #1..#5

Heater control, greenhouse 1..5
SDM-IO16 Port 1..5

15..19

Cool #1..#5

Cooler control, greenhouse 1..5
SDM-IO16 Port 6..10

20..24

Fan #1..#5

Fan control, greenhouse 1..5
SDM-IO16 Port 11..15

;{CR10X}
;
*Table 1 Program
01: 5

Execution

Interval

(seconds)


;First configure the IO16 if not already done
;If flag 1 is not set, i.e. the program has just
;been compiled or datalogger powered up.

;Omit the following four instructions if using
;an older datalogger with P104 instead of P188

1: If Flag/Port (P91)
1: 21

Do if Flag 1 is Low

2: 30

Then

Do

19

Advertising