XMODUS AL5068S Installation manual

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 1 / 46
ISDN Modem
XM1240S
AT Commands Reference Manual
Version 106
Released 31. December 2007
All manuals and user guides at all-guides.com
all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 2 / 46
Information provided by xmodus swiss GmbH is believed to be accurate and reliable.
However, no responsibility is assumed by xmodus swiss for its use, nor any
infringement of patents or other rights of third parties which may result from its use.
No license is granted by implication or otherwise under any patent rights of xmodus
swiss other than for circuitry embodied in xmodus products. Xmodus swiss reserves
the right to change circuitry at any time without notice. This document is subject to
change without notice.
Product names or services listed in this publication are for identification purposes
only, and may be trademarks or registered trademarks of their respective companies.
All other marks mentioned herein are the property of their respective owners.
© 2007 xmodus swiss GmbH
Printed in Switzerland
All Rights Reserved
All manuals and user guides at all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 3 / 46
Table of Contents
1. INTRODUCTION ........................................................................................................5
1.1 OVERVIEW .............................................................................................................5
1.2 PRODUCT DESCRIPTION .....................................................................................5
2. SYNTAX AND PROCEDURES...................................................................................6
2.1 ALPHABET..............................................................................................................6
2.2 DTE COMMAND LINES..........................................................................................6
3. AT COMMAND SET ...................................................................................................8
3.2 AT COMMANDS HELP SCREENS.........................................................................9
3.3 STANDARD AT COMMANDS...............................................................................11
3.4 AT& COMMANDS .................................................................................................16
3.5 SPECIAL CONFIGURATION COMMANDS..........................................................18
3.6 ISDN SERVICES COMMANDS.............................................................................19
3.7 ISDN CONFIGURATION COMMANDS.................................................................20
4. S-REGISTERS..........................................................................................................21
4.1 ATSn Read / Write S-Register..............................................................................21
4.2 FACTORY DEFAULTS..........................................................................................21
4.3 S-REGISTER SUMMARY .....................................................................................22
4.4 S-REGISTER DEFINITIONS.................................................................................23
5. MESSAGES..............................................................................................................31
5.1 AT Commands relating to message formats. ........................................................31
5.2 Message formats...................................................................................................33
5.3 Message formats...................................................................................................34
5.4 Message formats...................................................................................................35
5.5 CALLING NUMBER REPORT (CLIP) ...................................................................36
5.6 ISDN ERROR CAUSE REPORT...........................................................................36
6. X.31 CALL SETUP....................................................................................................37
6.1 Setup outgoing X.31 call........................................................................................37
6.2 Reporting of X.25 causes and diagnostic codes ...................................................39
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 4 / 46
7. INTEGRATED PAD (X.3).........................................................................................40
7.1 Command Mode of X.3 PAD .................................................................................40
7.2 X.3 Parameter Set.................................................................................................40
7.3 International X.3 Parameters 1 … 20 ....................................................................40
7.4 Table of the implemented standard profile. ...........................................................42
8. FIRMWARE UPDATE...............................................................................................43
9. AUDIO MODES ........................................................................................................44
9.1 AT Command Specifications: ................................................................................44
A. APPENDIX A ............................................................................................................46
A.1 TABLE OF ISDN CAUSES (ETSI CAUSE VALUES)............................................46
All manuals and user guides at all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 5 / 46
1. INTRODUCTION
1.1 OVERVIEW
This manual describes the AT Commands and the S-Registers for the following
xmodus Socket Modem families:
AL5068S ISDN Socket Modem (5V Version)
AL5068S-3V ISDN Socket Modem (3V Version)
AL5068SI-3V ISDN Socket Modem (3V Version and IOM-2 bus)
The description apply to all these isdn-modems with any differences between product
families noted. Refer to Modem Firmware Release notes for commands applicable to
modem firmware.
1.2 PRODUCT DESCRIPTION
The xmodus AL5068S, AL5068S-3V and AL5068SI Socket Modem Family provides
the OEM with a complete ISDN data/voice/speakerphone modem in a compact
socket-mountable module. This modules enables any devices to send and receive
data over the ISDN network. The European EuroISDN DSS-1 ISDN network is
supported. The module is fully approved and homologated and conforms to the CE
regulations. This gives fastest time-to-market to ISDN-enable any devices.
The compact size and high level of integration of the Socket Modem minimizes real
estate and cost for motherboard and box modem applications. Its low power
consumption makes it ideal for a wide variety of embedded control applications. The
pin compatibility between the full range of Analog Series Socket Modems, ISDN and
GSM Socket Modems allows upgrading and production configurability without
hardware changes.
As a data modem, the AL5068S Socket Modem can send and receive data at speeds
up to 64kbps and 128kbps in the 2-channel version. B-Channel protocols such as
V.110, V.120, PPP, transparent and X.75 are supported.
For X.25 networks, X.31 Case A and X.31 Case B (D- and B-channel) is supported.
The integrated X.3 PAD can be used for data transfer to the X.25 network.
The AL5068SI-3V Socket Modem supports Voice features. By adding two external
PCM Codecs the modem supports two independent analog voice ports. Digital voice
transfer is also supported.
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 6 / 46
2. SYNTAX AND PROCEDURES
The command and response syntax and procedures generally conform to referenced
recommendations and standards. Since these recommendations and standards
describe characteristics universal to a large installed base of modems to a maximum
degree, there may be syntax and procedural differences due to extensions and
behavioral differences in implemented commands, parameters, and responses
beyond that described in these recommendations and standards.
The syntax and procedures described in this section are based on V.25ter with
additional information included for implemented extensions and behavioral
differences beyond V.25ter.
2.1 ALPHABET
The T.50 International Alphabet 5 (IA5) is used in this document. Only the low-order
seven bits of each character are significant to the modem; any eight or higher-order
bit(s), if present, are ignored for the purpose of identifying commands and
parameters. Lower-case characters are considered identical for their upper-case
equivalents when received by the modem from the DTE. Result codes from the
modem are in upper-case.
2.2 DTE COMMAND LINES
Words enclosed in <angle brackets> are referenced to syntactical elements. The
brackets are not used when the words appear in a command line, the brackets are
not used. Words enclosed in [square brackets] represent optional items which may be
omitted from the command line at the specified point. The square brackets are not
used when the words appear in the command line. Other characters that appear in
syntax descriptions must as included as shown.
2.2.1 Command Line General Format
A command line is made up of three elements: the prefix, the body, and the
termination character.
The command line prefix consists of the characters “AT” or “at” or, to repeat the
execution of the previous command line, the characters “A/” or “a/”.
The body is made up of individual commands described in this document. Space
characters (IA52/0) are ignored and may be used freely for formatting purposes,
unless they are embedded in numeric or string constants. The termination character
may not appear in the body. The modem can accept at least 80 characters in the
body.
The termination character may not be selected by the user, the default is CR.
Example:
AT&FE0Q1S0=1S96=1<CR>
All manuals and user guides at all-guides.com
all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 7 / 46
2.2.2 Command Line Editing
The character <BS> is interpreted as a request from the DTE to the modem to delete
the previous character.
2.2.3 Command Line Echo
The modem may echo characters received from the DTE during command state and
online command state back to the DTE, depending on the setting of the ATEn
command. If so enabled, characters received from the DTE are echoed in the same
format as received.
2.2.4 Repeating a Command Line
If the prefix “A/” or “a/” is received, the modem immediately executes once again the
body of the preceding command line. No editing is possible, and no termination
character is necessary. A command line may be repeated multiple times in this
manner. Responses to the repeated command line are issued using format of the
original command line. If “A/” is received before any command line has been
executed, the preceding command line is assumed to have been empty (that results
in an OK result code).
2.2.5 Factory Settings
The parameter settings of the isdn-modem are pre-configured by the factory defaults.
This factory defaults can be reloaded at any time by using the AT&F command. The
parameter settings will be changed when using any AT commands which affects the
configuration of the modem. This changes can be permanently stored by using the
AT&W command. The factory defaults are identified for each command and in the S-
Register descriptions. A configuration (profile) consists of a subset of S-Registers.
AT&F = Restore factory configuration.
AT&W = Store current configuration.
Result codes:
OK
2.2.6 Escape Code Sequence
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 maximum time allowed between receipt of the last character of
the three escape character sequence from the DTE and sending of the OK result
code to the DTE is controlled by the S12 register (default 1 sec.). The escape
characters will be transmitted transparent to the remote side.
Example: [1s pause] <+><+><+> [1s pause]
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 8 / 46
3. AT COMMAND SET
STANDARD COMMANDS SPECIAL COMMANDS
A/ Repeat lst command line AT%B0 Autobaud enabled
AT? Help Screens AT%B1 Local baudrate = 1200bps
ATA Accept incoming call AT%B2 Local baudrate = 24000ps
ATB0 V.110 / B-Channel protocols AT%B3 Local baudrate = 4800bps
ATB1 V.120 AT%B4 Local baudrate = 9600bps
ATB3 PPP AT%B5 Local baudrate = 19200bps
ATB4 Transparent speech AT%B6 Local baudrate = 38400bps
ATB5 Transparent data AT%B7 Local baudrate = 57600bps
ATB10 X.75 AT%B8 Local baudrate = 115200bps
ATB20 X.31 / B-Channel AT%B9 Local baudrate = 230400bps
ATB21 X.31 / D-Channel AT%W0 AL5500S Message mode
ATB40 Transparent IOM-2 (speech) AT%W1 AL5064S Message mode
ATB41 Transparent IOM-2 (data) AT%W2 Modem Message modce
ATE0 Local Echo off AT%V0 CONNECT only
ATE1 Local Echo on AT%V1 CONNECT + B-Ch. PROT
ATH Disconnect AT%V2 CONNECT + LSP + PROT
ATI0 Modem Type
ATI0 Modem Type AT**DBITS Set number of data bits
ATI3 Firmware Version AT**PRTY Set parity
ATI4 Manufacturer
ATMn Table of authorized callers ISDN SERVICE COMMANDS
ATN3 V.110 Baudrate = 4800bps AT$M Received Called Line ID
ATN4 V.110 Baudrate = 9600bps AT$O Received CLIP
ATN5 V.110 Baudrate = 19200bps AT$Pn Define X.3 PAD parameters
ATN6 V.110 Baudrate = 38400bps AT$Z=n Define own MSN
ATO Return to online state
ATQ0 Result codes enabled ISDN CONFIGURATION
ATQ1 Result codes disabled AT**BSIZE Set B-Channel block size
ATSn S-Register settings =64 Set block size to 64
ATV0 Short from result codes =128 Set block size to 128
ATV1 Text form result codes =256 Set block size to 256
ATW0 ISDN result codes disabled =512 Set block size to 512
ATW1 ISDN result codes numeric =1024 Set block size to 1024
ATW2 ISDN result codes text =2048 Set block size to 2048
ATW3 ISDN result codes text+time AT**DTE Set B-Channel L2 address
ATX0 Extented result codes off =0 Calling = DTE, called = DCE
ATX1 Busy / No Dialtone off =1 TA reacts as DTE
ATX2 Busy off =3 TA reacts as DCE
ATX3 No Dialtone off AT**K Set L2 window size
ATX4 All result codes on = 1 ..7
ATZ Load stored settings
AT&.. COMMANDS
AT&C0 DCD always on
AT&C1 DCD indicates connect state FLASH COMMAND
AT&D0 DTR ignored AT**FLASH is used for firmware update
AT&D2 DTR not ignored
AT&D4 DTR only for disconnect
AT&F Load factory defaults
AT&K0 Flow control off
AT&K3 RTS/CTS Flow control
AT&K5 RTS/CTS Flow control
AT&V Display configuration
AT&W Store active configuration
All manuals and user guides at all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 9 / 46
3.2 AT COMMANDS HELP SCREENS
3.2.1 AT? Help Overview.
Help pages
---------------------------------------------------------------------------
AT? This page
ATC? Standard commands
ATS? S-Register
AT&? Line control and storage commands
AT%? Special configuration
AT*? ISDN specific configuration
AT$? Message format configuration
3.2.2 ATC? Standard Commands Help Screen.
STANDARD COMMANDS (actual settings)
---------------------------------------------------------------------------
A/ Repeat last command line
ATA Accept incoming call
ATDnnn Initiate outgoing call to nnn
ATH Hang up
ATIn Display version information [n: 0 .. 6, 8, 9]
ATZ Load stored settings
AT**FLASH Update software (need 1k-Xmodem)
ATBn B ch prot [1,3,20,21] (3: PPP)
ATEn Local echo [0: no, 1: yes] (1)
ATNn V.110 bitrate [0: auto, 1: 1200 .. 6: 38400] (38400)
3.2.3 ATS? S-Register Help Screen.
S-REGISTER (actual settings)
---------------------------------------------------------------------------
ATS0=n Auto answer [0: no, 1: yes] (0)
ATS2=n Escape character (43)
ATS49=n Ring indicator (125) [0: normal, 1: DCD, 2: ON, 4: OFF]
ATS96=n B ch prot [1,3,20,21] (3: PPP)
ATS97=n TEI for X.31 case B D-channel [n: 1..62] (5)
ATS98=n Command echo [0: no, 1: yes] (1)
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 10 / 46
3.2.4 AT&? AT& Commands Help Screen.
LINE CONTROL AND STORAGE COMMANDS (actual settings)
---------------------------------------------------------------------------
AT&F Load factory defaults
AT&W Store active configuration
AT&Cn DCD control [0: allways on, 1: working] (1)
AT&Dn DTR [0: ignore, 2: call/disc used, 4: disc used] (4)
AT&Kn Flow control [0: ignore, 3: data, 5: data + cmd mode] (5)
3.2.5 AT%? Special Commands Help Screen.
SPECIAL CONFIGURATION (actual settings)
---------------------------------------------------------------------------
AT%Bn Local bitrate [0: auto, 1: 1200 .. 9: 230400] (auto)
AT**DBITS=n Number of databits [7,8] (8)
AT**PRTY=n Parity [0: no, 1: even, 2: odd] (0)
3.2.6 AT*? ISDN Commands Help Screen.
ISDN SPECIFIC CONFIGURATION (actual settings)
---------------------------------------------------------------------------
AT**BSIZE=n B-channel block size (64)
AT**DTE=n B-ch layer2 address [0: cn DTE/cd DCE, 1: DTE, 3: DCE] (0)
AT**K=n Layer2 window sizes [1..7] (1)
AT$Z=nnn Own msn (0552631217)
3.2.7 AT$? Message Format Commands Help Screen.
MESSAGE FORMAT CONFIGURATION (actual settings)
---------------------------------------------------------------------------
ATVn Result format [0: number, 1: text] (1)
ATWn Extended result code [0..3] (0)
ATXn Extended result code [0..4] (4)
AT%Vn CONNECT message format [0..2] (1)
AT%Wn Message compatability [0: AL5500, 1: AL5064, 2: Modem] (1)
All manuals and user guides at all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 11 / 46
3.3 STANDARD AT COMMANDS
3.3.1 A/ Repeat last Command line.
If the prefix “A/” or “a/” is received, the modem immediately executes once again the
body of the preceding command line. No editing is possible, and no termination
character necessary. A command line may be repeated multiple times in this manner.
Responses to the repeated command line are issued using format of the original
command line. If “A/” is received before any command line has been executed, the
preceding command line is assumed to have been empty (that results in an OK result
code).
3.3.2 ATA Answer an incoming call.
The isdn-modem will attempt to answer an incoming call if correct conditions are met.
Upon successful completion of the link establishment, the modem will go online. This
command may be affected by the state of S-Register S0. The “RING” message is
displayed and the serial status line [RI] will go active after an incoming call is
detected. This command must be the last one in a command line.
3.3.3 ATBn B-Channel Protocol Options.
This command selects the data transmission protocol which the modem will use in the
B-channel upon a connection.
ATB0 : V.110 asynchronous
ATB1 : V.120 protocol (default).
ATB3 : PPP asynchronous
ATB4 : Byte transparent (speech connection)
ATB5 : Byte transparent (data connection)
ATB10 : X.75 SLP
ATB20 : X.31 B channel (X.25 B channel)
ATB21 : X.31 D channel
ATB31 : MLPPP (Optional)
ATB40 : B-Channel routed to IOM-2 (speech)
ATB41 : B-Channel routed to IOM-2 (data)
ATB42 : B-Channel routed to IOM-2 (3.1kHz Audio)
ATB50 : B-Channel routed to IOM-2 / 2-channel mode (speech)
ATB51 : B-Channel routed to IOM-2 / 2-channel mode (data)
ATB52 : B-Channel routed to IOM-2 / 2-channel mode (3.1kHz Audio)
3.3.4 ATDn Initiate outpoing call.
This command directs the isdn-modem to activate the isdn-link, dial according to the
string entered and attempt to establish a connection according to the ATBn
Command. The dial modifiers "W", "P", "T", ";" and <space> can be freely inserted in
the dial string; they have no influence on the dial procedure of the modem. Must be
the last command in an AT command line. Any character input while the modem is
dialing will cancel the dialing procedure.
All manuals and user guides at all-guides.com
all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 12 / 46
Example:
ATD0673445633<CR>
CONNECTED (V.120) (response of modem)
3.3.5 ATEn Local Echo
The isdn-modem enables or disables the echo of characters to the DTE according to
the parameter supplied. The parameter value, if valid, is written to S-Register S98.
ATE0 = Disables command echo.
ATE1 = Enables command echo. (default)
Result codes:
OK n = 0 or 1.
ERROR Otherwise.
3.3.6 ATH Disconnect
This command initiates a link termination sequence. The current link is terminated
and the isdn-modem returns to command mode. To enter the ATH command during
an active data connection the “Escape Code Sequence” described under 2.2.6 must
be used.
Result codes:
OK
3.3.7 ATIn Display Version Informations
The isdn-modem reports to the DTE the requested result according to the command
parameter.
ATI Reports the Product Type; “AL5068S“
ATI1 Reports the checksum of the Firmware (“0“)
ATI2 Reports “OK“
ATI3 Reports the Firmware Version string: "V.XX"
ATI4 Reports the name of the manufacturers: "xmodus swiss GmbH"
ATI5 Reports the ISDN protocol type: "0 - DSS1"
ATI6 Reports the copyright string: "(c) Copyright xmodus swiss GmbH”
ATI8 Reports the Boot-loader version string
ATI9 Reports the software creation date
All manuals and user guides at all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 13 / 46
3.3.8 ATMn- Table of authorized callers
Up to 5 entries may be stored in this table. The ATM command allows the user to
store the authorized calling numbers and to report each entry. As many numbers as
stored will be compared with the calling number. As example: If “430” is stored , the
calling number can be “430” or “4300” or “43033552343” (imagine as wildcard 430*).
ATM<n><number><CR> = Stores a new calling number for authorization.
n = 0 - 4.
number = any caller number.
ATM<n>?<CR> = Reports a stored entry.
Result codes:
EMPTY Entry is empty.
<NUMBER> Otherwise.
ATM<n><CR> = Delete entry
3.3.9 ATNn Set V.110 Baudrate
This command selects the terminal baudrate which is used for V.110 B-Channel
Protocol. The terminal speed (DTE speed) must be set corresponding (equal) to the
V.110 speed.
ATN3 V.110 baudrate = 4800 bit/s
ATN4 V.110 baudrate = 9600 bit/s (default)
ATN5 V.110 baudrate = 19200 bit/s
3.3.10ATO Return to Online State
If the isdn-modem is in the online command mode, entered with the (+++) sequence,
this command returns the isdn-modem to Online Data Mode. Handling is determined
by the Call Establishment task (see S-Register S96 or ATBn). Generally, if a
connection exists, this command connects the DTE back to the remote modem after
an escape (+++).Must be the last command in an AT command line.
Result codes:
OK
3.3.11ATQn Enable Result Codes
This command enables or disables the sending of result codes to the DTE according
to the parameter supplied. The parameter value, if valid, is written to S-Register S32.
ATQ0 = Enables result codes to the DTE (default).
ATQ1 = Disables result codes to the DTE.
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 14 / 46
3.3.12ATSn S-Register Settings
Commands that begin with the letter “S” are known as “S-Parameters”. The number
following the “S” indicates the “parameter number “ being referenced. If the number is
not recognized as a valid parameter number, an ERROR result code is issued.
Immediately following this number, either a “?” or “=” character must appear. “?” is
used to read the current value of the indicated S-Parameter; “=” is used to set the S-
parameter to a new value.
S<parameter_number>? = Read the current value.
S<parameter_number>=[value] = Set to [value].
If the “=” is used, the new value to be stored in the S-parameter is specified in
decimal following the “=”. If no value is given (i.e., the end of the command line
occurs or the next command follows immediately), the S-parameter specified may be
set to 0, or an ERROR result code issued and the stored value left unchanged. The
ranges of acceptable values are given in the description of each S-parameter.
If the “?” is used, the modem transmits a single line of information text to the DTE.
The text portion of this information text consists of exactly three characters, giving the
value of the S-parameter in decimal, with leading zeroes included.
3.3.13ATVn Result Code Form
This command selects the sending of short-form or long-form result codes to the
DTE. The parameter, if valid, is written to S-Register S42.
ATV0 Enables short-form (terse) result codes. Line feed is not issued before
a short-form result code.
ATV1 Enables long-form (verbose) result codes. (Default.) Result is
presented as text (default).
3.3.14ATWn Enable ISDN Result Codes
This command, in conjunction with AT%Wn and AT%Vn commands can be written
directly by the host and control the formats of the extended ISDN messages (see
Section 5 and Tables at 5.2). The actual result code messages reported reflect the W
command setting and the AT%Wn and AT%Vn settings. The W parameter value, if
valid, is written to S45 bits 0 to 3.
ATW0 Result is presented without <xx> and <nr> (default)
<xx> = ISDN error cause (see also section 5.2)
<nr> = calling party number (see also section 5.2)
ATW1 Result is presented with <xx> and <nr>
<xx> = ISDN error cause [decimal] (see also section 5.2)
<nr> = calling party number (see also section 5.2)
ATW2 Result is presented with <xx> and <nr>
<xx> = ISDN error cause [text format] (see also section 5.2)
<nr> = calling party number (see also section 5.2)
ATW3 same as ATW2 but <nr> at CONNECT message is
replaced with <datetime> element of L3 frame.
All manuals and user guides at all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 15 / 46
3.3.15ATXn Extented Result Codes
This command selects the subset of the result code messages used by the modem to
inform the DTE of the results of commands. The information below is based upon the
default implementation of the X results table. Table 5-2 indicates the messages which
are enabled for each X value. If the modem is in modem mode, the only message
sent to indicate a connection is “CONNECT” without a speed indication. Please see
also Chapter 5.
ATX0 CONNECT only (no line speed), send only OK, CONNECT, RING,
NO CARRIER and ERROR result codes.
ATX1 CONNECT XXXX, send only OK, CONNECT, RING, NO CARRIER,
and ERROR, . If busy tone detection is enforced and busy tone is
detected, NO CARRIER will be reported instead of BUSY.
ATX2 CONNECT XXXX, send only OK, CONNECT, RING, NO
CARRIER, NO DIALTONE and ERROR. If busy tone detection is
enforced and busy tone is detected, NO CARRIER will be reported
instead of BUSY
ATX3 CONNECT XXXX, Enables reporting of busy tones; send only OK,
CONNECT, RING, NO CARRIER, ERROR, BUSY and NO DIALTONE.
ATX4 CONNECT XXXX, Enables reporting of busy tones; send all
messages.
3.3.16ATZ Load stored settings
The isdn-modem performs a soft reset and restores (recalls) the configuration profile.
Must be the last command in an AT command line.
Result codes:
OK
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 16 / 46
3.4 AT& COMMANDS
3.4.1 AT&Cn DCD Options.
The modem controls the DCD output in accordance with the parameter supplied. The
parameter value, if valid, is written to S48 bit 0.
AT&C0 DCD remains ON at all times.
AT&C1 DCD follows the link state and therefore indicates that a connection is
established. (default)
3.4.2 AT&Dn DTR Control
This command interprets the ON to OFF transition of the DTR signal from the DTE in
accordance with the parameter supplied. The parameter value, if valid, is written to
S47 bits 0 and 1.
AT&D0 DTR is ignored (assumed ON). Allows operation with DTE’s which do
not provide DTR.
AT&D2 DTR drop causes the modem to hang up. An existing ISDN connection
will be terminated. Auto-answer is inhibited when DTR is inactive
(default).
AT&D4 DTR drop causes the modem to hang up. An existing ISDN connection
will be terminated. Auto-answer is not inhibited when DTR is inactive
3.4.3 AT&Fn Load Factory Defaults
The isdn-modem loads the factory configuration (profile). The factory defaults are
identified for each command and in the S-Register descriptions. A configuration
(profile) consists of a subset of S-Registers. MSN’s and Phone numbers stored will
not be overwritten.
AT&F = Restore factory configuration.
3.4.4 AT&Kn Flow Control
This command defines the DTE/DCE (terminal/modem) flow control mechanism. The
parameter value, if valid, is written to S39 bits 0, 1, and 2.
AT&K0 Disables flow control.
AT&K3 Enables RTS/CTS flow control. Default for data modem modes.
(default).
AT&K5 Enables RTS/CTS flow control in data mode and command mode.
All manuals and user guides at all-guides.com
all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 17 / 46
3.4.5 AT&Vn Display Current Configuration
This command reports the current (active) configuration, the stored (user) profiles, the
MSN numbers and the stored telephone numbers.
AT&V Reports the current (active) configuration.
3.4.6 AT&W Store active Configuration
Saves the current (active) configuration (profile), including S-Registers, in the user
profile in NVRAM as denoted by the parameter value. This command will yield an
ERROR message if the NVRAM is not installed or it is not operational as detected by
the NVRAM test.
The current configuration is comprised of a list of storable parameters illustrated in
the &V command. These settings are restored to the active configuration upon
receiving an ATZ command or at power up.
AT&W Store the current configuration profile.
Result codes:
OK
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 18 / 46
3.5 SPECIAL CONFIGURATION COMMANDS
3.5.1 AT%Bn Fixed DTE Baudrate.
This command specifies the data rate at which the modem will accept commands
during online operation. It may be used to select operation at rates at which the
modem is not capable of automatically detecting the data rate being used by the DTE.
Specifying a value of 0 disables the function and allows operation only at rates
automatically detectable by the modem. The specified rate takes effect following the
issuance of any result code(s) associated with the current command line. Must be the
last command in an AT command line. If automatic baudrate detection is enabled,
after power-on any messages (i.e. RING) will be send with 115’200bps in the case
that no AT command was entered before.
AT%B0 Enables automatic baudrate detection (default).
AT%B1 Fixed DTE baudrate = 1200 bit/s
AT%B2 Fixed DTE baudrate = 2400 bit/s
AT%B3 Fixed DTE baudrate = 4800 bit/s
AT%B4 Fixed DTE baudrate = 9600 bit/s
AT%B5 Fixed DTE baudrate = 19200 bit/s
AT%B6 Fixed DTE baudrate = 38400 bit/s
AT%B7 Fixed DTE baudrate = 57600 bit/s
AT%B8 Fixed DTE baudrate = 115200 bit/s
AT%B9 Fixed DTE baudrate = 230400 bit/s
3.5.2 AT%Wn Message compatibility modes.
Sets the compatibilty of the result messages (see chapter 5)
AT%W0 AL5068S Message Mode.
AT%W1 AL5064S Message Mode (default).
AT%W2 Modem Message Mode.
3.5.3 AT%Vn CONNECT message formats.
Sets the formats of the CONNECT message (see also chapter 5)
AT%V0 CONNECT only.
AT%V1 CONNECT (B-Channel protocol) (default)
AT%V2 CONNECT <Line-speed> (B-Channel protocol)
3.5.4 AT**DBITS DTE Character Format (Data Bits)
This command select the number of data bits of the terminal (DTE) asynchronous
character format. 7 or 8 bits / character can be selected.
AT**DBITS=7 Selects 7 bits character format.
AT**DBITS=8 Selects 8 bits character format (default).
All manuals and user guides at all-guides.com

