A.1 hayes smartmodem 1200 or 300, A.2 generic modem – Campbell Scientific PC208 Datalogger Support Software User Manual

Page 109

Advertising
background image

A-1

APPENDIX A. APPLICATIONS NOTES ON INTERFACE DEVICES

Most of the interface devices supported by TELCOM are listed below along with notes on how they are
connected to the system. Manuals for the specific devices will contain additional information.

A.1 HAYES SMARTMODEM 1200 OR

300

Configuration switches are located inside the
front panel of the Hayes Smartmodem. Before
being used with the PC208 Telecommuni-
cations Software, these switches should be
checked and altered if necessary. Switch
settings are given in Table A-1.

The Smartmodem can answer incoming calls.
If the Smartmodem is to answer incoming calls
(i.e., PC208’s CallBack feature is to be used),
switch 5 (Table A-1) must be up. If you do not
want incoming calls to be automatically
answered, switch 5 should be down.

A.2 GENERIC MODEM

Generic modem allows the user to enter all
commands sent to the modem.

1.

No reset (like Hayes "ATZ") commands are
automatically sent.

2.

Characters entered for the phone number
are sent to modem.

3.

TELCOM or GraphTerm waits for the echo
of each character sent to the modem. If no
echo occurs within two tenths of a second
(plus any extra response time), the next
character is sent.

4.

The "phone number" (command string
entered by the user) must be formed as
follows:

Characters strings to be sent to the modem
must be enclosed in quotes ("). Control
characters can be sent to the modem using
the ^ symbol to designate a control
character ("^m" or "^M" produce a control M

which is a carriage return character). The ^
character can be sent by specifying "^^".
Ctrl-^ can be sent by specifying "^~" or "^)".
Other command characters (not within
quotes) are used to specify additional
control as follows:

Dn -- Delay Command -- forces the preceding
portion of the command string to be sent, then a
delay of n hundredths of a second will occur.

R"xx"n -- Wait for response -- forces the
preceding portion of the strings to be sent, then
TELCOM will wait for the quoted characters to
come back for a max of n hundredths of a
second. Once the last character of the quoted
string is detected, this command is complete.
The quoted string is not exactly checked, only
the order and existence are checked. Other
characters may be mixed in with the response
and it will all pass. Note that control characters
within the quotes may be specified as described
above. The " character following the R is
optional. The maximum delay time specified
after the quoted string is optional. If n does not
exist it defaults to either 3500 or to what was
specified in the previous R command.

+n -- Add n hundredths of a second to the
expected response times. This command is the
same as for the Hayes modem. Commands
may be separated with space characters.

Example: "ATZ^m" D200 "ATEIQV^m" R"0" 200

The above command string would send
"ATZ" followed by a carriage return to the
modem, wait 2 seconds, send "ATEIQV",
carriage return, then wait up to 2 seconds
for a "0" to come back from the modem.

Advertising