background image

SDM-CD16D 16 Channel Digital Control Port Expansion Module

10

 2: 0        Exponent of 10

 3: 20    -- Z Loc [ Fan_1     ]

26:  Else (P94)

      

else, if flag 1 is reset

27:  Z=F (P30)

   

put a ‘0’ into fan control

 1: 0        F

 

location

 2: 0        Exponent of 10

 3: 20    -- Z Loc [ Fan_1     ]

28:  End (P95)

        

end ‘then do/else’

29:  Do (P86)

            

reset flag 1

 1: 21       Set Flag 1 Low

30:  End (P95)

         

end master loop

End fan control logic based on heater/cooler

Start fan control logic based on time

31:  If time is (P92)

       

if 5 minutes remain

 1: 10       Minutes (Seconds --) into a         

out of 15 minute

 2: 15       Interval (same units as above)

 

interval

 3: 12       Set Flag 2 High

              

set flag 2

32:  If Flag/Port (P91)

           

if 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 Loc [ Fan_1     ]

35:  End (P95)

           

end fan loop

36:  End (P95)

          

end’ then do’

37:  If time is (P92)

       

reset flag 2 at the

 1: 0        Minutes (Seconds --) into a    

end of the 15 minutes

 2: 15       Interval (same units as above)

 3: 22       Set Flag 2 Low

End fan control logic based on time

Input locations 10 to 24 are now loaded with a ‘1’ or ‘0’ to set ports on the SDM-CD16D

38:  SDM-CD16 / SDM-CD16D (P104)

    

send instructions to the

 1: 1        Reps

             

SDM-CD16D with address 00

 2: 00       Address

 3: 10       Loc [ Heat_1    ]

*Table 2 Program

  02: 0.0000    Execution Interval (seconds)

*Table 3 Subroutines

End Program

-Input Locations-

1 Temp_1    7 4 0

2 Temp_2    10 0 0

3 Temp_3    10 0 0

Содержание 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...

Отзывы: