![Campbell SDM-IO16 User Manual Download Page 30](http://html1.mh-extra.com/html/campbell/sdm-io16/sdm-io16_user-manual_489066030.webp)
SDM-IO16 16 Channel Input/Output Expansion Module
A-4
;End heater control logic
;Start cooler control logic
17: If (X<=>F) (P89)
;if 'cooler on' threshold
1: 1
-- X Loc [ Temp_1 ]
;is exceeded
2: 3
>=
3: 27.5
F
4: 30
Then Do
;then
18: Z=F (P30)
;put a '1' into cooler
1: 1
F
;control location
2: 0
Exponent of 10
3: 15
-- Z Loc [ Cool_1 ]
19: End (P95)
;end 'then do'
20: If (X<=>F) (P89)
;if cooler is on (cooler
1: 15
-- X Loc [ Cool_1 ]
;control location <>0)
2: 2
<>
3: 0
F
4: 30
Then Do
;then
21: If (X<=>F) (P89)
;check lower threshold to
1: 1
-- X Loc [ Temp_1 ]
;see if cooler should be
2: 4
<
;turned off
3: 24.5
F
4: 30
Then Do
22: Z=F (P30)
;if cooler should be turned off
1: 0
F
;put a '0' into cooler control
2: 0
Exponent of 10
;location
3: 15
-- Z Loc [ Cool_1 ]
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