beautypg.com

G.3.2 telephone / cellular telephone application – Campbell Scientific CR23X Micrologger User Manual

Page 287

background image

APPENDIX G. CALLBACK (CR23X INITIATED TELECOMMUNICATIONS)

G-5

G.3.2 TELEPHONE / CELLULAR TELEPHONE

APPLICATION

Following is an example program for use with a
CR23X connected to a computer via a COM200
Datalogger Telephone Modem, a COM300

Datalogger Telephone Modem in data mode, or
COM100 Cellular Transceiver. A modification
may be needed to the modem string in the
PC208W Setup screen. If the string contains
an &Q setting, it must be set to &Q0 for 1200
baud (&Q5 for 9600 baud).

*Table 1 Program

01:

10

Execution Interval (seconds)

1: Panel Temperature (P17)

1:

1

Loc [ RefTemp ]

2: Thermocouple Temp (DIFF) (P14)

1:

1

Reps

2:

11

10 mV, Fast Range

3:

5

DIFF Channel

4:

1

Type T (Copper-Constantan)

5:

1

Ref Temp (Deg. C) Loc [ RefTemp ]

6:

2

Loc [ TempDegC ]

7:

1.0

Mult

8:

0

Offset

3: If time is (P92)

1:

0

Minutes (Seconds --) into a

2:

1

Interval (same units as above)

3:

10

Set Output Flag High (Flag 0)

4: Real Time (P77)

1:

1220

Year,Day,Hour/Minute (midnight = 2400)

5: Average (P71)

1:

1

Reps

2:

2

Loc [ TempDegC ]

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

1:

2

X Loc [ TempDegC ]

2:

4

<

3:

31

F

4:

11

Set Flag 1 High

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

1:

2

X Loc [ TempDegC ]

2:

3

>=

3:

32

F

4:

21

Set Flag 1 Low

;*********Cell Transceiver Control Segment***********
;Include this segment only if a cell transceiver is
;used and controlled by the CR23X. Segment enables
;transceiver for 10 minutes, at the top of each hour,
;during routine operation, but turns cell phone on
;immediately if an alarm condition occurs.