beautypg.com

Campbell Scientific ENC10/12, ENC12/14, ENC14/16, ENC16/18 Enclosures User Manual

Page 35

background image

Appendix A. Door Switch


9: End (P95)

10: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 5

Interval (same units as above)

3: 10

Set Output Flag High (Flag 0)


11: Set Active Storage Area (P80)
1: 1

Final

Storage

Area

1

2: 101

Array

ID


12: Sample (P70)
1: 1

Reps

2: 2

Loc [ DOOR_out ]


; Reset door status after output interval
13: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 5

Interval (same units as above)

3: 30

Then

Do


14: Z=F x 10^n (P30)

1: 0.0

F

2: 00

n,

Exponent

of

10

3: 2

Z Loc [ DOOR_out ]


15: End (P95)

; Method #2 ==================================

16: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 5

Interval (same units as above)

3: 10

Set Output Flag High (Flag 0)


17: Set Active Storage Area (P80)
1: 1

Final

Storage

Area

1

2: 102

Array

ID


18: Histogram (P75)
1: 1

Reps

2: 1

No.

of

Bins

3: 1

Closed

Form

4: 1

Bin Select Value Loc [ DOORopen1 ]

5: 0

Frequency

Distribution

6: 0.5

Low

Limit

7: 1.5

High

Limit


*Table 2 Program
02: 0

Execution

Interval

(seconds)


*Table 3 Subroutines

End Program

A-7