H.3.2 instruction 63 – Campbell Scientific CR10X Measurement and Control System User Manual
Page 274

APPENDIX H. CALL ANOTHER DATALOGGER VIA PHONE OR RF
H-2
interval of the remote datalogger), make the
appropriate measurements, lower the flag, and
allow for the input location to be transferred.
Parameters 4, 5, and 8
These parameters don’t apply when calling a
datalogger. Leave these options as 0.
Parameter 6
Normally this option is not used and should be
left as 0.
Standard datalogger to datalogger calls have a
delay of 2 seconds for the calling datalogger to
wait for all the input locations to be returned
from the remote datalogger. For long links such
as RF to RF through multiple repeaters, this
delay may not be sufficient. Parameter 6 can
be used as an extra user specified delay in units
of 0.1 seconds.
Parameter 7
This parameter specifies the location to store
the number of times the call fails. The collected
values are stored in the calling datalogger's
input locations beginning at the location after
the Failure Location.
H.3.2 INSTRUCTION 63
Instruction 63 is used to specify the dialing path
and special options for Instruction 97. More
than one Instruction 63 may be required.
Instruction 68 may be used instead of
instruction 63 when a 3 or 4 digit parameter
needs to be entered instead of the 2 digit
parameter allowed by Instruction 63.
The first set of the parameters are the phone
number or RF path. Each digit of the phone
number or an RF ID# goes into a separate
parameter.
Separate each RF ID# by a 32 (Space). After
the last RF ID#, enter a 70 (“F”).
If the phone modem at the remote site is a VS1,
after the last digit of the phone number you
need several 44s (“,”) then a 42 (“
∗”), and then
a 9. Enough commas are needed so the VS1
has enough time to pickup the phone line and to
start talking. Normally 2 or 3 commas is
sufficient. These characters are required to tell
the remote VS1 to go into the data/computer
mode instead of voice.
After the last digit of the phone number
(including any voice codes) or RF path (after the
70), enter a 68 (“D”) as one parameter. This
tells the calling datalogger that it is calling
another datalogger.
The next two parameters indicate the number of
locations to retrieve and the beginning input
location to collect respectively. You can not
retrieve from input locations 255 or higher. You
are limited on the number of locations you may
collect per call.
The next parameter is used to specify the flag
to toggle and monitor in the remote datalogger.
The second to last parameter is the delay (in
units of 0.1 seconds) the calling datalogger
should wait before checking to see if the flag
has been reset. Once the calling datalogger
determines the flag has been reset, it collects
the data.
The last parameter needs to be a 13 to
terminate the call.
Programming Example 2.1: Calling CR10X
Using Phone Modem
Program: This program fragment calls a
datalogger at phone number '”539” every 2
minutes. The CR10X 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:
22
Phone 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