Campbell Scientific SDM-SW8A 8-Channel Switch Closure Input Module User Manual

Page 24

Advertising
background image

Appendix A. Edlog Program Example

10: Do (P86)
1: 1

Call Subroutine 1


11: Z=Z+1 (P32)
1: 25

Z Loc [:RESET CNT]


12: Do (P86)
1: 10

Set high Flag 0 (output)


13: Real Time (P77)
1: 110

Day,Hour-Minute


14: Sample (P70)
1: 1

Reps

2: 25

Loc

RESET

CNT


15: Do (P86)
1: 21

Set low Flag 1


********** FIRST SCAN ROUTINE **********

16: Else (P94)

17: Do (P86)
1: 11

Set high Flag 1


18: End (P95)

19: End (P95)

20: End Table 1

*Table 3 Subroutines

** SUBROUTINE TO MEASURE SDM-SW8A **

1: Beginning of Subroutine (P85)
1: 1

Subroutine

Number


2: SDM-SW8A (P102)
1: 8

Reps

2: 00

Address

3: 0

Channel state(s) function

4: 1

Chan

5: 1

Loc [:state #1 ]

6: 1

Mult

7: 0

Offset

A-4

Advertising