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

Page 27

Advertising
background image

SDM-IO16 16 Channel Input/Output Expansion Module

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

;check upper threshold

1: 1

-- X Loc [ Temp_1 ]

;to see if heater should

2: 3

>=

;be turned off

3: 25.5

F

4: 30

Then

Do


12: Z=F (P30)

;if heater should be turned

1: 0

F

;off, enter a '0' into

2: 0

Exponent

of

10

;heater control location

3: 10

-- Z Loc [ Heat_1 ]


13: End (P95)

;end 'then do'


14: Else (P94)

;else, if the heater is off


15: Z=F (P30)

;enter a '0' into heater

1: 0

F

;control location

2: 0

Exponent

of

10

3: 10

-- Z Loc [ Heat_1 ]


16: End (P95)

;end 'then do/else'


;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 ]

21

Advertising