7 rs-232c interface control commands, Rs-232c interface control commands – Multitech MT1432BA User Manual

Page 61

Advertising
background image

61

Chapter 5 - Command Mode

5.4.7

RS-232C Interface Control Commands

Carrier Detect Control &C

The &C command allows you to control the status of the Carrier Detect signal (CD-Pin 8) on the RS-
232C line. You have four choices.

You can force the signal high, or allow it to act normally, or force the modem to reset when CD drops,
or set it to stay high until the modem disconnects, go low momentarily, and then go high again. The
last option is useful with some CBX phone systems and mainframe front ends, which require CD to
act in this manner.

To allow CD to act normally, enter the command AT&C1 (the factory default setting). To force CD on,
enter AT&C0. To reset the modem to its current parameters when CD drops, enter AT&C4. To set
up CD so that it drops for one second on disconnect and then comes up again, enter AT&C2. (If you
want the drop time to be something other than one second, use S-Register S24 to change this value.
Refer to the Chapter 6 instructions for S24.

Data Terminal Ready Control &D

Data Terminal Ready (DTR) on pin 20 of the RS-232C interface is required in order for the modem to
operate. A high DTR signal tells the modem that the device to which it is connected is active, or
"ready" to communicate through the modem. If the signal is not being provided on the RS-232C
interface, you can force DTR high with DIP-Switch #1 (

Chapter 9

).

DTR has some other modem functions. DTR can be used to trigger a dialing sequence, called DTR
Dialing. The condition of DTR can also be used to cause the modem to reset to its default
parameters, just as if you had given the modem an ATZ command. To do this, enter the command
AT&D3 and hit RETURN.

The modem will now reset itself whenever DTR is dropped from On to Off, and will also go on-hook
(hang up) if it is on-line.

Entering AT&D0 or AT&D causes the modem to ignore DTR. Entering AT&D1 causes the modem to
go on-hook (hang up) with loss of DTR. The modem enters Command mode when DTR goes high
again. Auto-answer is disabled while DTR is low. Entering AT&D2 causes the modem to go on hook
with loss of DTR. The modem enters command mode when DTR goes high again.

CTS Control &R

The &R command allows you to control the Clear to Send signal (CTS-Pin 5) on the RS-232C
interface. You have three choices. You can force the CTS signal high, allow it to act normally, or set it
to stay high until the modem disconnects, go low momentarily, and then go high again. The last
option is useful with some CBX phone systems and mainframe front ends, which require CTS to act
in this manner.

To allow CTS to act normally, enter the command AT&R0. To force CTS on, enter the command
AT&R1 (this is the factory default setting). When the modem goes on-line, CTS still provides flow
control. To set up CTS so that it drops for one second on disconnect and then comes up again, enter
the command AT&R2. (If you want the drop time to be something other than one second, use S-
Register S24 to change this value. Refer to

Chapter 6

).

Advertising
This manual is related to the following products: