background image

Chapter 4 - AT Commands, S-Registers, Result Codes

13

MultiModemDID User Guide

Chapter 4 - AT Commands, S -Registers,

and Result Codes

AT commands are used to control the operation of your modem. They are so called because each
command must be preceded by the characters 

AT to get the ATtention of the modem.

AT commands can be issued only when the modem is in command mode or online command mode. The
modem is in 

command mode whenever it is not connected to another modem. The modem is in data

mode whenever it is connected to another modem and ready to exchange data. Online command mode
is a temporary state in which you can issue commands to the modem while connected to another
modem. To put the modem into online command mode from data mode, you must issue an 

escape

sequence (+++) followed immediately by the AT characters and the command, e.g., +++ATH to hang up
the modem. To return to data mode from online command mode, you must issue the command ATO.

To send AT commands to the modem you must use a communications program, such as HyperTerminal
or the PhoneTools communications program included with your modem. You can issue commands to the
modem either directly, by typing them in the terminal window of the communications program, or
indirectly, by configuring the operating system or communications program to send the commands
automatically. Fortunately, communications programs make daily operation of modems effortless by
hiding the commands from the user. Most users, therefore, need to use AT commands only when
reconfiguring the modem, e.g., to turn autoanswer on or off.

The format for entering an AT command is AT

Xn, where X is the command and n is the value for the

command, sometimes called the command 

parameter. The value is always a number. If the value is zero,

you can omit it from the command; thus, AT&W is equivalent to AT&W0. Most commands have a 

default

value, which is the value that is set at the factory. The default values are shown in the “AT Commands”
section, which begins on the next page.

You must press E

NTER

 to send the command to the modem. Any time the modem receives a command, it

sends a response known as a 

result code. The most common result codes are OK, ERROR, and the

CONNECT messages that the modem sends to the computer when it is connecting to another modem.
For a table of valid result codes, see “Result Codes” at the end of this chapter.

You can issue several commands in one line, in what is called a command 

string. The command string

begins with AT and ends when you press E

NTER

. Spaces to separate the commands are optional; they

are ignored by the command interpreter. The most familiar command string is the 

initialization string,

which is used to configure the modem when it is turned on or reset, or when your communications
software calls another modem.

Содержание MultiModem DID MT5634ZBA-DID

Страница 1: ...MT5634ZBA DID Data Fax DID Modem User Guide...

Страница 2: ...are trademarks of Adobe Systems Incorporated MNP is a trademark of Microcom Inc Microsoft Windows Windows 95 Windows 98 Windows Me Windows NT Windows 2000 and Windows XP are either registered trademar...

Страница 3: ...Old Modem from Windows 8 Chapter 3 Operation 10 Front Panel of the MultiModemDID Modem 10 DID Operation 11 V 92 Operation 11 Connecting to the Internet 12 Dial Up Networking 12 Chapter 4 AT Commands...

Страница 4: ...Data Software Can t Run at the Same Time 45 DID Troubleshooting 46 Appendix A Regulatory Compliance 47 FCC Part 68 Telecom 47 FCC Part 15 48 Fax Branding Statement 48 Canadian Limitations Notice 48 I...

Страница 5: ...nattended at a central fax machine The MT5634ZBA DID utilizes Super G3 V 34 fax speeds of 33 6K bps Now computer based fax servers can achieve the Super G3 speeds found in dedicated fax machines The M...

Страница 6: ...telephone numbers Safety 1 Use this product only with UL and cUL listed computers 2 To reduce the risk of fire use only 26 AWG 41mm or larger telephone wiring 3 Never install telephone wiring during a...

Страница 7: ...tion and then connect it to your computer s serial port the phone line AC power DID line and your phone Connect the Modem to Your PC Plug one end of the serial cable into the connector on the modem an...

Страница 8: ...dicator lights and if a terminal program is running the TR indicator also lights If this does not happen check that the power switch is on the power supply is solidly connected and the AC outlet is li...

Страница 9: ...k Close 5 The next time you dial a HyperTerminal connection it will select your new modem and ask you to confirm the selection From Windows 98 Me 1 Click Start Settings Control Panel 2 Double click th...

Страница 10: ...enever the modem is set for or connects using the V 90 or V 92 protocols 33 33 The 33 LED is a V 34 mode indicator It lights whenever the modem connects using the V 34 protocol OH Off Hook The OH LED...

Страница 11: ...The central office will forward several of the last digits of the incoming call to the DID modem through one of three formats DTMF MF or pulse signaling V 92 Operation Because the V 92 protocol is new...

Страница 12: ...s your ISP should also provide you with the following information E mail or POP mail address POP server address Mail or SMTP address News or NNT server address Dial Up Networking Before you can connec...

Страница 13: ...ions program to send the commands automatically Fortunately communications programs make daily operation of modems effortless by hiding the commands from the user Most users therefore need to use AT c...

Страница 14: ...erse channel same as B3 B3 Deselect V 23 reverse channel same as B2 B15 Select V 21 when the modem is at 300 bps B16 Select Bell 103J when the modem is at 300 bps Command Ds Dial Values s dial string...

