COM320 Voice Communications Modem
17
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, 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).
The modem can be forced to hang-up 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.
LoggerNet
can be configured to call and perform scheduled collections of
storage data or the datalogger can be programmed to do callbacks under
specified conditions, at which time
LoggerNet
will collect the data.
For scheduled (or manual) collection, 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.
For callback collection, the datalogger
DialSequence()
instruction changes the
COM320 from default voice mode to data mode.
The commas create a delay so that the “9” is received by the COM320 during
the voice announcement. When the COM320 detects the “9”, it disables
voice
communications and enables data mode for the remainder of that connection.
For example, in
LoggerNet
, if the phone number is "555-4321" then in order to
call the COM320 and enable data mode, the dial script becomes:
"555-4321,,,,,,9"
In
LoggerNet
, a comma represents a 2 second delay. You may need to adjust
the number of commas so that the “9” occurs during the voice announcement,
depending upon the length of time required to establish the connection with the
modem. The COM320 must be speaking when the “9” is sent.
Содержание COM320
Страница 2: ......
Страница 6: ......
Страница 32: ...COM320 Voice Communications Modem 24 ...
Страница 34: ......
Страница 40: ...Appendix B Updating and Configuring the COM320 B 6 ...
Страница 46: ...Appendix D COM320 Word List D 4 ...
Страница 47: ......