background image

User Guide

9

End heater control logic

Start cooler control logic

12:  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

13:  Z=F (P30)

      

put a ‘1’ into cooler

 1: 1        F

         

control location

 2: 0        Exponent of 10

 3: 15    -- Z Loc [ Cool_1    ]

14:  End (P95)

            

end ‘then do’

15:  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

16:  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

17:  Z=F (P30)

if cooler should be turned off

 1: 0        F

 

put a ‘0’ into cooler control

 2: 0        Exponent of 1

  

 

location

 3: 15    -- Z Loc [ Cool_1    ]

18:  End (P95)

           

end ‘then do’

19:  Else (P94)

       

else, if cooler is off

20:  Z=F (P30)

      

put a ‘0’ into cooler

 1: 0        F

         

control location

 2: 0        Exponent of 10

 3: 15    -- Z Loc [ Cool_1    ]

21:  End (P95)

        

end ‘then do/else’

End cooler control logic

Start fan control logic based on heater/cooler

22:  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

23:  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

24:  If Flag/Port (P91)

          

if flag 1 is set

 1: 11       Do if Flag 1 is High

 2: 30       Then Do

   

then

25:  Z=F (P30)

   

put a ‘1’ into fan control

 1: 1        F

 

location

Содержание SDM-CD16D

Страница 1: ...SDM CD16D 16 Channel Digital Control Port Expansion Module User Guide Issued 15 6 99 Copyright 1999 Campbell Scientific Ltd...

Страница 2: ......

Страница 3: ...in lieu of all other guarantees expressed or implied including those of suitability and fitness for a particular purpose Campbell Scientific is not liable for consequential damage Please inform us bef...

Страница 4: ......

Страница 5: ...ddress Selection Switches 5 6 Datalogger Instructions 104 CR10 10X CR23X 21X newer CR7s and 29 older CR7s 6 7 Theory of Operation 7 8 Program Example 7 Figures 1 SDM CD16D 1 2 Equivalent Output Driver...

Страница 6: ......

Страница 7: ...nchronously addressed datalogger peripheral Datalogger control ports 1 2 and 3 are used to address the SDM CD16D then clock out the desired state of each of the 16 control ports Up to sixteen SDM CD16...

Страница 8: ...d EN50082 1 1998 If more detailed output characteristics are required experienced users should consult the equivalent circuit diagrams shown in Figure 2 below Figure 2 Equivalent Output Driver Circuit...

Страница 9: ...ls This limitation reduces the number of available analogue input channels and may make an external supply for the SDM CD16D essential 4 Installation For correct operation the SDM CD16D must be instal...

Страница 10: ...ng SDM CD16Ds to SDM CD16Ds and the datalogger should not exceed 6m Total cable lengths in excess of 6m will adversely affect communication performance For CR7 dataloggers the total cable length can b...

Страница 11: ...nding address Figures 1 and 5 shows the position of the switch Note that you will have to remove the mounting bracket to gain access to this switch Table 2 Switch Position and Addresses Switch Setting...

Страница 12: ...tarting Address base 4 00 33 4 2 Card Excitation card No 5 4 Starting Input Location Execution Time 150ms to 190ms per Rep The number of SDM CD16Ds to be addressed is defined by the Reps repetitions p...

Страница 13: ...controls output 1 When the 16 control bits are clocked in C2 is held high while C3 is pulsed low then high to latch the control bits The datalogger then lowers both C3 and C2 to complete the cycle 8 P...

Страница 14: ...hreshold 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 5 If X F P89 if the heater is on heater 1 10 X L...

Страница 15: ...hen Do 17 Z F P30 if cooler should be turned off 1 0 F put a 0 into cooler control 2 0 Exponent of 1 location 3 15 Z Loc Cool_1 18 End P95 end then do 19 Else P94 else if cooler is off 20 Z F P30 put...

Страница 16: ...flag 2 is set 1 12 Do if Flag 2 is High 2 30 Then Do then 33 Beginning of Loop P87 start fan loop 1 0 Delay 2 5 Loop Count 34 Z F P30 put a 1 into fan control 1 1 F location 2 0 Exponent of 10 3 20 Z...

Страница 17: ...3 3 11 Heat_2 11 1 0 12 Heat_3 11 1 0 13 Heat_4 11 1 0 14 Heat_5 19 1 0 15 Cool_1 7 3 3 16 Cool_2 11 1 0 17 Cool_3 11 1 0 18 Cool_4 11 1 0 19 Cool_5 19 1 0 20 Fan_1 7 1 3 21 Fan_2 11 1 0 22 Fan_3 11 1...

Отзывы: