Campbell Com100 Instruction Manual - page 16
COM100 Cellular Phone Package
10
7. Programming to Switch Transceiver Power
Switching power to the transceiver allows the datalogger to maintain a lower
power budget by limiting communication to predetermined times. The
transceiver must be switched on before it can answer or call.
This section provides examples of datalogger programming to switch power.
If the power supply is sufficient to power the cellular transceiver continuously
without switching, no special programming is necessary.
7.1 Powering on Fixed Intervals
The simplest program switches power on at specific times and off a fixed time
later. This can be accomplished with two Instructions. Instruction 92 sets the
port controlling the relay high to turn the power on and a second Instruction 92
sets the port low. In these examples, control port 1 controls the relay.
The following program switches the transceiver on at midnight for 15 minutes:
;{CR10X}
;
*Table 1 Program
01: 10.0
Execution Interval (seconds)
01: If time is (P92)
1:
0
Minutes (Seconds --) into a
2:
1440
Interval (same units as above)
3:
41
Set Port 1 High
02: If time is (P92)
1:
15
Minutes (Seconds --) into a
2:
1440
Interval (same units as above)
3:
51
Set Port 1 Low
*Table 2 Program
02: 0.0
Execution Interval (seconds)
*Table 3 Subroutines
End Program
With the transceiver on for 15 minutes following midnight, TELCOM would
be set to call automatically once a day at 2 minutes after midnight. In some
areas there are discounts for calls during off hours.
To allow contacting the station throughout the day, the transceiver can be
turned on for the first 10 minutes of each hour: