Campbell Scientific SDM-CD16D 16-Channel Digital Control Port Expansion Module User Manual

Page 14

Advertising
background image

SDM-CD16D 16 Channel Digital Control Port 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 Input
Location Location

Label

Description

1..5

Temp #1..#5

Avg. temp. greenhouse 1..5

10..14

Heat #1..#5

Heater control, greenhouse 1..5

SDM-CD16D Port 1..5

15..19

Cool #1..#5

Cooler control, greenhouse 1..5

SDM-CD16D Port 6..10

20..24

Fan #1..#5

Fan control, greenhouse 1..5

SDM-CD16D Port 11..15

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

Execution

Interval

(seconds)


1: Beginning of Loop (P87)

Master loop: end

1: 0

Delay

loop at step 30

2: 5

Loop

Count


Start heater control logic

2: If (X<=>F) (P89)

if temperature is below

1: 1

-- X Loc [ Temp_1 ]

heater threshold

2: 4

<

3: 23.5

F

4: 30

Then

Do

then


3: Z=F (P30)

put a ‘1’ into heater control

1: 1

F

location

2: 0

Exponent

of

10

3: 10

-- Z Loc [ Heat_1 ]


4: End (P95)

end ‘then do’

10

Advertising