beautypg.com

G.3.5 generic modem (cr23x os 1.9 or higher) – Campbell Scientific CR23X Micrologger User Manual

Page 293

background image

APPENDIX G. CALLBACK (CR23X INITIATED TELECOMMUNICATIONS)

G-11

40: Extended Parameters (P63)

1:

7

Option

2:

3

Option

3:

4

Option

4:

13

Option

; Termination Character

5:

00

Option

6:

00

Option

7:

00

Option

8:

00

Option

41: Z=X (P31)

1:

5

X Loc [ new_flag ]

2:

6

Z Loc [ old_flag ]

G.3.5 GENERIC MODEM (CR23X OS 1.9 OR

HIGHER)

Following is an example program for use with a
CR23X connected to a computer via a non-
standard modem link. Although other P97
modem options have pre-configured
telecommunications protocols, the generic
modem option requires that all transmit,
receive, and delay requirements be explicitly
programmed into the P68 instructions following
P97 in the CR23X program. The example

below requires the CR23X to wait 2 seconds
after an alarm is triggered, then transmit an
“RS” to the receiving modem. The “RS” must
be echoed by the receiving modem. After the
“RS” echo is received, the CR23X must transmit
an “A,” which must be echoed, then a “B,” which
must be echoed, and then a “C” which must be
echoed. The CR23X then transmits the station
identifying code, 123, which must be
echoed. Upon receiving the echoed 123,
the interrupt disable flag is set high and data
retrieval can begin.

1: Panel Temperature (P17)

1:

2

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:

2

Ref Temp (Deg. C) Loc [ RefTemp ]

6:

3

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:

3

Loc [ TempDegC ]