Introduction; Programming; Programming For The Calling Cr510; Option Code For Modem Type And Baud Rate - Campbell CR510 Operator's Manual

Datalogger
Hide thumbs Also See for CR510:
Table of Contents

Advertisement

CALL ANOTHER DATALOGGER VIA PHONE OR RF

E.1 INTRODUCTION

Instructions 97, Initiate Telecommunications,
and 63, Extended Parameters can be used to
call another datalogger and collect data in input
locations. This function can only be
accomplished via phone or radio modems.

E.2 PROGRAMMING

Instruction 97 initiates the call and Instruction 63
specifies the dialing path and special options.
More than one Instruction 63 may be required.
The calling datalogger's program requires
Instructions 97 and 63 for each datalogger it
calls. Only one datalogger can be called with
each set of instructions.
When the calling datalogger executes
Instruction 97, it establishes communication and
then toggles a flag in the remote datalogger.
After a specified delay, the calling datalogger
monitors that same flag (in the remote
datalogger). When the calling datalogger
detects the flag is low, it collects the specified
input locations. The collected values are stored
in the calling datalogger's input locations
beginning at the location after the "failure
location" (Parameter 7 of Instruction 97).
In the example below, the remote datalogger is
programmed to make measurements when its
flag 1 is high and then set flag 1 low. The
calling datalogger toggles flag 1 and then waits
until flag 1 is low to collect the data, insuring
that the input location values are transferred
after the desired measurements and processing
are complete.
Section E.2 covers programming requirements
for the calling CR510. Section E.3 shows the
programming requirements for the remote
datalogger.
E.3 PROGRAMMING FOR THE
CALLING CR510
Programming Example 2.1 uses a DC112
phone modem while Programming Example 2.2
uses a RF modem.
APPENDIX E.
E.3.1 INSTRUCTION 97
Many of the parameters in Instruction 97 don't
apply when being used to call another
datalogger. See Section 12 for more detailed
information on Instruction 97's parameters.
PAR.
DATA
NO.
TYPE
01:
2
02:
2
03:
4
04:
4
05:
2
06:
4
07:
4
08:
4
Parameter 1
This specifies the first modem type to call out
through and the appropriate baud rate. See
Table E.3-1 for valid options. An RF modem is
in the SDC state when the 9th dip switch is
closed.
TABLE E.3-1. Option Code for Modem Type
Modem
RF, ME State
Phone (DC112/COM200) 20
Voice Data
RF, SDC State
Parameter 2
This specifies the flag lowered in the calling
datalogger to initiate the call to the other
datalogger. This should not be confused with
the flag that the calling datalogger sets in the
remote datalogger (specified in Instruction 63).
Parameter 3
This is the total length of time the calling
datalogger will try to collect input locations from
the remote datalogger. The timer begins when
a call is initiated and includes the dialing time.
This timer must be long enough for the remote
datalogger to detect that a flag has been set
(i.e., long enough to allow for the execution
DESCRIPTION
Modem/Baud Option
Flag No. to Disable Instruction 97
Seconds Call Time Limit
Seconds Before Fast Retry
Fast Retries
Minutes Before Slow Retry
Failures Loc :
Datalogger ID
and Baud Rate
Baud Rate
300
1200
00
01
21
40
41
50
51
9600
02
22
42
52
E-1

Advertisement

Table of Contents
loading

Table of Contents