Remote Datalogger Programming - Campbell CR510 Operator's Manual

Datalogger
Hide thumbs Also See for CR510:
Table of Contents

Advertisement

4: Extended Parameters (P63)
1:
13
Terminate character
2:
00
3:
00
4:
00
5:
00
6:
00
7:
00
8:
00
Programming Example 2.2: Calling CR510
using RF modems
Program: This program fragment calls a
datalogger every 2 minutes at using the RF
Path of "4 10F" (that is from the calling CR510
to RF ID# 4 to RF ID# 10 at the remote site).
The CR510 toggles Flag 1 in the remote
datalogger to trigger measuring and data
collection. It collects 3 input locations beginning
at the remote datalogger's location 1. These
values are stored in locations 2, 3, and 4.
Flag Usage: Flag 2 is used to control
Instruction 97 (when to make the call). The
program need only set the flag low; Instruction
97 will set it high after a successful transfer.
*Table 1 Program
01:
1.0
Execution Interval (seconds)
1: If time is (P92)
1:
0
Minutes (Seconds --) into a
2:
2
Interval (same units as above)
3:
22
Set low Flag 2
2: Initiate Telecommunications (P97)
1:
02
RF Modem/9600 Baud
2:
2
Disabled when User Flag 2
is High
3:
45
Seconds Call Time Limit
4:
0
Seconds Before Fast Retry
5:
0
Fast Retries
6:
0
Minutes before Slow Retry
7:
1
Failures Loc [ Failures ]
8:
0000
Data Logger ID
3: Extended Parameters (P63)
1:
4
RF ID# of repeater site = 4
2:
32
Space
3:
1
RF ID# of 2
4:
0
5:
70
"F"
6:
68
"D" to call datalogger
7:
3
# of Locs to Collect
8:
1
1st Loc to Collect
APPENDIX E. CALL ANOTHER DATALOGGER VIA PHONE OR RF
E.4 REMOTE DATALOGGER
nd
site = 10
4: Extended Parameters (P63)
1:
1
Flag to toggle in Remote
Datalogger
2:
0
Delay
3:
13
Terminate character
4:
0
5:
0
6:
0
7:
0
8:
0
PROGRAMMING
The remote datalogger should be programmed
to detect when the specified flag is set high.
When the flag is set high, measurements and
processing are done; then the flag is set low.
Once the calling CR510 detects that the flag is
low, it collects the specified input locations.
Since the calling CR510 sets the flag by
toggling it, the remote datalogger should be
programmed so the flag is always low except
when the calling CR510 sets it. If the flag is
already high when the call occurs, the flag will
be toggled (setting it low), and the input
locations will be transferred immediately.
The calling CR510 may have to wait an entire
remote datalogger execution interval before the
flag set is detected. The execution interval in the
datalogger being called should be set to allow the
call to be completed within the time limit set in
Parameter 3 of Instruction 97 of the calling CR510.
Program example for a remote 21X
Program: Measures battery voltage, and
internal and external temperatures in response
to a call from the CR510.
Flag Usage: Flag 1 will be set high by the
calling datalogger. The flag is lowered after the
measurements are made.
* 1
Table 1 Programs
01:
1
Sec. Execution Interval
01:
P91
If Flag
01:
11
1 is set
02:
30
Then Do
02:
P10
Battery Voltage
01:
1
Loc :
E-3

Advertisement

Table of Contents
loading

Table of Contents