COM320 Voice Communications Modem
10
The VoiceSetup() SecsOnLine setting is important as it
hangs up (auto-disconnects) the modem in case
someone hangs up the phone or leaves the phone off-
hook without pressing star keys for an orderly “good-
bye” disconnect. Test the entire program in this regard
before deployment to avoid possible lengthy off-hook
states disallowing incoming calls, running up a phone
bill and draining the station power supply.
3.2.2 Voice Beg / EndVoice
At call in, the
VoiceBeg
/
EndVoice
instruction pair enclose the code that is
executed when the datalogger detects a ring from the COM320.
3.2.3 CallInVoice Subroutine
This subroutine contains the code pointed to by
VoiceBeg
/
EndVoice
that
executes after a call in occurs. It consists mainly of
VoiceSpeak()
menu
announcements followed by a
VoiceKey()
instruction prompting caller input
and a
Select Case
statement choosing the program’s responses to various caller
key presses.
3.2.4 CallOutVoice Subroutine
The
CallOutVoice
subroutine contains the code that executes when
VoiceBeg
/
EndVoice
detects that a call out phone number has been dialed. It prompts a
responding party to press the # key after which it announces the menu
selections to hear: battery voltage, panel temperature, or thermocouple
temperature (SubKey1); datalogger port status of C1 – C8 (SubKey2); or
datalogger flag status of F(1) – F(8) (SubKey3). The state of the ports and flags
can be toggled as well as heard.
3.2.5 SlowSequence
Contains code that continually executes looking for the Diff 7 thermocouple to
exceed 85 °F forcing a call out (callback) because the “alarm” variable is
“True.” It dials the first phone number on the list. If no answer after 20
seconds, the second number is dialed. The list of phone numbers is dialed
repeatedly until someone picks up and presses the # key (monitored by the
CallOutVoice
subroutine) which resets “alarm” to “False” and allows the
responding party to proceed throug the
CallOutVoice
menus.
4. System Components
4.1 COM320 Modem
Connecting a COM320 voice modem to a datalogger provides all COM220
supported functions plus the following:
•
Voice retrieval of data (user or datalogger initiated)
•
Reading / Toggling of datalogger control ports
•
Reading / Toggling of program Flags
The COM320 ships with an SC12 cable (9-pin to 9-pin) for connecting
between the modem CS I/O port and datalogger CS I/O port.
WARNING
Содержание 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: ......