
Appendix H. Calling Another Datalogger via Phone or RF
H-3
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 second) 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.
H.2.2.1 Programming Example 2.1: Calling CR10X using a COM200E Modem
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 2 is used to control Instruction 97 (when to make the call). The program only
needs to 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
3: Extended Parameters (P63)
1:
5
Phone # = 539
2:
3
3:
9
4:
68
‘D’ to call datalogger
5:
3
# of Locs to collect
6:
1
1
st
Loc to collect
7:
1
Flag to toggle in Remote Datalogger
8:
0
Delay
4: Extended Parameters (P63)
1:
13
Terminate character
2:
00
3:
00
4:
00
5:
00
6:
00
7:
00
8:
00