Страница 15: ...s n 0 1 Default 1 Description F0 Enables online data character echo Not supported F1 Disables online data character echo included for backward compatibility with some software Command Hn Hook Control...

Страница 16: ...Description O0 Exits online command mode and returns to data mode see AT CR escape sequence O1 Issues a retrain and returns to online data mode O3 Issues a rate renegotiation and returns to data mode...

Страница 17: ...ption X0 Basic result codes e g CONNECT does not look for dial tone or busy signal X1 Extended result codes e g CONNECT 46000 V42bis does not look for dial tone or busy signal X2 Extended result codes...

Страница 18: ...Settings Values n 0 Default None Description F0 Loads factory settings as active configuration Note See also the Z command Command Gn V 22bis Guard Tone Control Values n 0 1 or 2 Default 0 Descriptio...

Страница 19: ...p password has been entered it also displays the callback security passwords Command Wn Store Current Configuration Values n 0 1 Default 1 Description W0 Stores current modem settings in nonvolatile m...

Страница 20: ...de no break sent to the remote modem K1 Clears data buffers and send break to the remote modem K2 Same as K0 K3 Sends break immediately to the remote modem K4 Same as K0 K5 Sends break to the remote m...

Страница 21: ...K4 Q2 CTS only flow control Not supported Q3 RTS CTS hardware flow control same as K3 Command Tn Inactivity Timer Values n 0 1 255 Default 0 Description Tn Sets the time in minutes that the modem wait...

Страница 22: ...klist Values n a Description If blacklisting is in effect AT B displays the numbers for which the last call attempted in the previous two hours failed In countries that do not require blacklisting the...

Страница 23: ...n bits per second Default 57600 Description SB300 Set serial port to 300 bps SB1200 Set serial port to 1200 bps SB2400 Set serial port to 2400 bps SB4800 Set serial port to 4800 bps SB9600 Set serial...

Страница 24: ...n Controls the V 44 data compression function The command syntax is DS44 direction 0 0 max_codewords_tx max_codewords_rx max_string_tx max_string_rx max_history_tx max_history_rx CR Subparameters that...

Страница 25: ...Specifies the maximum string length to be negotiated in the receive direction 255 Default 31 255 Maximum string length in receive direction max_history_tx Specifies the maximum length of the history...

Страница 26: ...mode 0 max_rate 0 max_rx_rate Example MS V92 1 0 31200 0 56000 Subparameters mod Specifies the preferred modulation automode enabled or the modulation to use in originating or answering a connection a...

Страница 27: ...odulation selected in mod default 300 33600 Maximum rate value limited by the modulation selected in mod For valid max_rate values for each mod value see the following table mod value Valid max rate v...

Страница 28: ...ds to a V 92 server PIG 0 Disables PCM upstream PIG 1 Enables PCM upstream PIG Displays the allowed values PIG Displays the current value Command PMH n Modem on Hold Enable Values n 0 or 1 Default 1 D...

Страница 29: ...e timeout PMHR 11 Grant MOH request with 12 minute timeout PMHR 12 Grant MOH request with 16 minute timeout PMHR 13 Grant MOH request with indefinite timeout PMHR Displays the allowed values PMHR Disp...

Страница 30: ...bles Caller ID with formatted data VCID 2 Enables Caller ID with unformatted data VCID Displays the allowed values VCID Displays the current value Command VDR x y Distinctive Ring Report Values x 0 1...

Страница 31: ...e and optionally issues a command while remaining online Type AT and up to six command characters then press ENTER Used mostly to issue the hang up command ATH CR Command AT CR Remote Configuration Es...

Страница 32: ...with an ERROR response and not process the AT F The AT DW command can be used to keep a modem Off Hook or busied out at the completion of a DID call so the modem can be initialized without the concer...

Страница 33: ...at End of Call Values 0 255 Default 0 Description This command defines the amount of time to busy out the modem upon disconnecting from a DID call The delay is ended when the timer runs out or a DS c...

Страница 34: ...29 160 OK 15 31 29 160 ATS0 1 15 31 29 160 15 31 29 160 OK 15 31 40 800 15 31 40 800 DID 5980 15 31 54 920 DCD 15 31 54 920 CONNECT 28800 V42bis 15 32 00 850 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef...

Страница 35: ...vwxyz 15 27 24 680 ATH 15 27 24 850 dcd 15 27 25 400 NO CARRIER 15 29 14 420 AT FCLASS 0 15 29 14 420 15 29 14 420 OK 15 29 14 480 AT DS1 DD0 DF2 DN4 DT15 15 29 14 480 15 29 14 480 OK 15 29 14 480 ATS...

Страница 36: ...ime the modem waits after it goes off hook before it begins to dial the telephone number S7 seconds 1 255 50 Sets the time the modem waits for a carrier signal before aborting a call Also sets the wai...

