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

SDM-IO16 16 Channel Input/Output Expansion Module
23: End (P95)
;end 'then do'
24: Else (P94)
;else, if cooler is off
25: Z=F (P30)
;put a '0' into cooler
1: 0
F
;control location
2: 0
Exponent
of
10
3: 15
-- Z Loc [ Cool_1 ]
26: End (P95)
;end 'then do/else'
;End cooler control logic
;Start fan control logic based on heater/cooler
27: If (X<=>F) (P89)
;if heater is on
1: 10
-- X Loc [ Heat_1 ]
2: 2
<>
3: 0
F
4: 11
Set Flag 1 High
;set flag 1
28: If (X<=>F) (P89)
;if cooler is on
1: 15
-- X Loc [ Cool_1 ]
2: 2
<>
3: 0
F
4: 11
Set Flag 1 High
;set flag 1
29: If Flag/Port (P91)
;if flag 1 is set
1: 11
Do if Flag 1 is High
2: 30
Then
Do
;then
30: Z=F (P30)
;put a '1' into fan control
1: 1
F
;location
2: 0
Exponent
of
10
3: 20
-- Z Loc [ Fan_1 ]
31: Else (P94)
;else, if flag 1 is reset
32: Z=F (P30)
;put a '0' into fan control
1: 0
F
;location
2: 0
Exponent
of
10
3: 20
-- Z Loc [ Fan_1 ]
33: End (P95)
;end 'then do/else'
34: Do (P86)
;reset flag 1
1: 21
Set Flag 1 Low
35: End (P95)
;end master loop
;End fan control logic based on heater/cooler
;Start fan control logic based on time
22