4 answer in data mode, 5 loggernet – Campbell Scientific COM320 Voice Communications Modem User Manual
Page 24

COM320 Voice Communications Modem
with the remote PakBus device identified by the PakBusAddr parameter
(LoggerNet server with PakBus address = 4094), the DialSequence code for
that datalogger will be executed.
DialModem
The DialModem instruction is used to send a modem dial string out one of the
datalogger's ports. DialModem can be used within DialSequence /
EndDialSequence to specify a communication route to be used for a PakBus
device.
The ResponseString is used to specify the response code expected back from
the modem when a connection is made. When a null string is entered ("") the
default is "1"+ CHR(13).
SendVariables
The SendVariables instruction is used to send value(s) from a variable or
variable array to a data table in a destination PakBus device.
In the example data callback program, the variable “dummy” is sent to
LoggerNet as a signal for LoggerNet to begin collection of the datalogger.
5.4 Answer in Data Mode
In most applications the COM320 will answer with voice prompts and phrases.
If a phone modem was used in making the call, in order to establish a data
connection, a series of commas followed by a “9” would be appended to the
dialed phone number to switch the COM320 into a data mode.
Some applications may require the COM320 to answer in a data mode without
the intervention of sending the “9”. This can be done via datalogger control by
having a “#9” as the last or only word in a VoiceSpeak instruction. Example:
VoiceSpeak(“#9”,0).
You can also force the modem to hang-up by using the word “#HANGUP” as
the last or only word in the VoiceSpeak instruction.
5.5 LoggerNet
By default the COM320 operates in voice mode, enabling you to call a station
and hear voice announcements or enabling the station to do a callback to you
and announce an alarm. The COM320 also has the ability to function in data
mode. In data mode, the COM320 supports data collection and other standard
LoggerNet functions.
You can set up LoggerNet to call and perform scheduled collections of storage
data or you can program the datalogger to do callbacks under the conditions
you specify at which time LoggerNet will collect the data.
For scheduled (or manual) collection you change the COM320 to data mode
by including six commas and a “9” in LoggerNet’s dial script in the Setup
Screen’s Hardware Tab for PhoneRemote.
18