XM1240S AT Command Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 19 / 46
3.5.5 AT**PRTY DTE Character Format (Parity)
This command select the parity type of the terminal (DTE) asynchronous character
format. Even, Odd or no parity can be selected.
AT**PRTY=0 Select no parity (default)
AT**PRTY=1 Select Even parity
AT**PRTY=2 Select Odd parity
3.6 ISDN SERVICES COMMANDS
3.6.1 AT$M Report CLID (Received Called Line ID)
Reports the CLID (called line identification) that is received upon an incoming call.
The CLID is the number of the called party addressed on the local S-bus.
3.6.2 AT$O Report CLIP (Received Calling Party)
Reports the CLIP (calling line identification) that is received upon an incoming call.
The CLIP is the number of the calling party.
3.6.3 AT$Pn Define X.3 Parameters
Defines the X.3 International Parameters. For detailed description see chapter 7.
AT$Pn=x Defines X.3 parameter n with value x
AT$P? Shows the X.3 Parameters with their values.
3.6.4 AT$Z Define Own MSN
Defines the msn nn (multiple subscriber number) for the data port. If the number is set
to “*“ (default), all incoming calls are acceptable.
The msn can be displayed by command AT&V.
AT$Z=nn set parameter "msni" and "msno" to nn
All manuals and user guides at all-guides.com

