CPC2400E Embedded Modem Module Description The CPC2400E is a 2400 baud embedded modem module intended for applications that require a data communications link to the Public Switched Telephone Network (PSTN). The CPC2400E is a complete module on a small 1.0” x 2.5” printed circuit board that can be socketed or soldered into the host system mother board. The module is FCC Part 68 approved and includes a user transferrable registration number. It also is a UL recognized component. The CPC2400E can be used in a variety of applications including set top box back channel communications, vending machines, remote utility metering, remote data acquisition, plus a host of other applications. The CPC2400E supports a standard serial V.24 TTL interface to the DTE equipment. Features • Easy Integration • Small Footprint 1.00” x 2.50” • Full Duplex 2400bps • Low Power Consumption • V.24 DTE Interface • Single +5V Supply Operation • Supported Protocols: V.22bis, V.23, V.22 • UL Recognized Component • FCC Part 15B Compliant • FCC Part 68 Approved (User Transferrable) Applications • Vending/Gaming Machines • Set Top Box Back Channel • Direct Broadcast Satellite • Utility Meters • Point of Sale Terminals • Remote Diagnostics • Remote Telemetry • Remote Monitoring • Embedded Applications Approvals • UL/C-UL: 174201 • FCC Reg. # LVRPHL-25931-MD-E Ordering Information Part # CPC2400E Block Diagram Description 2400 Baud Embedded Modem Module Pin Configuration +5V LINE INTERFACE PARALLEL DTE CONTROLLER V.24 SERIAL V.22BIS DATA PUMP TIP DAA RING VCC GND -DTR -DCD -MUTE A1 N/C RXD TXD J1 J2 N/C TIP N/C RING N/C AUDIO OUT GND DS-CPC2400-R2 www.clare.com 1 CPC2400E Absolute Maximum Ratings (@ 25˚ C) Parameter Min Max Units - 1000 VRMS Dielectric withstanding Voltage Tip/Ring Current Continuous Operating Temperature Storage Temperature Relative Humidity (Non-Condensing) Soldering Temperature 20 120 mA 0 0 10 70 100 85 oC - 260 oC Absolute Maximum Ratings are stress ratings. Stresses in excess of these ratings can cause permanent damage to the device. Functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this data sheet is not implied. Exposure of the device to the absolute maximum ratings for an extended period may degrade the device and effect its reliability. oC % Electrical Characteristics Parameter Conditions Min Typ Max UnitS Vcc=5V Vcc=5V Vcc=5V Vcc=5V, f=20Hz Vcc=5V Vcc=5V 4.75 20 5.0 5 70 600 22 0.6B - 5.25 10 100 30 120 V mA mA Ω VRMS mA GND<Vo<Vcc IOH=-2.0mA; Vcc=5V IOI=+2.0mA; Vcc=5V Vcc=5.5V Vcc=5.5V 2 0 -10 4.0 0 0.7 GND-0.3 2.6 1.6 Vcc+0.3 0.8 10 0.4 Vcc+0.3 0.2Vcc V V µA V V V V DC Electrical Characteristics @ 25˚C Vcc Supply Voltage Vcc Supply Current - Idle (Sleep Mode) Vcc Supply Current - Active Line Matching Impedance Ringing Voltage Ringer Equivalence Number (REN) Telephone Line Loop Current DTE DC Characteristics @ 25˚C Input High Voltage VIH Input Low Voltage VIL Input Leakage Current IL Output High Voltage VOH Output Low Voltage VOL Input High Voltage VIH Input Low Voltage VIL 2 www.clare.com Rev. 2 CPC2400E Definitions Pin I/O Name Function J1-1 J1-2 J1-3 I I I VCC GND -DTR J1-4 O -DCD J1-5 J1-6 O O -MUTE A1 J1-7 J1-8 J1-9 I O N/C RXD TXD Connects to external host power source of +5V +/-5% Power supply return Data Terminal Ready. An active Low input on this pin indicates that the host system is ready to communicate with the modem. Data Carrier Detect. When active, indicates carrier signal has been detected. For options see AT Command reference section under &C command. Mutes external speaker. Uses AT “M” command. Analog output that can be used to monitor modem activity via an external audio amplifier. No Connection Serial data input from host DTE Serial data output to host DTE Pin I/O Name J2-1 J2-2 J2-3 J2-4 I/O I/O N/C TIP N/C RING No Connection Tip connection to telephone line No Connection Ring connection to telephone line J2-5 - N/C No Connection Rev. 2 Function www.clare.com 3 CPC2400E Functional Description The CPC2400E is a small, full featured, 2400 baud module intended for embedded applications and is fully FCC Part 68 approved. The CPC2400E includes a user transferable FCC registration number which the end product must display (see section for more details). The module consists of a Data Access Arrangement (DAA), V.22bis data pump, and a microcontroller on a 1.00” x 2.50” PCB. The CPC2400E connects to the telephone lines TIP and RING leads and must be made through an approved RJ-11 jack. The CPC2400E supports the industry standard AT command set (see AT Command set section for further details). The CPC2400E operates off a single +5V supply and supports low power modes of operation. When the device is not in use, it automatically enters sleep mode, reducing supply current to a minimum. An incoming ring signal from the phone lines powers up the device (wakeon ring). An evaluation board is available for testing the CPC2400E. This evaluation board includes an RS232 line driver, LED status indicators and an amplified speaker circuit. When used with the evaluation board, the CPC2400E also meets the FCC Part 15B emissions test. Contact Clare for more information on the CPC2400E Evaluation Board. DAA The DAA portion of the CPC2400E has been designed to interface directly with the U.S. PSTN as governed by the FCC. The DAA includes the circuitry for hookswitch, ring detection, gyrator, surge protection and analog signal coupling transformer. The DAA circuitry provides up to 1000 VRMS of longitudinal surge protection. For countries using a PSTN similar to the U.S. (Canada, Japan), the product using the CPC2400E must be submitted to a suitable test house for approval. Consult Clare for further information. FCC Part 68: Connecting to the PSTN 1. General Clare’s CPC2400E complies with FCC Part 68 rules which regulates equipment connected to the telephone network. The CPC2400E provides a user transferable Part 68 registration which means that customers can use Clare’s registration number for the CPC2400E. Customers who wish, can reregister the modem under their name. Reregistration assigns the customer a unique registration number. No additional FCC Part 68 submittal is required for equipment using Clare’s CPC2400E module. 4 2. Repairs The FCC requires that Clare makes all necessary repairs to the modem. If you are experiencing problems with the CPC2400E, contact Clare at 1-800-272-5273 for further information. If repairs are necessary after the modem has been installed in your product and delivered to your customer, the modem must be returned to you where the CPC2400E can be removed and sent back to Clare. 3. Label Instructions A label similar to the following should be made visible on the outside of the end user product. Complies with Part 68 of FCC Rules Registration Number: LVRPHL-25931-MD-E Ringer Equivalence: 0.6B Required Connection: RJ-11 4. Design Guidelines The following design guidelines should be followed to insure compatibility to FCC Part 68 tests: 4.1. The CPC2400E, the RJ-11 jack and the interface circuitry must be mounted on a PCB the should meet UL 94V-0 flammability standard. 4.2. Tip and Ring traces from the CPC2400E to the RJ11 jack should be isolated by a minimum of 1.5mm (0.06in) to prevent breakdown. Traces must have a minimum width of 0.5mm (.02in). 4.3 Insure that module is securely installed to the host system. Vibration and drop tests will loosen components that are not securely mounted. One of two methods for securing the module should be used: 4.3.1 Soldered to the main PCB. This method is well suited for harsh environments where the end product may be subjected to shock and vibrationas in industrial environments (equipment monitoring, etc.). 4.3.2 Socketed to the main PCB. This method is well suited for environments where the end product is not subjected to shock and vibrations as in consumer applications (set top boxes, etc.). 4.4. Components used must be able to withstand temperature and humidity extremes per FCC Part 68. www.clare.com Rev. 2 CPC2400E 4.5. When connecting to the PSTN, an FCC approved telephone jack must be used in the host system and must meet the mechanical requirements per FCC Part 68.3 Sub-part F. For RJ-11 jacks, refer to FCC Public Notice #42269 for a list of approved vendors. or until you are sure that the equipment is not malfunctioning. 4.6. The supplied FCC Registration Number including REN must be visible on the outside of the end user product. See Section 3. FCC rules prohibit the use of non-hearing aid compatible telephones in the following locations or applications: 5. Exhibit J: User Instructions Instructions to our customers: (2) Elevators, highways, tunnels (automobile, subway, railroad or pedestrian) where a person with impaired hearing might be isolated in an emergency. The FCC Part 68 Rules require the following information (or equivalent) to be provided for the end user product. FCC Requirements for Consumer Products This equipment complies with FCC rules, Part 68. On the, This equipment may not be used on coin service provided by the telephone company. Connection to party lines is subject to state tariffs. (1) All public or semipublic coin-operated or credit card telephones. (3) Places where telephones are specifically installed to alert emergency authorities such as fire, police, or medical assistance personnel. (4) Hospital rooms, residential health care facilities, convalescent homes, and prisons. [ ] FRONT side [ ] BOTTOM side (5) Workstations for the hearing impaired. [ ] BACK side [ ] TOP side (6) Hotel, moel, apartment lobbies; in stores where telephones are used by patrons to order merchandise; in public transportation terminals where telephones are used to call taxis, or to reserve lodging or rental cars. of this equipment is a label that contains, among other information, the FCC Registration Number and Ringer Equivalence Number (REN) for this equipment. If requested, provide this information to your telephone company. The (REN) is useful to determine the quantity of devices you may connect to your telephone line and still have all of those devices Ring when your number is called. In most, but not all areas, the sum of the REN’s of all devices should not exceed five (5.0). To be certain of the number of devices you may connect to your line, as determined by the REN, you should call your local telephone company to determine the maximum REN for your calling area. (7) Hotel and motel rooms. At least ten percent of the rooms must contain hearing aid compatible telephones; or jacks or plug-in hearing-aid compatible telephones which will be provided to hearing impaired customers upon request. If this equipment causes harm to the telephone network, the Telephone Company may discontinue your service temporarily. If possible, they will notify you in advance. But if advance notice isn’t practical, you will be notified as soon as possible. You will be advised of your right to file a complaint with the FCC. Your telephone company may make changes in its facilities, equipment, operations, or procedures that could affect the proper operation of your equipment. If they do, you will be given advance notice so as to give you an opportunity to maintain uninterrupted service. If you experience trouble with this equipment, please contact (your company name) at (your company phone number) for warranty/repair information. The telephone company may ask that you disconnect this equipment from the network until the problem has been corrected Rev. 2 www.clare.com 5 CPC2400E Applications Figure 1 is a schematic of the CPC2400E in a typical host system application. The host system communicates to the CPC2400E through a standard V.24 serial interface. Refer to the Pinout and Definitions section for functional descriptions of the pins. The transmit and receive data is sent over the TXD and RXD pins. The DCD and -DTR pins are used for handshaking. The audio output pin, A1 is used for monitoring the analog data and can be amplified to drive a speaker. The MUTE can be used to enable or disable the speaker. The ferrite beads FB1 and FB2 may be required to reduce EMI emissions per FCC Part 15. Determining the value for the ferrite beads depends solely on the emissions generated by the end user product. Figure 2 is a schematic of the CPC2400E in a standalone RS232C configuration. This circuit uses the Linear Technologies LT1181A RS232 line driver. Note that the LT1181A line driver inverts the signals. Both figures 1 and 2 are for reference purposes only. Exact component values should be determined by the user. +5V VCC TXD RXD -DCD -DTR TIP HOST SYSTEM FB1 CPC2410E MODEM -MUTE RING FB2 TELEPHONE LINE A1 GND SPEAKER AUDIO AMP Figure 1. CPC2400E System Environment +5V +5V 17 14 15 16 17 18 19 20 21 22 23 24 25 1 2 3 4 5 6 7 8 9 10 11 12 13 VCC FB1 TXD RXD 11 TXD 10 RXD 13 12 8 9 15 14 3 LT1181A TIP CPC2400E MODEM 2 FB2 4 5 RING TELEPHONE LINE GND 7 6 18 16 DB25F RS232 DRIVER Figure 2. Stand Alone Modem with RS232C Interface 6 www.clare.com Rev. 2 CPC2400E Command lines are typed to the modem from the terminal when the modem is in the Idle or Command state. The modem does not execute any of the commands in a command line until after the command line is ended by the end of line character <CR>. A command line is a string of char-acters starting with the A and T characters and ending with a special end of line character, <CR>. Characters typed before the AT are ignored. Command lines contain at most 40 characters after the AT, not counting spaces. The modem does not execute any of the commands in a command line that is too long. are decimal (base 10). To Echo command line characters, use the E1 command. This character is typed to end a command line. The value of the <CR> character is stored in S-register S3. The de-fault is 13, the ASCII carriage return character. Typing mistakes can be aborted by using a special Back-Space character, <BS>, after the initial A and T characters have been entered. A partial command line can be aborted by typing a CtrlX character. The modem returns an OK result code and ig-nores the partial AT command line. AT Command Prefix Each modem command line begins with the letters A and T. The modem uses these characters to determine the data rate and parity of data from the terminal. A/Repeat Last Command To repeat the commands in the last command line type the letters A and / instead of A and T. <CR>End Of Line Character When the <CR> character is entered, the modem executes the commands in the command line. Note: default values in the AT Command Tables are denoted by bold face type. Command lines may contain several commands one after another. The Answer (A), Dial (D), and Go On-Line (O) commands usually cause any following commands in the command line to be ignored. Command Line Execution The characters in a command line are executed one at a time. Any unexpected characters, except control characters, stop command line execution and return an ERROR result code. Unexpected characters include numbers out-side the range of values accepted by the command. All control characters in a command line except Ctrl-X and the special characters such as <CR> and <BS> are ignored. The numerical argument of a command is assumed to be 0 if it was not provided. For example, the commands ATH<CR> and ATH0<CR> both hang up the telephone line. When the modem has executed a command line the result code of the last command executed is returned to the terminal. If the value to be written to a modem S-register is outside the range of values accepted by the S-register then its value is set to the nearest allowed value. Leading zeros in numeric arguments, including S-register numbers, are ignored. For example, ATS1=2 and ATS01=2 both set S-register S1 to 2. All numeric arguments, including S-register numbers, Rev. 2 www.clare.com 7 CPC2400E AT Command Set Command Function and Description A The A command makes the modem go off hook and respond to an incoming call. Use this command after the modem has returned the RING result code. Answer If the modems successfully complete the answering process they each return a CONNECT result code and enter the On-Line state. If no transmit carrier signal is received from the calling modem within the time specified in S-register S7, the modem hangs up, returns the NO CARRIER result code, and enters the Idle state. Any commands following the answer command on the command line are ignored. This command is aborted if a key is pressed before the answer process is completed, or when DTR is off if some options in the &Q or &D commands have been used. B &C D Communication Standard Option Data Carrier Detect Options Dial The B command tells the modem which special telephone line modulation standards to use. The modem can be configured to use: B0 Use the ITU-T modulation standards for all telephone line data rates. This includes V.22 for the 1200 bps telephone line data rate and V.21 for the 300 bps telephone line data rate. B1 Not Supported. &C determines how the modem’s DCD signal relates to the carrier signal from the other modem. This option takes effect only at the beginning of a telephone line connection. If &C is issued from the Command state it will not have an immediate effect. &C0 During asynchronous operation (&Q0 in effect) DCD is on at all times. During synchronous operation (&Q1) DCD reflects the state of the carrier signal from the other modem using S-registers S9 and S10. This is the default value in North America. &C1 Reflects the state of the carrier signal from the other modem using S-registers S9 and S10. The D command makes the modem dial a telephone call according to the digits and dial modifiers in the dial string following the command. Any commands following the dial string on a command line are ignored unless the semicolon dial modifier is the last character in the dial string. If the modem was already off hook when the Dial command was given, the modem dials immediately without trying to detect a dial tone. Characters other than digits and dial modifiers in a dial string are ignored, but are counted as characters in the command line buffer. If line current sensing is enabled, and line current is detected before the modem is taken off-hook when the modem needs to dial, a NO CARRIER result code is displayed and the modem enters the Idle state. If the modem does not need to dial (i.e., ATD with no dial string), the modem assumes the call was manually established and attempts to make a connection. The D command is not valid when the modem is in the On-Line state. See DIAL MODIFIERS and MODEM RESULT CODES for more information. 8 www.clare.com Rev. 2 CPC2400E AT Command Set Command Function and Description &D Data Terminal &D determines how the modem responds to the DTR signal from the terminal. The country Ready Options configuration may prevent the modem from detecting terminal DTR. In this case, the modem assumes DTR is always on. In North America, terminal DTR is normally detected. If DTR detection has been prevented, the modem will respond with an ERROR result to this command. The response to changes in DTR also depends on the &Q and &D commands. This table defines what happens when DTR goes off for all possible combinations of the &D and &Q commands. To see what happens when DTR goes on refer to the &Q command. The default value is &D0 in North America: E %E &D0 &D1 &D2 D3 &Q0 None B C D &Q1 A B C D A The modem hangs up the telephone line and issues an OK result code. B If in the On-Line state, the modem goes into the Command state and issues an OK result code. C The modem hangs up the telephone line and issues an OK result code. Auto-Answer is disabled as long as DTR stays off. D The modem resets. Command Mode E tells the modem whether or not to echo characters sent from the terminal when the modem is Character Echo accepting AT commands. Automatic Retrain Options E0 Does not echo characters sent from the terminal. E1 Echo characters sent from the terminal. This is the default value in North America. The %E command controls whether the modem will initiate retrain with the other modem during a telephone line connection during operation in data modes supporting retrain. The modem always responds to a retrain operation initiated by the remote modem. The modem can be forced to initiate a retrain by the On-Line (O1) command. %E0 %E1 &F Recall Factory Profile Do not initiate a retrain. Initiate a retrain if the datapump indicates one is required. &F changes these AT command options and S-registers to their default values. The default values may be changed for use in different countries. The values for North America are: S-registers S0=0 S1=0 S2=43 S3=13 S4=10 S8=2 S9=6 S10=14 S11=95 S17=10 S25=5 S28=0 S29=25 S37=0 S6=2 S7=30 S12=50 S5=8 Commands B1 &G Rev. 2 Guard Tone Options E1 M1 P Q0 V1 X4 &C0 &D0 &G0 &P0 &Q0 %E1 &G tells the modem which guard tone to transmit when the modem is transmitting the high band (i.e., answer handshake and answer mode). &G0 No guard tone. This is the default value in North America. &G1 550 Hz guard tone (V.22 and V.22bis only) &G2 1800 Hz guard tone (V.22 and V.22bis only) www.clare.com 9 CPC2400E AT Command Set Command Function and Description H H0 Hang up the telephone line. H1 Go off hook without answering a telephone call. This may be disabled in countries prohibiting its use. &HT I 10 Hook PTT Test Command Identification The &HT command causes the modem to transmit tones for PTT testing. The test tone is generated until a character is typed on the modem’s terminal. The country configuration may disable this command. The modem returns an ERROR result if this command is issued. &HT0-9 EMMF tone for digit n where the command was &HTn. &HT10 EMMF tone”*” &HT11 EMMF tone “#” &HT12 EMMF tone “A” &HT13 EMMF tone “B” &HT14 EMMF tone “C” &HT15 EMMF tone “D” &HT16 V.21 channel 1 mark &HT17 V.21 channel 2 marks &HT18 V.23 1200bps marks &HT19 V.23 75bps marks &HT20 V.21 channel 1 spaces &HT21 V.21 channel 2 spaces &HT22 V.23 1200bps spaces &HT23 V.23 75bps spaces &HT24 V.22 originate mode &HT25 V.22 answer mode &HT26 V.22bis originate mode &HT27 V.22bis answer mode &HT28 V.25 calling tone &HT29 550Hz guard tone &HT30 1800Hz guard tone &HT31 Silence The I command asks the modem for information that can be used to determine the modem’s compatibility with other software and to ensure the modem is operating properly. I0 Display product code. The modem reports its product code to the terminal. The modem produces information text dependent upon its features and capabilities. I1 Display ROM checksum. The modem reports the value of its ROM checksum. The decimal number displayed is the eight bit sum (from 0 to 255) of all the bytes in ROM. I2 Test the ROM checksum. The modem checks its ROM to ensure it is correct. The modem reports a result code indicating whether the ROM is OK or in ERROR. I3 Display Software Versions. The modem reports the modem controller and data pump software versions, and the modem controller software release date, to the terminal. I4 Display Modem Identification. The modem reports a configurable identification message to the terminal. www.clare.com Rev. 2 CPC2400E AT Command Set Command Function and Description M The country configuration may disable the speaker. If so, this command will return an ERROR result. O &P Q Speaker On/Off Options Return to On-Line Mode Pulse Dial Make/ Break Ratios M0 Speaker always off. M1 Speaker on until carrier detected. This is the default value in North America. M2 Speaker always on; stays on after carrier is detected. M3 Speaker off as digits are dialed, but on during ringback and on until carrier signal is detected. This command returns the modem to the on-line mode. It is frequently used after th escape character sequence (+++) to resume communication with the remote modem. If handshaking is started, the modem uses Originate or Answer mode handshaking depending upon whether the modem originated or answered the telephone call. O0 Return the modem to the On-Line state from the Command state during a telephone line connection. The modem starts handshaking if there was no telephone line connection but the modem was off hook. O1 Return the modem to the On-Line state and retrain its data pump during a telephone line connection. The modem starts handshaking if there was no telephone line connection but the modem was off hook. Sets cadence of pulse dial. The country configuration may disable this command, forcing particular pulse dialing parameters. In this event, the modem returns an ERROR result if this command is issued. &P0 39%/61% make/break ratio and 10 pulses per second when pulse dialing. This is the default value. &P1 33%/67% make/break ratio and 10 pulses per second when pulse dialing. &P2 39%/61% make/break ratio and 20 pulses per second when pulse dialing. q &P3 33%/67% make/break ratio and 20 pulses per second when pulse dialing Result Code Display Options This command allows the user to either display result codes or to not display result codes. Q0 Result codes will be displayed. This is the default value for North America. Q1 Result codes will not be displayed. Sn Set the current S-register to n This command sets the current S-register to the value “n” selected by the user. For example, ATS7 will set the current S-register to S7. Default value is 0. Sn addresses a particular S-register number so future commands like ? and = will read of write the S-register. Modem reset and the &F command select S0 as the default S-register. ? Read an S-Register This command displays the value of the last S-register named in the Sn command. =x Write an S-register This command writes the value x to the last S-register named in the Sn command. The range of valid values for x depends upon which S-register is being written. 0 is assumed if no value is given for x. T Tone dialing Selects the tone method of dialing. V Result Code Format Rev. 2 This command changes the format in which result codes are displayed. V0 All result codes will be displayed as numbers. V1 All result codes will be displayed as words (verbose form). This is the default value for North America. www.clare.com 11 CPC2400E AT Command Set Command Function and Description X The X command controls whether or not a busy signal or dial tone should be detected when dialing. The X command also limits the result codes the modem may return when dialing. The operation of the X command is configurable for operation in different countries. Call Progress X0 Neither busy signal nor dial tone are detected. When a telephone line connection is made the result code does not indicate the telephone line data rate. X1 Neither busy signal nor dial tone are detected. When a telephone line connection is made the result code indicates the telephone line data rate. X2 Busy signal is not detected. Dial tone is detected. When a telephone line connection is made the result code indicates the telephone line data rate. X3 Busy signal is detected. Dial tone is not detected. When a telephone line connection is made the result code indicates the telephone line data rate. X4 Both busy signal and dial tone are detected. When a telephone line connection is made the result code indicates the telephone line data rate. This is the default value in North America. The @ and W dial modifiers are not affected by the X command. The @ dial modifier may return the result codes 8 (NO ANSWER) or 7 (BUSY) each time it appears in the dial string. The W dial modifier may return the result codes 6 (NO DIALTONE) or 7 (BUSY) each time it appears in the dial string. 12 www.clare.com Rev. 2 CPC2400E Dial Modifiers Dial modifiers perform special functions within a dial command. For example, ATDT9W1552368!@#71234;<CR> instructs the modem to use tone dialing (T), to access a number outside a PBX (9), to wait for dial tone (W), to dial the number 1552368, to do a hook-flash (i.e. timed break recall), to wait for quiet answer, and to issue the PBX transfer code #7 before dialing extension number 1234, then to return to the Command state before initiating the handshake. Modifier Function 0-9 A B C D # * Dialing digits and characters. The digits and characters 0-9 A B C D # * specify what numbers the modem dials. The characters A B C D # * work only when tone dialing is used, they are ignored when pulse dialing is used. The characters A, B, C, and D may be disabled in countries prohibiting their use. P Pulse dialing. P selects the pulse method of dialing. P can be issued within a dial command or as a separate command. The default method of dialing is Pulse. R Originate a Call in Answer Mode. R makes the modem handshake in answer mode so it can originate a call to an originate-only modem. T Tone dialing. T selects the tone method of dialing. T can be issued within a dial command or as a separate command. The default method of dialing is Pulse. W Wait for dial tone. W makes the modem wait for a dial tone before proceeding. If no dial tone is detected the modem hangs up the telephone line and returns the NO DIALTONE result code. , Delay Processing of Next Character. A comma (,) makes the modem pause for the length of time in Sregister S8 before processing the next character in a dial string. @ Wait for Quiet Answer. @ makes the modem listen for 5 seconds of silence before continuing. The modem will wait up to the length of time in S-register S7. If 5 seconds (configurable by country) of silence are not detected within the time period in S-register S7, the modem hangs up and returns the NO ANSWER result code. If 5 seconds of silence are detected, the modem continues processing the other characters in the dial string. ! Timed Break Recall (Hookflash). A ! makes the modem hang up the telephone line for the length of time in S-register S29, then take the telephone line off hook again. This is frequently used to access a PBX’s call transfer function. Return to Command State after dialing. A semicolon (;) tells the modem to return to command state after dialing without breaking the telephone line connection and without handshaking with the other modem. The semicolon may only be used when calling a voice mail system that permits tones to transmit numbers once a connection has been established. ; Rev. 2 www.clare.com 13 CPC2400E Modem S-Registers The value of an S-register is modified by ATSn =x, where n is the register number and x is the value to be stored in that particular register. Each S-register has three values that may be configured for different countries: a default value, an upper limit and a lower limit. The values shown in this manual are for North America. Register Range Units Description S0 0 - 255 Rings Set number of rings to auto-answer. The country configuration may disable the modem’s ability to detect a telephone line ring signal. In this case the modem will never automatically answer the telephone regardless of the S0 setting. Default = 0 (auto-answer disabled) S1 0 - 255 Rings Returns the number of times the phone rings. Default = 0 S2 0 - 255 ASCII Set Escape Sequence Character. Setting S2 to a value greater than 127 disables the character escape sequence, preventing the modem from returning to Command state when in the On-Line state. Default = 43 S3 0 - 127 ASCII Set the End of Line character. Default = 13 S4 0 - 127 ASCII Set the Line Feed Character. Default = 10 S5 0 - 127 ASCII Set the BackSpace Character. Default = 8 S6 2 - 255 Seconds Delay to Wait Before Performing a Blind Dial. Default = 2 seconds S7 1 - 255 Seconds Delay to Wait for Carrier after dialing. Default = 30 seconds S8 0 - 255 Seconds Delay to Wait when a Comma Dial Modifier is Processed. Default = 2 sec. S9 1 - 255 1/10th sec Time Carrier Must be Present Before Being Recognized. Default = 0.6 sec. S10 1 - 255 1/10th sec Delay Between Lost Carrier and Hang Up. Setting S-register S10 to 255 makes the modem never hang up the telephone line because of a loss of carrier. Default = 14 tenths of a second S11 50 - 255 msec Multi-Frequency Tone duration. Default = 95 milliseconds S12 0 - 255 1/50th sec Escape Prompt delay time. This is the prompt delay time for escape sequences from the On-Line state to the Command state. Default = 50 fiftieths of a second S13 Reserved Reserved Reserved S14 Reserved Reserved Reserved S15 Reserved Reserved Reserved S16 Reserved Reserved Reserved S17 -6 to -43 - dBm Set Transmit level. Default = -10 dBm S18 Reserved Reserved Reserved S19 Reserved Reserved Reserved S20 Reserved Reserved Reserved 14 www.clare.com Rev. 2 CPC2400E Modem S-Registers Register Range Units Description S21 Reserved Reserved Reserved S22 Reserved Reserved Reserved S23 Reserved Reserved Reserved S24 Reserved Reserved Reserved S25 0 - 255 seconds or 1/100 sec. During synchronous operation with the &Q1 command in effect, S-register S25 is the number of seconds after a telephone line connection is made before the modem examines DTR. This allows sufficient time to disconnect the modem from an asynchronous terminal and attach it to a synchronous terminal. In the On-Line or Command state during any mode of operation, changes in DTR for less than S25 hundredths of a second are ignored. S26 Reserved Reserved Reserved S27 Reserved Reserved Reserved S28 0 - 255 minutes Terminal inactivity timeout. Hangs up the modem after S28 minutes if no characters are received from the modem’s terminal. Default = 0 S29 0 - 255 1/50th sec Hook Flash On-Hook time. The amount of time in 20 millisecond units the modem will leave the telephone on-hook while performing a hook-flash according to the “!” dial string modifier. Default = 25 fiftieths of a second. S37 0-6 code Set Highest Line Rate - determines the highest telephone line data rate the modem will use when connecting with a remote modem. See “Setting the Highest Line Rate” section below. Default = 0. Setting the Highest Line Rate The connect rate can be selected by S-register S37. The following connect rates are supported. S37 Value Carrier 0 Data Rate The data rate of the last AT command 4 Reserved 5 V.22, Bell 212A 1200 bps. See the B command 6 V.22bis 2400 bps Rev. 2 www.clare.com 15 CPC2400E Modem Result Codes A result code is a line of text or a number the modem sends to the terminal to indicate the result of a command execution. Some CONNECT result codes indicate the telephone line data rate. The following table provides a list of the available result codes. 16 Number Word Result Code Description 0 OK Command Line Executed without errors 1 CONNECT The modem is in the On-line state, ready to transfer data. 2 RING The modem has detected a ring signal on the telephone line. The country configuration may disable the modem’s ability to detect a telephone line ring signal. 3 NO CARRIER No carrier signal was detected when answering or placing a telephone call, or carrier was lost during a call. The modem also returns this response message when the tele phone line connection is broken for any reason. 4 ERROR An invalid command was issued, or there was an error at any place in the command line. 5 CONNECT 1200 The modem is in the On-line state, ready to transfer data. 6 NO DIALTONE No dial tone was detected when the modem took the telephone line off hook. 7 BUSY The modem detected a busy signal on the telephone line. 8 NO ANSWER Not enough silence was detected when the @ dial modifier was used. 10 CONNECT 2400 The modem is in the On-line state, ready to transfer data. The telephone line data rate is 2400bps. 16 CONNECT 1200/75 The modem is in the On-Line state, ready to transfer data. This modem transmits at 1200 bps and receives at 75 bps. 17 CONNECT 75/1200 The modem is in the On-Line state, ready to transfer data. This modemtransmits at 75 bps and receives at 1200 bps. 20 BLACKLISTED The modem will not allow any number to be dialed until after the modem is reset. 21 DELAYED The modem will not allow any number to be dialed now, but will allow dialing at some future time. www.clare.com Rev. 2 CPC2400E Escape Sequences An escape sequence is one or more particular characters sent from the terminal to the modem during the On-Line state. This is done to switch the modem to the command state so modem commands may be entered during a telephone line connection. The Escape Sequence characters are typically sent to the other modems as data. An escape sequence should not occur accidentally during an exchange of data between two modems. Unfortunately, it is impossible to guarantee any escape sequence will never occur naturally since there are no restrictions on the data or timing between characters sent between two modems during the On-Line state. The only method of switching form the On-Line state to the Command state that does not ever occur naturally during an exchange of data is the Data Terminal Ready signal (the &D1 command). The terminal has complete control of this signal and it is not part of the data exchanged between the modems. Carrier Detection S-Register S2. The prompt delay timer can be changed (in 1/50 second increments) through S-Register S12 (see S-Registers section). After handshaking, the modem determines if a telephone line connection exists by detecting the carrier signal from the other modem. If the carrier is not detected for a long enough period of time, the modem assumes the telephone line connection with the other modem has been broken. The modem uses S-register S9 to determine how long a carrier must be present before it is “detected.” The modem uses S-register S10 to determine how long a carrier may not be detected before the telephone line is hung up. The Hayes escape sequence was adopted by many modem manufacturers and communication programs before Hayes was granted a patent for the escape sequence guard times. Now the unpatented Time Independent Escape Sequence (TIES) has gained popularity with many modem manufacturers. TIES Escape Sequence TIES stands for Time Independent Escape Sequence. TIES was developed by a number of modem manufacturers in response to Hayes enforcing patent rights for their escape sequence guard time patent. The Time Independent Escape Sequence is a sequence of 3 escape characters (+ characters by default). Once these characters have been recognized, the modem enters the Command state without sending a confirming result code to the terminal and the modem starts a prompt delay timer. Then: a. If one of the recognized AT commands is received before the timer expires, the timer is stopped, the command is executed and its result code is sent to the terminal. b. If any other data is received while the timer is running, the timer is stopped, the modem returns to the On-Line state and the received data is sent to the other modem. c. If the timer expires, a confirming result code is sent to the terminal, indicating the modem is in the Command state. The escape character can be changed through Rev. 2 www.clare.com 17 Worldwide Sales Offices CLARE LOCATIONS EUROPE ASIA/PACIFIC Clare Headquarters 78 Cherry Hill Drive Beverly, MA 01915 Tel: 1-978-524-6700 Fax: 1-978-524-4900 Toll Free: 1-800-27-CLARE European Headquarters CP Clare nv Bampslaan 17 B-3500 Hasselt (Belgium) Tel: 32-11-300868 Fax: 32-11-300890 Clare Micronix Division 145 Columbia Aliso Viejo, CA 92656-1490 Tel: 1-949-831-4622 Fax: 1-949-831-4628 France Clare France Sales Lead Rep 99 route de Versailles 91160 Champlan France Tel: 33 1 69 79 93 50 Fax: 33 1 69 79 93 59 Asian Headquarters Clare Room N1016, Chia-Hsin, Bldg II, 10F, No. 96, Sec. 2 Chung Shan North Road Taipei, Taiwan R.O.C. Tel: 886-2-2523-6368 Fax: 886-2-2523-6369 SALES OFFICES AMERICAS Americas Headquarters Clare 78 Cherry Hill Drive Beverly, MA 01915 Tel: 1-978-524-6700 Fax: 1-978-524-4900 Toll Free: 1-800-27-CLARE Eastern Region Clare P.O. Box 856 Mahwah, NJ 07430 Tel: 1-201-236-0101 Fax: 1-201-236-8685 Toll Free: 1-800-27-CLARE Central Region Clare Canada Ltd. 3425 Harvester Road, Suite 202 Burlington, Ontario L7N 3N1 Tel: 1-905-333-9066 Fax: 1-905-333-1824 Western Region Clare 1852 West 11th Street, #348 Tracy, CA 95376 Tel: 1-209-832-4367 Fax: 1-209-832-4732 Toll Free: 1-800-27-CLARE Canada Clare Canada Ltd. 3425 Harvester Road, Suite 202 Burlington, Ontario L7N 3N1 Tel: 1-905-333-9066 Fax: 1-905-333-1824 Germany Clare Germany Sales ActiveComp Electronic GmbH Mitterstrasse 12 85077 Manching Germany Tel: 49 8459 3214 10 Fax: 49 8459 3214 29 Italy C.L.A.R.E.s.a.s. Via C. Colombo 10/A I-20066 Melzo (Milano) Tel: 39-02-95737160 Fax: 39-02-95738829 Sweden Clare Sales Comptronic AB Box 167 S-16329 Spånga Tel: 46-862-10370 Fax: 46-862-10371 United Kingdom Clare UK Sales Marco Polo House Cook Way Bindon Road Taunton UK-Somerset TA2 6BG Tel: 44-1-823 352541 Fax: 44-1-823 352797 http://www.clare.com Clare cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in this Clare product. No circuit patent licenses nor indemnity are expressed or implied. Clare reserves the right to change the specification and circuitry, without notice at any time. The products described in this document are not intended for use in medical implantation or other direct life support applications where malfunction may result in direct physical harm, injury or death to a person. Specification: DS-CPC2400E-R2 ©Copyright 2000, Clare, Inc. All rights reserved. Printed in USA. 1/12/01