Campbell Scientific CR10X Measurement and Control System User Manual
Page 190

SECTION 12. PROGRAM CONTROL INSTRUCTIONS
12-8
Parameter 1:
The datalogger will call out using the modem
specified in Parameter 1. If the call is to go
from one type of modem to another, list the first
modem to be used. For example, when calling
through a RF modem to phone, you would use
a code for an RF Modem. Table 12 -7 shows
the different modem/baud rate options valid for
this Parameter.
When the phone modem is specified, the
following commands are sent to the modem
before the phone number: ATV0[Enter],
ATS7=180[Enter], and ATDT. The first
command causes the modem to respond with
digits rather than words. The second command
causes the modem to wait for 180 seconds
after dialing for the carrier. The third command
causes the modem to dial the phone number (in
Instruction(s) 63 or 68) in “Touch Tones”.
Additional commands can be entered as part of
the telephone number (e.g. “,” for a delay or “P”
for pulse dialing). Additional commands must
be entered into the subsequent instructions as
their ASCII equivalents (Appendix E).
Parameter 2:
When the instruction is executed and the
interrupt disable flag (Parameter 2) is low, the
CR10X initiates the call. The datalogger will
continue to attempt communications until the
interrupt disable flag has been set high. As
soon as the flag is set high, the datalogger quits
trying to initiate the call. After a successful call
has ended, the flag is automatically set high.
(After a voice callback, the flag is not
automatically set high.)
Be careful to make sure the only times this flag
gets set low or high are the times you want to
initiate or disable the call.
Parameter 3:
Time limit in 1 sec. units. Limit on the call is
timed from the start of the instruction until a
valid ID# is received by the CR10X. This time
limit includes the dialing time.
If the complete ID# is not received by the
CR10X within the time allotted in parameter 3,
the datalogger hangs up and waits for the time
for the next attempt or retry.
Parameter 4:
The CR10X will repeat the call at a fast interval
specified by Parameter 4 (in 1 sec. units).
Parameter 5:
Number of times the CR10X will attempt retries at
the fast interval (parameter 4), before attempting
calls at the slow interval (parameter 6).
Parameter 6:
Delay between slow retries (in 1 min. units).
Note about retry rates, Parameter 4 & 6:
The actual delay between retries (both the fast
and slow) has a random factor built in, which is
added as an offset to the delay specified. The
random factor prevents calls from different
stations from occurring at the same time. This
offset will range between 0 and ½ of the delay
specified. The resolution of the timer for these
delays is the execution interval of the table in
which the Instruction 97 is initiated. The
randomized retry time is divided by the
execution interval to determine how many times
Instruction 97 must be executed before it tries
to call again. The Instruction 97 must be
executed each time the table is.
Parameter 7:
The number of unsuccessful attempts is stored
in the Failure Input Location (Parameter 7).
Once a successful call is made, the Failure
Input Location is reset to 0.
Parameter 8:
Once a connection is established, the
datalogger will send (in ASCII at the specified
baud rate) the ID# specified in Parameter 8 to
identify itself. The computer must send the ID#
back to the datalogger to finish establishing a
valid link. The ID number will be sent every 4
seconds until the CR10X receives the same ID#
back or the time specified in parameter 3
expires.
When the CR10X receives a correct character
of the ID#, it restarts the 4 second timer. The
CR10X must receive the correct ID# (each digit
in order) with no more than 4 seconds between
each digit. If an incorrect character is detected
or the 4 second timer expires, the CR10X will
immediately resend the correct ID#. If the