FAX/DATA MODEM USER'S MANUAL Notice: Hayes is a trademark of Microcomputer Products Inc. Publication Number : ASK9705 Table of Contens i - FCC/DOC REQUIREMENTS i.1 FCC General Information i.2 FCC Notice i.3 DOC Notice 1 - INTRODUCTION 2 - COMMAND REFERENCE 2.1 General Command Information 2.2 AT Commands 2.2.a Commands Preceded by & 2.2.b Commands Preceded by \ 2.2.c Commands Preceded by % 2.2.d Commands Preceded by * 2.3 Dial Modifers 2.4 Commands Not Preceded by AT 2.5 Result Codes 3 - S REGISTER REFERENCE 3.1 Register Summary 3.2 Glossary of the S Registers 4 - TESTING 4.1 Local Analog Loopback (&T1) 5 - TROUBLESHOOTING GUIDE 6 - APPLICATION EXAMPLES 6.1 Dialing a Remote Modem
6.2 Dial a Stored Number 6.3 Manual Answer an Incoming Call 6.4 Auto Answer an Incoming Call 6.5 Leased Line Operation A - GLOSSARY B- TECHNICAL SPECIFICATIONS C - QUICK REFERENCE D - ASCII CODE TABLE i - FCC/DOC REQUIREMENTS i.1 FCC General Information The Federal Communications Commission (FCC) of the United States restricts specific uses of modems, and places registration responsibilities on both the manufacturer and the individual user: 1. The modem may not be connected to a party line or to a coin operated telephone. 2. The modem manufacturer must make any repairs to the modem to maintain valid FCC registration. 3. Notification to the telephone company is no longer required prior to connecting registered equipment, but upon request from the telephone company, the user shall tell the telephone company which line the equipment is connected to as well as the registration number and ringer equivalence number of the registered protective circuitry. FCC information is printed on a label on the bottom of the modem. i.2 FCC Notice This equipment has been tested and found to comply with the limits for a digital device, pursuant to Subpart B of Part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates and uses radio frequency energy and if not installed and used the instructions, may cause interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try and correct the interference by one or more of the following measures: Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a curcuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/tv technician for help. Shielded interconnect cables and a shielded power cord must be employed with this equipment to insure compliance with the pertinent RF emission limits governing this device. Changes or modifications not expressly approved by the manufacturer could void the user's authority to operate this equipment. NOTE : The manufacturer is not responsible for any radio or T.V. interference caused by unauthorized modifications to this equipment. Such modifications could void the user's authority to operate the equipment. i.3 DOC Notice Notice: The Canadian Department of Communications label identifies certified equipment. This certification means that the equipment meets certain telecommunications network protective, operational and safety requirements. The Department does not guarantee the equipment will operate to the user's satisfaction. Before installing this equipment, users should ensure that it is permissible to be connected to the facilities of the local telecommunications company. The equipment must also be installed using an acceptable method of connection. In some cases, the company's inside wiring associated with a single line individual service may be extended by means of a certified connector assembly (telephone extension cord). The customer should be aware that compliance with the above conditions may not prevent degradation of service in some situations. Repairs to certified equipment should be made by an authorized Canadian maintenance facility designated by the supplier. Any repairs or alterations made by the user to this equipment, or equipment malfunctions, may give the telecommunications company cause to request the user to disconnect the equipment. Users should ensure for their own protection that the electrical ground connections of the power utility, telephone lines and internal metallic water pipe system, if present, are connected together. This precaution may be particularly important in rural areas. Caution: Users should not attempt to make such connections themselves, but should contact the appropriate electric inspection authority, or electrician, as appropriate. The Load Number (LN) assigned to each terminal device denotes the percentage or the total load to be connected to a telephone loop which is used by the device, to prevent overloading. The termination on a loop may consist of any combination of devices subject only to the requirement that the total of the Load Numbers of all the devices does not exceed 100. Locate an analog telephone line. Many offices have digital telephone lines, which will not work with a modem. Warning: Do not connect your modem to a digital telephone line. Modems are designed for use only with analog telephone lines; connecting to a digital telephone line may damage the modem. Verify that the line is analog before connecting. Fax machines use analog telephone lines. If you can't find an analog voice line, find a fax machine and use its line.
1 - INTRODUCTION Congratulations on your purchase of this outstanding Fax/Data Modem. This manual describes how to operate your new Fax/Data Modem. Instructions for installing your Fax/Data Modem will be found in the Installation Manual, while the information in this manual, deals exclusively with the operation of the modem after it is installed, such as the command set, the internal configuration registers, troubleshooting and testing. Features : These Fax/Data Modems combine the features of a 33600 bps data modem and a 14400 bps FAX modem. Your new Fax/Data Modem gives your personal computer the ability to send and receive FAX messages over the telephone line like a standard FAX machine. Your Fax/Data Modem also allows your PC to communicate with other personal computers, terminals or BBS's (Bulletin Board Systems) through the data modem functions. When used as a data modem your Fax/Data Modem uses the standard AT command set and is fully compatible with ITU-T V.42, V.42bis, V.34, V.32bis, V.32, V.22bis, V.23, V.22, V.21, MNP 2-5 and Bell 103. When used as a Fax/Data Modem it communicates with all ITU-T Group 3 FAX machines and is compatible with ITU-T V.27ter and V.29, V.17 and T.30. Switching between DATA mode operation and FAX mode operation of your Fax/Data Modem is done through its firmware, no hardware settings are required. If you are already familiar with the use of a modem and the Hayes AT command set, this modem will be extremely easy for you to use. Just read the installation procedures in the installation manual and you are ready to begin operation. If you are new to modem communications, we recommend that you read through this manual first. If you come across terms that you don't understand, consult the glossary. Words in boldface type are command names, commands, or default settings. Carriage returns (Enter) are noted with <CR> or [ENTER]; this does not mean to enter these characters literally; but instead to press the Enter key. This manual is written to be used for several models of Fax/Data Modems. Some of the information in this manual may not apply to your fax/data modem. 2 - COMMAND REFERENCE This chapter provides an alphabetized reference with examples for all commands for the modem. The system of commands is depicted below in Figure 2-1. To use these commands for dialing or configuring the modem, make sure the communications software package you will be using lets you operate the modem through its interna1 commands. If your software permits use of the modem's internal commands, read this chapter. If not, read your software user's manual and ignore the rest of this manual.
2.1 General Command Information Except for the A/ command and the + + + escape command described in Section 2.4, all commands must be prefixed with the attention code AT. For instance, the A command (below) would be entered as: "AT A <CR>". Without the AT prefix, the command line cannot be executed. Once entered, AT cannot be deleted with the Backspace or Delete keys. More than one command can be placed on a single line and, if desired, separated with spaces for readability. Once the carriage return (Enter) key is pressed, the command line is executed. A line with no carriage return is ignored. The modem accepts either upper or lower case characters in the command line and ignores any spaces within or between commands. Typing errors can be corrected with the Backspace key. Exceptions are noted in the description of specific commands. A command without any parameter is equivant to that the parameter 0 is being used, for example, ATH is equal to ATH0. 2.2 AT Commands A Go On-line in Answer Mode This command instructs the modem to go off-hook immediately and then make a handshake with the remote modem. Handshaking is not available during leased line operation. A is usually used to manually answer an incoming call. D Go On-line in Originate Mode D instructs the modem to go off-hook immediately and automatically dial the number contained in the dial string following D. The dial string may contain any of the dial modifiers contained in the following section. The D command without a dial string is usually used to call a remote modem in leased-line operation mode. During this kind of operation, the dial tone monitor should be disabled with the X0, X1, or X3 commands.
En Command Echo E0 E1 Disables command echo. Enables command echo. (default) Hn Hang Up H0 Goes on-hook. (hangs up) H1 Goes off-hook. The modem will return on-hook after a period of time determined by S7. In Request Product Code or ROM Checksum I0 I1 Display product-identification code. Factory set. I3 Firmware version 1. I4 Firmware version 2. Ln Volume Control L0 L1 L2 L3 Speaker volume off. Low speaker volume. Medium speaker volume. (default) Loud speaker volume. Mn Monitor Speaker On/Off M0/M M1 M2 M3 Speaker is always off. Speaker is off while receiving carrier. (default) Speaker is always on. Speaker on until carrier detected and off while dialing. Nn Automode Enable This command enables or disables automode detection. N0 N1 Fixed data rate follow AT*N command. Adaptive data rate enable. (default) On Return to the On-line State
This command determines how the modem will enter the on-line data mode. If the modem is in the online command mode, the enters the on-line data mode with or without a retrain. If the modem is in the offline command mode (no connection), ERROR is reported. O0 Enters on-line data mode without a retrain. Handling is determined by the Call Establishment task. Generally, if a connection exists, this command connects the DTE to the remote modem after an escape (+++). back O1 Enters on-line data mode with a retrain before returning to on-line data mode. Q Result Code Display Determines whether the modem sends the result codes to the DTE. Q0 Q1 Allows the modem to send result codes to the DTE. (default) Prohibits the modem from sending result codes to the DTE. Sn Reading and Writing to S Registers Sn? Reads S Register: Reads the contents of the S register specified by 'n'. Sn=x Writing to Registers: Writes the value of x to the specified S register. All the registers will return the OK response if x is a legal value. (n=0 to 96, x=0 to 255) Vn Select Word or Digit Result Codes V0 V1 Displays result codes in digital format. Displays result codes in verbose format. (default) Wn Connection Message Control W0 W1 Display DCE speed when connect. Display DTE speed when connect. (default) Xn Select Result Codes X0 X1 X2 X3 X4 Connect Message Partial Full Full Full Full Dialtone Monitor Off Off On Off On Busy Tone Monitor Off Off Off On On The partial connect message reports CONNECT; the full message reports CONNECT XXXX, where XXXX is the data rate. Yn Enables or Disables Long Space Disconnect Y0 Disables Long Space Disconnect. (default) Y1 Enables Long Space Disconnect. The modem will send a long space of four seconds prior to going on-hook.
Zn Reset Zn, which must be placed at the end of the command line, resets the active configuration of the modem to the stored configuration saved in nonvolatile RAM, hangs up the modem, and clears the command buffer. Z0 Resets the modem and loads stored Profile 0. Z1 Resets the modem and loads stored Profile 1. 2.2.a Commands Preceded by & &Cn Select DCD Options &C0 &C1 Maintains an ON status for the Data Carrier Detect (DCD). Uses the actual state of the carrier from the remote modem for DCD. (default) &Dn DTR Option Determines actions taken by the modem in relation to the ON to OFF transition of the Data Terminal Ready (DTR) signal of the serial port. &D0 &D1 Modem ignore the DTR signal. Modem disconnects and sends OK result code. &D2 Modem goes into command mode as if the asynchronous escape sequency had been entered and sends the OK result code. (default) &D3 Modem resets following an ON-to-OFF Data Terminal Ready transition. &F Fetch Factory Configuration &F Restore Factory Configuration. &Gn Set Guard Tone &G0 &G1 &G2 Disables guard tone. (default) Enable 550 Hz guard tone. Select 1800 Hz guard tone. &Kn Flow Control Selection Determines how the modem controls the flow of data between the local DTE and the modem. When the modem terminal buffer is nearly full, the modem will either send an XOFF or drop CTS to stop the data flow. When the buffer is nearly empty, the modem will either send an XON or raise CTS to start the data flow. &K0 Disables DTE/DCE flow control.
&K3 &K4 &K5 Enables RTS/CTS DTE/DCE flow control. (Default for data modem.) Enables XON/XOFF DTE/DCE flow control. Enables transparent XON/XOFF DTE/DCE flow control. &Ln Line Selection &L0 &L1 Selects dial-up line operation. (default) Selects leased line operation. (2-wire) &Mn Data Connection &M0 &M5 Direct data link. (default) Instructs the modem to make a data connection using V.42 standard. &Pn Select Pulse Dialing Make/Break Ratio &P0 &P1 United States setting for off-hook (make) to on-hook (break) ratio. (default) UK and Hong Kong setting for off-hook to on-hook ratio. &Rn CTS Control &R0 &R1 &R2 Modem turn on the CTS when it detects the RTS from attached computer or terminal. Modem ignores the RTS and turn on its CTS when ready to receive data synchronously. CTS force on. (default) &Sn DSR Option This command selects how the modem will control DSR. &S0 DSR will remain ON at all times. (default) &S1 DSR will become active after answer tone has been detected and inactive after the carrier has been lost. &Tn Testing and Diagnostics (See Chapter 4) The modem will perform selected test and diagnostic functions according to the parameter supplied. A test can be run only when in an asynchronous operation in non-error-correction mode (normal or direct mode). To terminate a test in progress, the escape sequence must be entered first. If S18 is non-zero, a test will terminate automatically after the time specified by S18 and display the OK message. &T0 Terminates any test currently in progress. (default) &T1 Initiates a local analog loopback in accordance with ITU-T V.54, L3; verifies the path between the local DTE and the local modem. &V View Configuration Profiles
&V Displays the active configuration profile. &Wn Store the Current Configuration to Nonvolatile RAM &W0 &W1 Writes the current active configuration to profile 0 in nonvolatile RAM. Writes the current active configuration to profile 1 in nonvolatile RAM. &Yn Select the Default Profile &Y0 Uses profile 0 on power-up. (default) &Y1 Uses profile 1 on power-up. &Zn Store Telephone Numbers (n=0 to 2) &Zn Stores one of three dial strings (including a telephone number) of up to 30 digits in nonvolatile RAM. If a dial string exceeds this length, the modem will return an ERROR message. For example: to store the telephone number 002852117 to RAM location 1, issue the following command: Command:AT&Z1=002852117<CR>2.2b Commands Preceded by \ 2.2.b Commands Preceded by \ \An Maximum MNP Block Size The modem will operate an MNP error corrected link using a maximum block size controlled by the parameter supplied. \A0 64 characters. \A1 128 characters. \A2 192 characters. \A3 256 characters. (default) \Bn Transmit Break In non-error correction mode, the modem will transmit a break signal to the remote modem with a length in multiples of 100 ms according to parameter specified. If a number in excess of 9 is entered, 9 is used. The command works in conjunction with the \K command. In error correction mode, the modem will signal a break through the active error correction protocol, giving no indication of the length. \B1-\B9 Break length in 100 ms units. (Default = 3.) (Non-error corrected mode only.)
\En Normal Mode Data Echo \E0 Do not echo data during a normal link. \E1 Echo data during a normal link. \Jn Enable/Disable DTE Auto Rate Adjustment \J0 Disable adjustment of DTE speed to match line speed. (default) \J1 Enable adjustment of DTE speed to match line speed. \Kn Break Control Controls the response of the modem to a break received from the DTE or the remote modem or the \B command according to the parameter supplied. \K0, 2, 4 Enter on-line command mode, no break sent to the remote modem. \K1 Clear data buffers and send break to remote modem. \K3 Send break to remote modem immediately. \K5 Send break to remote modem in sequence with transmitted data. (default) \Nn Operation Mode Control Selects the operating mode to be used during connection. \N0 Normal data link. \N1 Direct data link. \N2 MNP Reliable link only. \N3 MNP Auto-reliable link. \N4 V.42 reliable link with phase detection. \N5 V.42 auto-reliable link with phase detection. (default) \N6 V.42 reliable link without phase detection. \N7 V.42 auto-reliable link without phase detection. \Qn Selects Flow Control \Q0 Turn off flow control. \Q1 XON/XOFF software flow control. \Q2 CTS hardware flow control. \Q3 RTS\CTS hardware flow control. (default) \Tn Inactivity Timer; n minutes (n=0 to 90)
Sets the length of time, that the modem will stay online before disconnecting when no data is sent or received. (default = 0) \Vn Enable/Disable Extended Code \V0 Do not send MNP extended responses. \V1 Send MNP extended responses. (default) \Xn XON/XOFF Passthrough \X0 Process XON/XOFF and don't pass through. (default) \X1 Process XON/XOFF and pass through. 2.2.c Commands Preceded by % %Cn Compression Control Determines whether or not the modem will use data compression. %C0 Disables data compression. %C1 Enables data compression. (default) 2.2.d Commands Preceded by * *Nn Connect Speed Select *N0 Selects connect speed 1200bps. *N1 Selects connect speed 2400bps. *N2 Selects connect speed 4800bps. *N3 Selects connect speed 7200bps. *N4 Selects connect speed 9600bps. *N5 Selects connect speed 12000bps. *N6 Selects connect speed 14400bps. *N7 Selects connect speed 16800bps. *N8 Selects connect speed 19200bps. *N9 Selects connect speed 21600bps. *N10 Selects connect speed 24000bps. *N11 Selects connect speed 26400bps. *N12 Selects connect speed 28800bps. *N13 Selects connect speed 31200bps. *N14 Selects connect speed 33600bps. (default)
*N15 Selects connect speed 1200/75bps. *N16 Selects connect speed 300bps (V.21) *N17 Selects connect speed 300bps (Bell 103). *Qn Enable/Disable Retrain *Q0 Retrain disable. *Q1 Retrain enable. (default) 2.3 Dial Modifiers This section describes all of the dial modifiers which are used in dial strings. 0-9 DTMF digits 0 to 9. * The 'star' digit (tone dialing only). # The 'gate' digit (tone dialing only). P Select Pulse Dialing T Select Tone Dialing S=n Dial one of three telephone numbers (n) stored in the modem's nonvolatile memory.! Flash W Wait for Dial Tone The modem will wait for dial tone before dialing the digits following "W". If no dial tone is detected within the time specified by S7, the modem will abort the rest of the sequence, return on-hook, and generate an error message., Dial Pause The modem will pause for a time specified by S8 before dialing the digits following ",". ; Return to Command State
Added to the end of a dial string, this causes the modem to return to the command state after it processes the portion of the dial string preceding the ";". This allows the user to issue additional AT commands while remaining off-hook. The additional AT commands may be placed in the original command line following the ";" and/or may be entered on subsequent command lines. The modem will enter call progress only after an additional dial command is issued without the ";" terminator. Use "H" to abort the dial in progress, and go back on-hook. 2.4 Commands Not Preceded by AT ^ Enable Calling Tone Two commands, A/ and +++, are neither preceded by the attention code AT nor followed by a carriage return. A/ Repeat Command A/ repeats the execution of the last command line stored in the command buffer. If the last command line is invalid, the ERROR result code will appear on the screen. Note that A/ cannot be preceded by AT; if it is, ERROR will appear on the screen. +++ Escape When the modem has established a connection and has entered on-line data mode, it is possible to break into the data transmission in order to issue further commands to the modem in an on-line command mode. This is achieved by the DTE sending to the modem a sequence of three ASCII characters specified by register S2. The default character is '+'. The timing of the three characters must comply with specific time constrains. There is a guard time before the first character (the pre-sequence time), a guard time following the third character (the post-sequence time), and a guard time-out between the first and second characters and between the second and third characters (the inter-character time). These times are controlled by the value recorded in register S12. 2.5 Result Code Verbose Digit Description OK 0 Command executed without errors CONNECT 1 Connect to another modem RING 2 Detect an incoming ring NO CARRIER 3 Carrier lost or never detected ERROR 4 Invalid command or invalid character CONNECT 1200 5 Connection established at 1200 bps NO DIALTONE 6 Dial tone not detected within timeout BUSY 7 Detects a busy tone after dialing NO ANSWER 8 No ringback or quiet answer was detected by the modem CONNECT 2400 10 Connection established at 2400 bps (DCE/DTE speed) CONNECT 4800 11 Connection established at 4800 bps (DCE/DTE speed) CONNECT 9600 12 Connection established at 9600 bps (DCE/DTE speed) CONNECT 7200 13 Connection established at 7200 bps (DCE speed) CONNECT 12000 14 Connection established at 12000 bps (DCE speed) CONNECT 16800 15 Connection established at 16800 bps (DCE speed) CONNECT 21600 16 Connection established at 21600 bps (DCE speed) CONNECT 24000 17 Connection established at 24000 bps (DCE speed) CONNECT 14400 20 Connection established at 14400 bps (DCE speed) CONNECT 19200 21 Connection established at 19200 bps (DCE/DTE speed)
CONNECT 38400 22 Connection established at 38400 bps (DTE speed) CONNECT 57600 23 Connection established at 57600 bps (DTE speed) CONNECT 1200RX/75TX 25 Connection established at V.23 backward channel (DCE speed) CONNECT 75TX/1200RX 26 Connection established at V.23 forward channel (DCE speed) CONNECT BELL 300 28 Connection established at BELL 300 bps (DCE speed) CONNECT V21 29 Connection established at V.21 300bps (DCE speed) CONNECT 26400 30 Connection established at 26400 bps (DCE speed) CONNECT 28800 31 Connection established at 28800 bps (DCE speed) CONNECT 31200 32 Connection established at 31200 bps (DCE speed) CONNECT 33600 33 Connection established at 33600 bps (DCE speed) CONNECT 115200 37 Connection established at 115200 bps (DTE speed) The other message MNP4 Connected in the MNP mode of error correction MNP5 Connected in MNP Class5 data compression V.42 Connected in the V.42 LAMP mode of error correction V.42BIS Connected in V.42bis data compression 3 - S REGISTER REFERENCE Your modem has status registers. These registers are memory locations inside your modem which control your modem's operation. You usually do not have to worry about setting any register because the default values work for most applications. The S registers are summarized in Table 3-1, along with their default values. Registers denoted with an "*" may be stored in one of the two user profiles by entering the &Wn command. One of these profiles may be loaded at any time by using the Zn command. The factory default values are stored in ROM and are loaded into the active configuration at power-up or by the Zn command. In addition, the designated default profile is subsequently loaded, and may change some of the factory default values. The designated default profile can be changed by entering the &Yn command. where 'n' is one of the two possible user profiles. The factory defaults can be loaded at any time by entering the &F command. 3.1 S Registers Summary The following chart summarizes your modem's registers: Register Function Range Units Save Default S0 Rings to Auto-Answer 0-255 rings * 0 S1 Ring Counter 0-255 rings 0 S2 Escape Character 0-255 ASCII * 43 S3 Carriage Return Character 0-127 ASCII 13 S4 Line Feed Character 0-127 ASCII 10 S5 Backspace Character 0-255 ASCII 6 S6 Wait Time for Dial Tone 2-255 s * 2 S7 Wait Time for Carrier 1-255 s * 45 S8 Pause Time for Dial Delay Modifier 0-255 s * 2 S9 Carrier Detect Response Time 1-255 0.1 s * 6 S10 Carrier Loss Disconnect Time 1-255 0.1 s * 14 S11 DTMF Tone Duration 50-255 0.001 s * 95 S12 Escape Code Guard Time 0-255 0.02 s * 50 S13 Reserved - - - S14 General Bit Mapped Options - - * 138 (8Ah) S15 Reserved - - -
S16 Test Mode Bit Mapped Options (&T) - - 0 S17 Reserved - - - S19-S20 Reserved - - - S21 V.24/General Bit Mapped Options - - * 48 (30h) S22 Speak/Results Bit Mapped Options - - * 119 (77h) S23 General Bit Mapped Options - * 30 (1E) S25 Delay to DTR Off 0-255 s or 5 0.01 s S26 RTS-to-CTS Delay 0-255 0.01 s 1 S27 General Bit Mapped Options - - * 0 (00h) S36 LAPM Failure Control - - * 7 S46 Data Compression Control - - * 138 S82 LAPM Break Control - - 128 (40h) S95 Negotiation message option 0-255 - 64 S96 Dial tone/busy tone detect range 0-10 0 Table 3-1 S-Register Summary * Register value may be stored in one of two user profiles with the &W command. 3.2 S Registers S0 Number of Rings to Auto-Answer Sets the number of the rings required before the modem automatically answers a call. Setting this register to zero disable autoanswer mode. Range: 0-255 rings Default: 0 S1 Ring Counter S1 is incremented each time the modem detects a ring signal on the telephone line. S1 is cleared if no rings occur over an eight second interval. Range: 0-255 rings Default: 0 S2 Escape Character S2 holds the decimal value of the ASCII character used as the escape character. The default value corresponds to an ASCII '+'. A value over 127 disables the escape process, i.e., no escape character will be recognized. Range: 0-255, ASCII decimal Default: 43 (+) S3 Carriage Return Character Sets the command line and result code terminator character. Pertains to asynchronous operation only. Range: Default: 0-127, ASCII decimal 13 (Carriage Return)
S4 Line Feed Character Sets the character recognized as a line feed. Pertains to asynchronous operation only. The Line Feed control character is output after the Carriage Return control character if verbose result codes are used. Range: Default: 0-127, ASCII decimal 10 (Line Feed) S5 Backspace Character Sets the character recognized as a backspace. Pertains to asynchronous operation only. The modem will not recognized the Backspace character if it is set to a value that is greater than 32 ASCII. This character can be used to edit a command line. When the echo command is enabled, the modem echoes back to the local DTE the Backspace character, an ASCII space character and a second Backspace character; this means a total of three characters are transmitted each time the modem processes the Backspace character. Range: Default: 0-32, ASCII decimal 8 (Backspace) S6 Wait Time for Dial Tone Before Blind Dialing, or After "W" Dial Modifier (W- Class Models) Sets the length of time, in seconds, that the modem will wait before starting to dial after going off-hook when blind dialing. This operation, however, may be afftected by some ATX options. The "Wait for Dial Tone" call progress feature (W dial modifier in the dial string) will override the value in register S6. The modem always pauses for a minimum of 2 seconds, even if the value of S6 is less than 2 seconds. Range: 2-255 seconds Default: 6 S7 Wait Time For Carrier After Dial, For Silence, or For Dial Tone After "W" Dial Modifier 1. Sets the length of time, in seconds, that the modem will wait for carrier before hanging up. The timer is started when the modem finishes dialing (originate), or 2 seconds after going off-hook (answer). In originate mode, the timer is reset upon detection of answer tone if allowed by country restrictions. 2. Sets the length of time, in seconds, that the modem will wait for dial tone when encountering a "W" dial modifier before continuing with the next dial string parameter. Range: 1-255 seconds Default: 45 S8 Pause Time For Dial Delay
Sets the time, in seconds, that the modem must pause when the "," dial modifier is encountered in the dial string. Range: 0-255 seconds Default: 2 S9 Carrier Detect Response Time Sets the time, in tenths of a second, that the carrier must be present before the modem considers it valid and turns on RLSD. As this time is increased, there is less chance to detect a false carrier due to noise from the telephone line. Range: Default: 1-255 tenths of a second 6 (0.6 second) S10 Lost Carrier to Hang Up Delay Sets the length of time, in tenths of a second, that the modem waits before hanging up after a loss of carrier. This allows for a temporary carrier loss without causing the local modem to disconnect. When register S10 is set to 255, the modem functions as if a carrier is always present. The actual interval the modem waits before disconnecting is the value in register S10 minus the value in register S9. Therefore, the S10 value must be greater than the S9 value or less themodem disconnects before it recognizes the carrier. Range: Default: 1-255 tenths of a second 14 (1.4 seconds) S11 DTMF Tone Duration Sets the duration of tones in DTMF dialing (US models only). This value has no effect on pulse dialing. Range: Default: 50-255 milliseconds 95 (95 milliseconds) S12 Escape Code Guard Time Defines the maximum period, in fiftieths of a second, allowed between consecutive asynchronous escape characters (+) the escape sequence to be considered valid. Range: Default: 0-255 1/50 of a second 50 (1 second) S13 Reserved S14 Bit Mapped Options Bit Value Description Bit 1 0 E0.
1 E1. (default) Bit 2 0 Q0. (default) 1 Q1. Bit 3 0 V0. (Numeric) 1 V1. (Verbose) (default) Bit 4 Reserved. Bit 5 0 T. (Tone dial) (default) 1 P. (Pulse dial) Bit 6 Reserved. Bit 7 0 Answer mode. 1 Originate mode. (default) S15 Reserved S16 Modem Test Mode Register Bit Value Description Bit 0 0 Local analog loopback terminated. (default) 1 Local analog loopback in progress. (&T1) S17 Reserved S19 Reserved S20 Reserved S21 Bit Mapped Options Bit Value Description Bit 0, 1 Reserved. Bit 2 0 &R0. (default) 1 &R1. Bit 4,3 0 0 &D0. 0 1 &D1. 1 0 &D2. (default) 1 1 &D3. Bit 5 0 &C0. 1 &C1. (default) Bit 7 0 Y0. (default) 1 Y1. S22 Speaker/Results Bit Mapped Options Bit Value Description Bit 3,2 0 0 Select M0. 0 1 Select M1. (default) Bit 3,2 1 0 Select M2. 1 1 Select M3. Bit 6,5,4 0 0 0 Select X0. 0 0 1 Reserved. 0 1 0 Reserved. 0 1 1 Reserved. 1 0 0 Select X1. 1 0 1 Select X2. 1 1 0 Select X3. 1 1 1 Select X4. (default)
Bit 7 0 US make/break ratio(&p0). (default) 1 UK and Hong Kong make/break ratio(&p1). S23 Bit Mapped Options Bit Value Description Bit 3,2,1 000 Communication rate = 300 bps. 010 Communications rate = 1200 bps. Bit 3,2,1 011 Communications rate = 2400 bps. 100 Communications rate = 4800 bps. 101 Communications rate = 9600 bps. 110 Communications rate = 19200 bps. 111 Communications rate = 38400bps or upper data rate. (default) Bit 5,4 00 Even parity selected. 01 Space parity selected. (default) 10 Odd parity selected. 11 None parity selected. Bit 7,6 00 &G0. (default) 01 &G1. 10 &G2. S25 Delay to DTR Sets the length of time that the modem will ignore DTR for before hanging up. Its units are seconds for synchronous modes and one hundredths of a second for other modes. Range: 0-255 (1 second for synchronous modes modes 1; 0.01 second otherwise) Default: 5 S26 RTS to CTS Delay Sets the time delay, in hundredths of a second, before the modem turns CTS ON after detecting an OFFto-ON transition on RTS when &R0 is commanded. Pertains to synchronous operation only. Range: 0-255 hundredths of a second Default: 1 S27 Bit Mapped Options Bit Value Description Bit 0 Leased line control. (&Ln) 0 Dial up line. (&L0) (default) 1 Leased line. (&L1) S36 LAPM Failure Control This register is read when the S48 register contains the value 128 or if an attempted error-correction link fails. These fallback options are initiated immediately upon connection if S48=128. Bit Value Action Bit 2,1,0 000 Modem disconnect. 001 Modem stays on-line and a Direct mode connection is established. 010 Reserved.
011 Modem stays on-line and a Normal mode connection is established. 100 An MNP connection is attempted and if it fails, the modem disconnects. 101 An MNP connection is attempted and if it fails, a Direct mode connection is established. 110 Reserved. 111 An MNP connection is attempted and if it fails, a Normal mode connection is established. (default) S46 Data Compression Control Controls selection of compression. The following actions are executed for the given values: Range: 136 or 138 Default: 138 S46=136 Execute error correction protocol with no compression. S46=138 Execute error correction protocol with compression. (default) S82 Break Handling Options Break signals provide a way for the user to get the attention of the remote modem. The break type depends on the specific application. LAPM specifies three methods of break signal handling; in sequence, expedited, and destructive. If an invalid number is entered, it is accepted into the S register, but S82 will act as if the default value has been entered. Range: 3, 7, or 128 Default: 128 S82=3 Expedited: Modem sends a break immediately; data integrity is maintained both ahead of and after the break. S82=7 Destructive: Modem sends a break immediately; data being processed by each modem at the time of the break is destroyed. S82=128 In sequence: Modem sends a break in sequence with any transmitted data; data integrity is maintained both ahead of and after the break. (default) S95 Negotiation Message Options Range: 0-255 Default: 64 S95 < 32 S95 32 Disable V.42 extended response. Enable V.42 extended response. S96 Dial Tone/Busy Tone Detect Range Select Bit Value Range(Hz) Country Bit 3,2,1,0 0000 350-620 USA, KOREA, TAIWAN--(default) 0001 425-450 BELGIUM 0010 440-700 FRANCE 0011 350-450 ISRAEL, JAPAN 0100 375-475 ITALY, NORWAY, GERMANY, DENMARK 0101 150-450 NETHERLANDS 0110 270-320 SINGAPORE 0111 350-500 SWEDEN
1000 375-550 SWITZERLAND 1001 350-440 U.K. 1010 110-700 FULL RANGE 4 - TESTING The modem provides testing features to identify fault location when transmission quality is not good: local analog loop back, local analog loopback with self-test. These tests are initiated with the &Tn command described in Chapter 2. 4.1 Local Analog Loopback(&T1) The local analog loopback test checks the integrity of the local computer or terminal and the local modem. During the test, the local modem internally loops data sent from the local computer or terminal back to the same computer or terminal as shown in Figure 4-1. During the test, data is not transmitted to the remote modem. If characters are looped correctly during this test, both the modem and the local computer or terminal are functioning correctly. If incorrect characters appear on the screen, either the local computer or terminal or the local modem is in error. If a connection exists when the &T1 command is issued, the modem will hang up before test is initiated. Example 1 - Test timer disabled Command: AT&T1 <CR> Result: cursor shifts down one line and the CONNECT XXXX message is displayed. Test message: THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 (or any other character you type) Escape: Result code: Command: + + + (return to the on-line command state) OK AT&T0 <CR> (end the test)
Result code: OK Here, the test timer is disabled and the modem sets up an internal analog loop as shown in Figure 4-1. When the loopback is established, the modem goes on-line and the test message (any character you type) is looped back on the screen for verification. Finally, +++ returns the modem to the command state and &T0 ends the test and breaks the internal analog loop. 5 - TROUBLESHOOTING GUIDE This chapter describes common problems in the installation, configuration and regular usage of your Fax/Data Modem. To test the Fax/Data Modem, a communication software package is needed and the package must include a mode that allows you to operate your Fax/Data Modem by directly issuing internal commands to the modem. Follow the procedures in the following sections to resolve these common problems: No Response From Your Modem 1. If you are using the internal add-on card modems, make sure that the COM port address you have set your modem to corresponds to the appropriate selection in the communications software which you are using. 2. Issue the ATZ command to reset your modem. The returned result code should be "0" or "OK" depending on what communications program you are using. Your modem is OK if you get one of these responses. If there is no response after issuing the ATZ<CR>, continue to the next step. 3. Check if there are any other interface cards in your computer that use the same COM port address as your modem. If so, you must set your modem to another COM port address. (Keep in mind that on most systems, only two COM ports are available. One of them must be used as either 1 or 3, while the other must be used as 2 or 4.) For example, if a mouse is set to COM1, your modem should be set to COM2 or COM4. Continue to the next step if the COM port address is OK. 4. Issue the command: AT&F&W <CR>, if a "0" or "OK" result code is displayed on the screen, your modem is OK. Otherwise, contact your dealer for assistance. Your Modem Does Not Dial Out Make sure that your modem responds normally as described in section 4.1. If you can communicate through the keyboard, check whether the modem is properly connected to the phone line. Your Modem Does Not Connect After It Has Dialed a Phone Number The problem may have several causes. The phone line may be too noisy or the telephone cord may be poor. Try the line with a regular phone. Also, the remote modem may not recognize your modem's baud rate. You Can't Transmit After You Have Connected to the Remote Modem
In this case, check the communication parameters of the remote modem, then configure your software to the same number of data bits, stop bit, and parity. Finding the Source of Transmission Errors A failure in modem communication is usually characterized by unacceptably high error rates or a total inability to communicate; it may be the fault of the local computer or terminal, the local modem, the telephone line, the remote modem or terminal. Initialize the Modem In case your modem does not work properly, please issue the following command string to initialize the modem and try again: AT&F&W&W1&Y If you have any further questions or problems, please contact your dealer. 6 - APPLICATIONS EXAMPLE 6.1 Dialing a Remote Modem Command line: ATDP9WT002, (886)-7128423<CR> This command line instruct the modem to dial a remote modem through a PBX. The modem first use pulse dialing to dial 9 (the access code of the PBX), wait for outside dial tone, and then use touch tone dialing to dial 002 once a one-second continuous dial tone is detected within 30 seconds, pause for 2 seconds (if S8=2) and then dial 8867128423. 6.2 Dial a Stored Number Command line: AT&Z2=T03,709394<CR> Command line: ATDS=2<CR> The first command line store the dial string T03, 709394 to the 3rd location in NVRAM. Afterwards you can use the second command line to dial this stored number. The dial string T03, 709394 will appear on the screen to indicate the number being dialed. 6.3 Manual Answer an Incoming Call Command line: ATA <CR> The factory setting of the S-register S0 is S0=0. This condition disables the auto answer capability so that you must issue an ATA command to answer a call. At power up, your modem always monitors if there are incoming rings. If incoming rings are detected, your modem will display result codes on the screen as : RING :
: RING Seeing that, you may issue the ATA command to answer the call. This command must be entered within the quiet interval between any two rings. 6.4 Auto Answer an Incoming Call Command line: AT S0=2 &W &Y <CR> Auto answer can be enabled by changing the setting of the S-register S0 to a value between 1 and 255. In the above command line, S0=2 instructs the modem to answer an incoming call automatically after the 2nd ring. The &W command writes this configuration to profile 0 in NVRAM. &Y command instruct the modem to load profile 0 as the active configuration on power-up. The last two commands make S0=2 the default value at power-up or reset. This example also shows the insertion of space between two neighboring commands to make the command line more readable. 6.5 Voice to Data Switching Command line: ATA <CR> or ATX1D <CR> If you are talking with a remote modem user through the telephone set and want to initiate data communication with the remote modem, follow the procedures below: 1. You or the remote user issue an ATA command first to switch to data communication. 2. When the person on the other end hears an answer tone from the phone, issues an ATX1D command (X1 to disable the dial tone monitor) to instruct the modem to go off-hook and wait for a carrier. If connection is successful, the CONNECT XXXX result code will be displayed on the screen. Now you can hang up your phone and begin data communication with the remote modem. A - GLOSSARY ASCII - An acronym for American Standard Code for Information Exchange. ASCII is a seven-bit code which defines 128 standard characters, including control characters, letters, numbers, and symbols. An extra 128 characters comprise the extended ASCII set. Baud Rate - The transmission rate between two serial devices, e.g., modems, fax machines, etc. Measured in Bits Per Second. Blind Dialing - In blind dialing, the modem continues to dial, regardless of the existence of a dialtone, ring, or busy signal. BPS - Bits Per Second; the number of bits that can be transmitted in one second. Carrier Signal - The analog data signal that a modem sends over telephone wires.
COMx - Where (x = 1, 2, 3, or 4), COMx is the name(address) of serial communications ports on personal computers. Each serial port in a personal computer has a different number. CTS - Clear To Send. Default - The assumed value that is used for a command parameter when no other value is explicitly provided. DCD - Data Carrier Detect. DCE - Data Communication Equipment. DTE - Data Terminal Equipment. DTMF - Dual Tone Multifrequency(for touchtone dialing). DTR - Data Terminal Ready. FSK - Frequency Shift Keying. Make/Break Ratio - The ratio of the off-hook (make) to on-hook (break) interval is the make/break ratio in pulse dialing. Modem - A combination of the words MOdulator and DEModulator. Modems transform digital data into analog signals and back again. Nonvolatile Memory - An area of memory inside the modem where the default configuration profile is stored. Values recorded in this memory will not be lost when the power is turned off. Off-Hook - The condition when the modem has picked up the telephone line. Off-Line Command State - A modem state in which the modem accepts, interprets and executes commands from an asynchronous computer or terminal. On-Hook - The condition when the modem has not picked up the telephone line; the telephone is hung up. On-Line - A carrier signal link with a remote modem has been established; communication is in progress. On-Line State - A modem state in which the modem is connected with a remote modem. Data can be sent or received from the remote modem in this state. No commands will be accepted from the modem accept the escape command which will bring the modem into the on-line command state. On-Line Command State - A modem state in which the modem can accept or and execute commands from an asynchronous computer or terminal while remaining connected with the remote modem. The user can return the modem to the on-line state by issuing the ATOn command or put it into the off-line command state by issuing commands such as ATZ or ATH. Parity - An error-checking method by which the modem verifies that the data just sent is correct. pps - Pulse per second. Profile - A list of default settings.
Protocol - A technical specification for serial communications; the protocols supported by the modem are listed in Appendix B. PSK - Phase Shift Keying. Pulse Dialing - A dialing form in which each digit is represented by a series of pulses. Rotary telephones all use pulse dialing. QAM - Quadrature Amplitude Modulation. Result Codes - The response the modem returns to the screen upon executing a command. RAM - Random Access Memory. ROM - Read-Only Memory. A chip inside the modem which stores the factory default settings. This memory cannot be changed. RTS - Request To Send. RX - Reception. S Register - RAM locations in the modem which store the active configuration. Serial Port - See COMx. TCM - Trellis-Coded Modulation. Touchtone Dialing - A dialing format in which each digit is represented by a musical frequency. TX - Transmission. B - TECHNICAL SPECIFICATIONS Compatibility (Data) ITU-T:V.34, V.32 bis, V.32, V.22 bis, V.22, V.23, V.21. Bell 103 (Fax) ITU-T V.17, V.29, V.27 ter, and V.21 ch 2, Group 3, T.30 Command Set Speed Conversion Flow Control Enhanced 'AT' command set, Fax Class 2 commands Serial port data rates adjustable to 1200, 2400, 4800, 9600, 19,200, 38,400, 57,600 and 115,200 bps Xon/Xoff, Hardware RTS/CTS Data Compression V.42bis, MNP 5 Error Correction V.42, MNP 2-4 Modulation Trellis Coded Modulation (TCM) at 33600, 31200, 28800, 26400, 24000, 21600, 19200, 16800, 14400, 12000 and 9600 bps, QAM at 9600 (non-trellis), 4800 and 2400 bps, PSK at 1200 bps Operation Diagnostics Audio Monitor Compliance Full-duplex or Half-duplex in Data mode. Half-duplex in Fax mode. Power-on Self Test, Local Analog Loop. Built-in speaker, with software-controllable volume control. FCC 15&68.
Command Buffer Transmit Level Receive Sensitivity -11±1dBm. 37 characters (not including "A" and "T"). -30±1dBm. Pulse Dialing Specifications USA International Make/Break Ratio 39/61 33/67 Break Length 61ms 67ms Dial Pulse Length 100m 100ms Dial Pulse Rate 10pps 10pps Interdigit Time 800ms 800ms DTMF Tone Frequency Low Group Frequency (Hz) 697 770 852 941 1209 1 4 7 * High Group 1336 2 5 8 0 Frequency (Hz) 1477 3 6 9 # 1633 A B C D C - QUICk REFERENCE A D En Hn In Ln Mn Nn On Qn Sn Vn Wn Xn Yn Zn Go On-line in Answer Mode Go On-line in Originate Mode Command Echo Hang Up Request Product Code or ROM Checksum Volume Control Monitor Speaker On/Off Automode Enable Return to the On-line State Result Code Display Reading and Writing to S Registers Select Word or Digit Result Codes Connection Message Control Select Result Codes Enables or Disables Long Space Disconnect Reset
&Cn &Dn &F &Gn &Kn &Ln &Mn &Pn &Rn &Sn Select DCD Options DTR Option Fetch Factory Configuration Set Guard Tone DTE/Modem Flow Control Line Selection Data Connection Select Pulse Dialing Make/Break Ratio CTS Control DSR Option &Tn Testing and Diagnostics (See Chapter 4) &V &Wn &Yn &Zn \An \Bn \En \Jn \Kn \Nn \Qn \Tn \Vn \Xn %Cn *Nn *Qn View Configuration Profiles Store the Current Configuration to Nonvolatile RAM Select the Default Profile Store Telephone Numbers (n=0to2) Maximum MNP Block Size Transmit Break Normal Mode Data Echo Enable/Disable DTE Auto Rate Adjustment Break Control Operation Mode Control Selects Flow Control Disconnect Inactivity Timer Enable/Disable Extended Code XON\XOFF Passthrough Compression Control Modem Speed Select Enable/Disable Retrain 0-9 DTMF Digits 0 to 9 * "Star" Digit# "Gate" Digit
P T S=n Select Pulse Dialing Select Tone Dialing Dial one of three telephone numbers (n) stored in the modem's nonvolatile memory! Flash W Wait for Dial Tone, Dial Pause ; Return to Command State ^ Enable Calling Tone A/ Repeat Command +++ Escape ASCII CODE TABLE Decimal Hex Value Decimal Hex Value Decimal Hex Value Decimal Hex Value 000 00 NUL 032 20 (space)064 40 @ 096 60 ' 001 01 SOH 033 21! 065 41 A 097 61 a 002 02 STX 034 22 " 066 42 B 098 62 b 003 03 ETX 035 23 # 067 43 C 099 63 c 004 04 EOT 036 24 $ 068 44 D 100 64 d 005 05 ENQ 037 25 % 069 45 E 101 65 e 006 06 ACK 038 26 & 070 46 F 102 66 f 007 07 BEL 039 27 ' 071 47 G 103 67 g 008 08 BS 040 28 ( 072 48 H 104 68 h 009 09 HT 041 29 ) 073 49 I 105 69 i 010 0A LF 042 2A * 074 4A J 106 6A j 011 0B VT 043 2B + 075 4B K 107 6B k 012 0C FF 044 2C, 076 4C L 108 6C l 013 0D CR 045 2D - 077 4D M 109 6D m 014 0E SO 046 2E. 078 4E N 110 6E n 015 0F SI 047 2F / 079 4F O 111 6F o 016 10 DLE 048 30 0 080 50 P 112 70 p 017 11 DC1 049 31 1 081 51 Q 113 71 q 018 12 DC2 050 32 2 082 52 R 114 72 r 019 13 DC3 051 33 3 083 53 S 115 73 s 020 14 DC4 052 34 4 084 54 T 116 74 t 021 15 NAK 053 35 5 085 55 U 117 75 u 022 16 SYN 054 36 6 086 56 V 118 76 v 023 17 ETB 055 37 7 087 57 W 119 77 w 024 18 CAN 056 38 8 088 58 X 120 78 x 025 19 EM 057 39 9 089 59 Y 121 79 y 026 1A SUB 058 3A : 090 5A Z 122 7A z 027 1B ESC 059 3B ; 091 5B [ 123 7B { 028 1C FS 060 3C < 092 5C \ 124 7C 029 1D GS 061 3D = 093 5D ] 125 7D } 030 1E RS 062 3E > 094 5E ^ 126 7E ~ 031 1F US 063 3F? 095 5F _ 127 7F DEL