User guide
User Guide
19
6. Remote Modem Configuration
As a matter of system redundancy it is recommended that the following programming
be used as part of your datalogger program. If this programming is not used it is
possible that the remote modem may lose its configuration. If this occurs remote
communication will no longer be available. The program examples are for a CR1000,
but are adaptable to the CR800 series, and CR3000 dataloggers.
6.1 Program Example 1
In example 1 the station is a solar powered site where power management is a
concern. Modem power is controlled by the COM9522B via Control port 1.
During this time the modem is sent it’s configuration via the RS232 port and the
remainder of the time is used for actual communications. The modem is powered up
twice per day for 15 minutes each time.
'CR1000 Series Datalogger
'Declare Public Variables
'Variables for Iridium Configuration
Public SetupStr As String * 51
Public configure_modem As Boolean
'Main Program
BeginProg
'Ensure the control port used to trigger power to the modem is
set as an output.
'In this example control port 1 is used to turn power on/off
for the modem.
PortSet (1,1)
PortSet (1,0)
Scan (5,Sec,3,0)
'Activate Iridium Modems at Noon & Midnight Daily for 15
minutes each time.
'Allow modem warm-up time & check settings (5 minutes) & data
transmissions (10 minutes)
' *** Use intervals that are applicable for your application
***
If TimeIntoInterval (715,720,Min) Then PortSet (1,1)
If TimeIntoInterval (10,720,Min) Then PortSet (1,0)
'Allow the modem 1 minute for warm up before sending
settings. Once settings are