Voice beg / endvoice, Callinvoice subroutine, Calloutvoice subroutine – Campbell Scientific COM310 Voice Communications Modem User Manual

Page 17: Slowsequence, System components, 1 com310 modem

Advertising
background image

COM310 Voice Communications Modem

Voice Beg / EndVoice

The VoiceBeg / EndVoice instruction pair enclose the code that is executed
when the datalogger detects a ring from its voice modem (at call in).

CallInVoice Subroutine

This subroutine contains the code pointed to by VoiceBeg / EndVoice that is to
execute 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.

CallOutVoice Subroutine

The CallOutVoice subroutine contains the code that is to execute 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.

SlowSequence

Contains code that continually executes looking for the Diff 7 thermocouple to
exceed 85F in which case the variable “alarm” is set to True and a call out
(callback) is initiated. 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 into the CallOutVoice menus.

4. System Components

4.1 COM310 Modem

Connecting a COM310 voice modem to a datalogger provides all COM210
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 COM310 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.

The COM310’s communication port is designed to function with
a Campbell Scientific CS I/O port. This is not an RS-232 port.
See Appendix E for the CS I/O port description.

NOTE

11

Advertising