XM1240S AT Commands Reference Manual
No. XM1240S-A00-106 xmodus swiss GmbH 20 / 46
3.7 ISDN CONFIGURATION COMMANDS
3.7.1 AT**BSIZE Selects B-Channel Packet Size
This command selects the maximum length of a data block in the X.31 and/or V.120
B-Channel protocols. This parameter will be changed by the setting of other B-
Channel protocols (ATBn).
AT**BSIZE=64 Selects a block length of 64 bytes
AT**BSIZE=128 Selects a block length of 128 bytes
AT**BSIZE=256 Selects a block length of 256 bytes (default)
AT**BSIZE=512 Selects a block length of 512 bytes
AT**BSIZE=1024 Selects a block length of 1014 bytes
AT**BSIZE=2048 Selects a block length of 2048 bytes
3.7.2 AT**DTE Selects B-Channel Layer 2 Address
This command selects the Layer 2 link address used for X.25-B protocol. . This
parameter will be changed by the setting of other B-Channel protocols (ATBn).
AT**DTE=0 Calling side = DTE; Called side = DCE
AT**DTE=1 Reacts as DTE (address = 01) (default)
AT**DTE=3 Reacts as DCE (address = 03)
3.7.3 AT**K X.75 / V.120 Window Size
The isdn-modem will operate an X.75 or V.120 error corrected link using a window
size controlled by the parameter supplied. A window size from 1 – 7 can be supplied.
The value of 1 is chosen for compatibility with other products. A value of 2 – 7 should
be chosen for best performance (default = 7).
AT**K=n n = 1 – 7 , default = 7
All manuals and user guides at all-guides.com
This manual suits for next models
3
Table of contents
Other XMODUS Modem manuals