Страница 37: ...00 bps 10 12000 bps 11 14400 bps 12 16800 bps 13 19200 bps 14 21600 bps 15 24000 bps 16 26400 bps 17 28800 bps 18 31200 bps 19 33600 bps S38 decimal 0 23 1 Sets the maximum 56K downstream speed at whi...

Страница 38: ...ync LAPM or hangup Do not use LAPM MNP or aysnc LAPM MNP or hangup MNP or hangup MNP or async S36 0 2 S36 1 3 S36 4 6 S36 5 7 S89 seconds 0 5 255 0 Sets the length of time in the off line command mode...

Страница 39: ...28800 Connected at 28800 bps 59 CONNECT 31200 Connected at 31200 bps 60 CONNECT 33600 Connected at 33600 bps 70 CONNECT 32000 Connected at 32000 bps 56K rate 71 CONNECT 34000 Connected at 34000 bps 56...

Страница 40: ...at 45333 bps 56K rate 110 CONNECT 46666 Connected at 46666 bps 56K rate 111 CONNECT 49333 Connected at 49333 bps 56K rate 112 CONNECT 50666 Connected at 50666 bps 56K rate 113 CONNECT 53333 Connected...

Страница 41: ...ction in the normal way CAUTION If you hang up while you are in remote configuration mode it may lock up the remote modem Setup Multi Tech modems are shipped with a default setup password MTSMODEM Bec...

Страница 42: ...which is the ASCII code for the percent character Setting S9 to 0 zero disables remote configuration entirely but if you do this remotely you won t be able to change it back remotely 1 Establish a rem...

Страница 43: ...m the Power LED should come on After the operating system detects and configures the modem the TR LED should come on If the Power LED does not come on double check the cable connections If the TR LED...

Страница 44: ...ge your modem s initialization string to replace X4 with X3 which will cause the modem to ignore dial tones note however that X3 is not allowed in some countries such as France and Spain If the modem...

Страница 45: ...between the modem and the computer and the telephone jack You might have had a poor connection because of line conditions or the problem might have originated on the other end of the line Try again I...

Страница 46: ...the MT5634ZBA DID to the DID line This voltage should be applied to the line at all times even when the PC is not in use The central office will check the line occasionally and if a voltage is not sen...

Страница 47: ...ephone company will notify you in advance that temporary discontinuance of service may be required But if advance notice is not practical the telephone company will notify you as soon as possible Also...

Страница 48: ...ission Adding this information in the margin is referred to as fax branding Any number of fax software packages can be used with this product Refer to the fax software manual for setup details Typical...

Страница 49: ...rror Correction V 42 MNP Data Compression V 44 V 42bis MNP Class 5 Physical Description 4 3 w 1 0 h 5 7 d 8 oz 10 9 cm 2 5 cm 14 5 cm 227g Weight 224 g 8 oz Approvals EMC FCC Part 15 Class B Safety UL...

Страница 50: ...NCES WILL ITS LIABILITY EXCEED THE PRICE FOR DEFECTIVE PRODUCTS Repair Procedures for U S and Canadian Customers In the event that service is required products may be shipped freight prepaid to our Mo...

Страница 51: ...include inside the shipping box a description of the problem a return ship ping address must have street address not P O Box your telephone number and if the product is out of warranty a check drawn...

Страница 52: ...on your screen be sure to type it completely and then press Enter If the modem does not respond with OK repeat the AT F command 3 Now type ATI press Enter The model number and firware version should a...

Страница 53: ...the new firmware example ARQG125A HEX Warning Never install an older version of firmware over a newer version Doing this WILL DESTROY THE FLASH PROM If the flash PROM is destroyed the modem must be se...

Страница 54: ...g the Terminal Program Minicom to Verify Operation 1 At the command prompt type minicom s and press ENTER 2 Select Serial port setup and press ENTER 3 From Serial port setup use the A key to access Se...

Страница 55: ...om the menu 3 Select RH PPP Dialer 4 Select the connection name you entered in step 5 of the previous section 5 Click OK Answering Calls To use the system for answering calls Linux requires other prog...

Страница 56: ...unit please call or email Multi Tech at the following Country By Email By Phone France support multitech fr 33 1 64 61 09 81 India support multitechindia com 91 124 6340778 U K support multitech co uk...

Страница 57: ...14 56 disabling modem response to commands 22 DS 15 E 15 F 15 format 13 H 15 I 15 M 16 N 16 O 16 P 16 Q 16 S 16 S 16 T 17 V 17 W 17 X 17 Z 17 attention code 14 autoanswer 13 36 45 B backspace characte...

Страница 58: ...regulations 47 56 Features 5 firmware version 15 flash 28 Flash Wizard upgrade utility 52 flow control 18 21 Flow Control Selection command 18 21 Format for Reporting Incoming DID Number 34 G Guard T...

Страница 59: ...6 specifications technical 49 speed maximum 37 serial port 23 speed conversion data buffer 18 standby mode delay time 38 Start Protocol DS 32 Store Current Configuration command 19 Store Dialing Comma...

Отзывы: