beautypg.com

Campbell Scientific CR510 Basic Datalogger User Manual

Page 186

background image

APPENDIX D. DATALOGGER INITIATED COMMUNICATIONS

D-2

6: Do (P86)

1:

51

Set Port 1 Low

7: If time is (P92)

1:

0

Minutes (Seconds --) into a

2:

60

Interval (same units as above)

3:

10

Set Output Flag High

8: Real Time (P77)

1:

120

Day,Hour/Minute (2400 at
midnight)

9: Average (P71)

1:

2

Reps

2:

1

Loc [ AIR_TEMP ]

10: Maximize (P73)

1:

2

Reps

2:

0

Value Only

3:

1

Loc [ AIR_TEMP ]

11: Sample (P70)

1:

2

Reps

2:

3

Loc [ BATT_VOLT ]

12: IF (X<=>F) (P89)

1:

1

X Loc [ AIR_TEMP ]

2:

4

<

3:

31

F

4:

15

Set Flag 5 High

13: IF (X<=>F) (P89)

1:

1

X Loc [ AIR_TEMP ]

2:

3

>=

3:

32

F

4:

25

Set Flag 5 Low

14: Initiate Telecommunications (P97)

1:

22

Phone Modem/9600 Baud

2:

5

Disabled when User Flag 5
is High

3:

75

Seconds Call Time Limit

4:

120

Seconds Before Fast Retry

5:

2

Fast Retries

6:

5

Minutes before Slow Retry

7:

4

Failures Loc [ Failures ]

8:

115

Data Logger ID

15: Extended Parameters (P63)

1:

1

Option

2:

8

Option

3:

0

Option

4:

1

Option

5:

7

Option

6:

5

Option

7:

2

Option

8:

3

Option

16: Extended Parameters (P63)

1:

2

Option

2:

6

Option

3:

8

Option

4:

13

Option

5:

00

Option

6:

00

Option

7:

00

Option

8:

00

Option

D.3 PC208 DOS COMPUTER SOFTWARE

AND IT’S COMPUTER SETUP

The station file must be called ###.STN where
### is the 3 digit ID# (Parameter 8 of Instruction
97) from the datalogger program. After the
computer answers the call, it searches for a
station file (.STN) with the name of the 3 digit
ID#. The computer will than collect data based
on the data collection method in that station file.
In this example, the 3 digit ID# is 115 so the
station file is called 115.STN and the computer
will store the data in a file called 115.DAT. After
the computer has collected the data, it will look
for a batch file (.BAT) with the same filename
(in this example, 115.BAT). If it finds the
correct batch file, it will execute the batch file
before returning to the wait mode to wait for
another call.

To setup a computer to answer datalogger
initiated calls, do the following steps in order.

First, create the station file and use it to call the
site to make sure it is correct (Figure D.3-1).
Make sure to change the filename, COM Port,
and phone number to match your system.