XMODUS XM1630S User manual

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 1 / 32
LAN Modem
XM1630S
Software Reference Manual
Version 104
Released 4. January 2010

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 2 / 32
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
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.
© 2009 xmodus swiss GmbH
Printed in Switzerland
All Rights Reserved

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 3 / 32
TABLE OF CONTENTS
1. INTRODUCTION.............................................................................................4
1.1 OVERVIEW..................................................................................................4
1.2 PRODUCT DESCRIPTION..........................................................................4
2. MANAGEMENT AND CONFIGURATION.......................................................5
2.1 Login with Web Browser...............................................................................5
2.2 Login with Telnet Client................................................................................5
2.3 Login with TTY .............................................................................................6
2.4 General information......................................................................................6
3. WEB BASED CONFIGURATION....................................................................7
3.1 Web based LAN configuration......................................................................8
3.2 Web based serial configuration....................................................................9
3.3 Web based statistics ..................................................................................10
3.4 Web based I/O configuration......................................................................11
3.5 Web based administration..........................................................................12
4. COMMAND LINE INTERFACE.....................................................................13
4.1 Syntax and procedures ..............................................................................14
4.2 Summary of commands .............................................................................14
4.3 Help screens ..............................................................................................15
4.4 Description of commands...........................................................................18
5. FIRMWARE UPDATE...................................................................................28
6. APPLICATIONS............................................................................................29
6.1 Setting up a Telnet Configuration Session .................................................30
6.2 Start a manual dial-out session in TELNET mode......................................30
6.3 Start a manual dial-out session in RAW mode...........................................30
6.4 Automatic Dial-out......................................................................................31
6.5 Dial-in.........................................................................................................32

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 4 / 32
1. INTRODUCTION
1.1 OVERVIEW
This manual describes the commands and the configuration for the following xmodus
swiss GmbH Socket Modem families:
AL6000SS LAN Socket Modem (5V Version)
AL6000S-3V LAN Socket Modem (3V Version)
The description applies to all these LAN-modems without any differences between
product families noted. Please refer to Modem Firmware Release notes for
commands applicable to the modem firmware.
1.2 PRODUCT DESCRIPTION
The xmodus AL6000S and AL6000S-3V Socket Modem Family provides the OEM
with a complete LAN data modem in a compact socket-mountable module. This
module enables any devices to send and receive data over the Ethernet network. The
IEEE 802.3u interface with auto-negotiation and auto-crossover is supported. The
module is fully approved and homologated and conforms to the CE regulations. This
gives fastest time-to-market to LAN-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,
GSM and LAN Socket Modems allows upgrading and production configurability
without hardware changes.
As a data modem, the AL6000S Socket Modem can send and receive data at speeds
up to 230’000 bps in transparent or Telnet modes. Protocols such as TCP/IP, UDP,
ARP, ICMP and DHCP are supported.
The very flexible IP protocol stack allows easy integration of user applications such as
additional bus systems (CAN) or serial protocols for automation systems.
Optional interfaces like SPI, USB or CAN are integrated for future expansion. The
standard modules support configurable I/O ports and ADC ports for monitoring and
control.

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 5 / 32
2. MANAGEMENT AND CONFIGURATION
The modem provides 3 different ways for configuration and management.
2.1 Login with Web Browser
When using the web browser to configure your LAN-modem for the first time, use the
default IP address of the modem: 192.168.1.3
At the login prompt, type: “ADMIN”
At the password prompt type: “AL6000S”
(The user name and password are case sensitive)
2.2 Login with Telnet Client
When using Telnet client to configure your LAN-modem for the first time, use the
default IP address of the modem: 192.168.1.3
At the login prompt, type: “ADMIN:AL6000S”
(The user name and password are case sensitive)
Using
Browser
Configuration
and
Management
Using
Telnet
Using
TTY

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 6 / 32
2.3 Login with TTY
When using TTY to configure your LAN-modem, you must configure the serial port to
the default serial configuration of the module.
115200 bps, 8-bit, no parity, 1 stop bit
No authentication needed for TTY configuration.
Press 3 x Enter to arrive at the login prompt.
2.4 General information
-The OK or “#” sign designates the prompt in command mode.
-No prompt is displayed in data mode.
-To end your configuration session type “quit”.
-To display a list of available menus type “help”.

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 7 / 32
3. WEB BASED CONFIGURATION
The AL6000S LAN-modem consists of a HTTP Web server, which allows
configuration and monitoring through any common web browser. When using your
web browser to configure your LAN-modem for the first time, use the default IP
address of the modem:
192.168.1.3
At the login prompt, type: “ADMIN”
At the password prompt type: “AL6000S”
(The user name and password are case sensitive)
After login, the following entry screen should display:
Main configuration screen:

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 8 / 32
3.1 Web based LAN configuration
The LAN Configuration Screen allows configuration of all the LAN specific parameters
such as IP address, subnet mask, gateway IP address, Ethernet speed and DHCP
server.
LAN configuration screen:
Important:
The LAN configuration menu contains a validation procedure, which prevents the
storing of incorrect configuration data. After a setting has been changed and saved,
the new configuration must be validated within 3 minutes by reconnecting via the
Browser and clicking on the <Modify / validate settings> button. After this timeout with
no validation, the module returns to the previous configuration so that it cannot be left
in an unreachable condition.
Procedure:
Change settings as desired
Click on <Modify/validate settings> followed by <Save changes*>
The LAN modem will now reboot with its new settings. Reconnect using the
new settings to ensure that it is reachable.
Click on <Modify/validate settings> to validate the new settings so that they are
permanently used.
If after 3 minutes no validation has taken place the previous configuration is
automatically restored.

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 9 / 32
3.2 Web based serial configuration
The serial configuration screen provides all the settings for the serial interface and the
serial communication modes.
SERIAL configuration screen:
3.2.1 Serial Port configuration:
Serial Port parameters: setting of baud rate, parity, data-bits, stop-bits and flow-
control.
Flow Control: Selects between RTS/CTS (Hardware) flow control and
XON/XOFF (Software) flow control. The high and low-water marks can also be
modified.
Input wait buffer: specifies the conditions at which the received data is packed in
a TCP/IP frame and sent to the remote side. As default, received data is sent
after 350 bytes (buffer full) or after 240 ms (if less than 350 bytes received).
Modify: To make the settings active press the “Modify serial port” button. The
new setting is immediately valid.
Save changes: Permanently saves the new setting.
3.2.2 Communication modes:
TELNET: The Telnet radio button enables the Telnet protocol for data
communications. Communication is established through the specified port, which
defaults to 8000.
RAW: The RAW radio button enables transparent mode for data communications.
Communication is established through the specified port, which defaults to 8000.
IAC: The IAC-Tx and IAC-Rx radio buttons enables IAC byte-stuffing in the
specified direction when in Raw communication mode.
Modify: To make the settings active press the “Modify communication” button.
Save changes: Permanently saves the new setting.

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 10 / 32
3.2.3 Serial/TCP Communication settings:
Dial-in: The dial-in radio button enables TCP access from remote side to the LAN
modem (incoming calls) and enables the modules Telnet data Server. The dial-in
port specifies the port address of the Telnet data server (8000 default).
Dial-out: The dial-out radio button enables Telnet access from the LAN modem to
the remote side (outgoing calls) and enables the Telnet Client. The dial-out port
specifies the port address of the Telnet client (8000 default) and the dial-out IP
address the address of the server to be contacted.
Auto Dial-out: The Auto dial-out radio button enables automatic Telnet access
from the LAN modem to the remote side (automatic outgoing calls). The
connection is automatically established by either the DTR line (DTR active) or by
presence of data. This is selected by either the “Dial on DTR” or the “Dial on data”
radio buttons.
Modify: To make the settings active press the “Modify communication” button.
Save changes: Permanently saves the new setting.
3.2.4 Serial Escape Scanning:
Serial Escape: The Serial escape scanning radio button enables the escape to
command mode function. The “Escape sequence” field specifies the characters
used to switch from data to command mode.
3.2.5 General:
Reset all changes to default.
Make changes permanent.
Reset chan
g
es
Save chan
g
es

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 11 / 32
3.3 Web based statistics
The statistics screen provides all the information regarding the packet (frame)
oriented traffic on the Ethernet port. These statistics can be helpful to trace back
specific processes.
Statistics screen:

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 12 / 32
3.4 Web based I/O configuration
The I/O configuration screen provides all the settings to configure the I/O and ADC
ports plus the LED output lines. It allows read and write operations on predefined
hardware ports.
3.4.1 Configure LED outputs:
Port 0: This port is configurable as “Link” LED or user defined output by either the
Link or the User radio button. The “present state” field shows the actual state of
the port.
Port 1: This port is configurable as “Speed” LED or user defined output by either
the Link or the User radio button. The “present state” field shows the actual state
of the port.
Port 2: This port is configurable as “Collision” LED or user defined output by
either the Link or the User radio button. The “present state” field shows the actual
state of the port.
Port 3: This port is configurable as “Run” LED or user defined output by either the
Link or the User radio button. The “present state” field shows the actual state of
the port.
3.4.2 Configure I/O and ADC:
Port 4 – 8: These ports are configurable as Input, Output or ADC ports by either
the “Input”, “Output” or “ADC” radio buttons. The “present state” field shows the
actual state of the port. The “ADC value” files shows the hexadecimal equivalent
of the analog input level.
Read new port values and ADC samples.
Refresh Dis
p
la
y

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 13 / 32
3.5 Web based administration
The administration screen provides the possibility to change the user name and the
password of your module. Furthermore you will be able to configure the FTP,
TELNET and HTTP servers.
Important:
Please pay attention that changes on this page are only accepted if the present
password has been entered in the “Verify your present password” field.
Enter a new password: This field allows entering a new password. It is validated
by the “Confirm your new password” field. These fields must be identical.
Menu Login: Select this radio button if a login is required to enter the terminal
menu from a Telnet connection.
FTP Server: This radio button defines if the FTP server of the module is
accessible from the remote side. The FTP server enables modification of the web
pages. Disable it to protect against unwanted modifications.
Telnet Server: This radio button enables the Telnet server of the module. Disable
it to block login via Telnet from remote site. The field “Telnet port” selects the port
number of the server (default 23 – standard Telnet port number).
HTTP Server Login: This radio button enables authentication so that the web
server requests login on contact.
Trusted IP address: If “Trusted IP address” field is set non-zero, only the
specified IP address (trusted address) is allowed to login on to the module to
perform configuration and monitoring. All other source addresses will be rejected.

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 14 / 32
4. COMMAND LINE INTERFACE
4.1 Syntax and procedures
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.
4.1.1 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. 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.
4.1.2 Command line editing
The character <BS> is interpreted as a request from the DTE to the modem to delete
the previous character.
4.1.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.
4.1.4 Factory settings
The parameter settings of the modem are pre-configured by the factory defaults.
These factory defaults can be reloaded at any time by using the “restore” command.
The parameter settings will be changed when using any commands, which affect the
configuration of the modem. This changes can be permanently stored by using the
“save” command.
restore = Restore factory configuration.
save = Store current configuration.
4.1.5 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 set_esc command. The
default character is '+'. The escape characters will be transmitted transparent to the
remote side.

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 15 / 32
4.2 Summary of commands
LAN CONFIGURATION CONFIGURE INPUT/OUTPUT
set_dhcp <enable/disable> DHCP set_user Set output mode of I/O ports
set_ip_add Set IP address get_user Get output mode of I/O ports
set_ip_mask Set IP mask set_ddr Set port type [i,o] of I/O ports
set_ip_gway Set the gateway get_ddr Get data direction of I/O ports
set_eth_speed Set LAN speed (10/100/AUTO) read_port Read status of I/O ports
show_config Show network configuration write_port Set status of I/O ports
show_config_o Show original network config. read_adc Read ADC input value
save Save configuration
validate Validate configuration
ping Ping IP address
arp a Request ARP table ADMINISTRATION MENU
arp –d Delete ARP table set_pass Define user name and password
help Display menu help set_id Define ID name
quit Leave command mode reject Reset non saved changes
restore Restore factory default
CONFIGURE SERIAL INTERFACE reset Reset non-saved setting
set_baud Set serial baud rate download Download new firmware
set_stop Set stop bits (1/1.5/2)
set_bits Set data bits (7/8)
set_par Set parity (EVEN/ODD/NONE) CONFIGURE SECURITY
set_flow Set flow control (XON/HW/None) set_ftp Enable FTP Server
set_high water Set flow stall [1..99%] set_telnet Enable Telnet Server
set_low_water Set flow restart [1..99%] set_web Enable HTTP (web) Server
set_buf_size Set serial input buffer set_web_auth Enable web authorization
set_buf_delay Set serial input buffer delay set_telnet_port Define Telnet port
set_trusted_ip Define trusted IP address
show_config Show configuration
CONFIGURE SERIAL/TCP COMUNICATION
set_raw _socket Defines Telnet / RAW modes
set_iax_rx Enable IAR Rx filtering AT COMMANDS
set_iac_tx Enable IAC Rx filtering AT Standard AT command
set_socket_tout Set Telnet session timeout ATD Dial out to IP address
set_dialin Enable dial-in (incoming call) ATON MENU Resume data session
set_dialin_port Def. dial-in port (incoming call) ATH Terminate connection
set_esc Enable escape to command
mod. go AT Go to AT command mode
set_dialin Enable dial-in (incoming call)
set_dialout Enable dial-out (outgoing call)
set_dialout_port Def. dial-out port (outgoing call)
set_dialout_ip Default IP address. for dial-out up Go to menu
set_auto Enable Auto dial-out help Display help
set_auto_hw Defines Auto dial-out trigger quit Leave command mode
Show_config Show serial/TCP configuration

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 16 / 32
4.3 Help screens
4.3.1 help<cr> Display Main menu
AL6000S Main menu
===================
1 Configure LAN interface
2 Configure serial interface
3 Configure serial/TCP communication
4 Go to I/O menu
5 Go to administration menu
6 Configure security
7Go to overview/statistics menu
8AT commands
Help Display menu specific help
Quit Leave command mode
4.3.2 1<cr> Display LAN configuration menu
LAN configuration
===================
up go to main menu
set_dhcp <enable/disable> DHCP
set_ip_add Set IP address
set_ip_mask Set IP subnet mask
set_ip_gway Set default gateway
set_eth_speed Set LAN speed (10/100/AUTO)
show_config Show network configuration
show_config_o Show original network configuration
save Save configuration to flash
validate Validate temporary conf. in Flash
ping Ping test IP address
arp –a Request ARP table
arp –d Delete ARP table
help Display menu specific help
quit Leave command mode
4.3.3 2<cr> Display Serial configuration menu
Serial config.
===================
up go to main menu
set_baud Set serial baud rate
set_stop Set stop bits (1/1.5/2)
set_bits Set data bits (7/8)
set_par Set parity (EVEN/ODD/NONE)
set_flow Set flow control (XON/RTS/NONE)
set_high_water Set flow stall (%) [1..99]
set_low_water Set flow restart (%) [1..99]
set_buf_size Set serial input buffer size
set_buf_delay Set serial input buffer delay (ms)
show_config Show serial configuration
save Save configuration to flash
help Display menu specific help
quit Leave command mode

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 17 / 32
4.3.4 3<cr> Display Serial/TCP configuration menu
Serial/TCP
===================
up go to main menu
set_raw_socket <enable/disable> TCP socket is raw, not Telnet
set_iac_rx <enable/disable> IAC rx filtering
set_iac_tx <enable/disable> IAC tx stuffing
set_socket_tout Set Telnet session inactivity timeout (min)
set_dialin <enable/disable> dial-in (incoming calls)
set_dialin_port Server port number for dial-in
set_esc <enable/disable> escape sequence scanning
set_str Set scanned escape sequence from serial
set_dialout <enable/disable> dial-out on dial-out IP/port
set_dialout_port Server port number for dial-out
set_dialout_ip Server IP address for dial-out (outgoing calls)
set_auto <enable/disable> Automatic dial-out
set_auto_hw <enable/disable> Dial-out on DTR
show_config Show serial configuration
save Save configuration to flash
help Display menu specific help
quit Leave command mode
4.3.5 4<cr> Display Input/Output configuration menu
Input/Output menu
===================
up go to main menu
set_user Set output mode [0..3] [<d>¦<u>]
get_user Get output mode [0..3]
set_ddr Set port type [4..5] [<i>¦<o>]
get_ddr Get data direction
read_port Read port input [0..5]
write_port Set port output [0..5] [0/1]
read_adc Read ADC input [6..8]
save Save port setting as default
help Display menu specific help
quit Leave command mode
4.3.6 5<cr> Display Administration menu
Admin. menu
===================
up go to main menu
set_pass Set user name and password
get_id Set an identification name
show_config Show configuration
save Save configuration to Flash
reject Reset non-saved changes
restore Restore factory settings
reset Reset device
download Prepare download (WARNING – Flash deleted!)
help Display menu specific help
quit Leave command mode

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 18 / 32
4.3.7 6<cr> Display Security menu
Security menu
===================
up go to main menu
set_login <enable/disable> Terminal menu login
set_ftp <enable/disable> FTP server
set_telnet <enable/disable> Telnet service
set_web <enable/disable> WEB server
set_web_auth <enable/disable> WEB server authentication
set_telnet_port Set telnet listener port number
set_trusted_ip Trusted IP address for WEB/TELNET
show_config Show security configuration
save Save configuration to flash
help Display menu specific help
quit Leave command mode
4.3.8 8<cr> Display AT commands menu
AT commands
===================
up go to main menu
AT Test connection / an OK will be returned
ATD Dial [r[trb]/t][IP] [optional Port]
ATO Resume data session
ATH Terminate connection
go AT Go to AT command mode
help Display menu specific help
quit Leave command mode

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 19 / 32
4.4 Description of commands
4.4.1 LAN configuration commands
set_dhcp:
set_dhcp enable = enables DHCP Protocol
set_dhcp disable = disables DHCP Protocol
Note: Before enable the DHCP protocol set IP Address to: 0.0.0.0
set_ip_add:
set_ip_add xxx.xxx.xxx.xxx = sets the IP address
Example: set_ip_add 192.168.0.1 <cr>
set_ip_mask:
set_ip_mask xxx.xxx.xxx.xxx = sets the IP subnet mask
Example: set_ip_mask 255.255.255.0 <cr>
set_ip_gway:
set_ip_gway xxx.xxx.xxx.xxx = sets the Gateway address
Example: set_ip_gway 192.168.0.20 <cr>
set_eth_speed:
set_eth_speed 10 = sets the Ethernet speed to 10Mbit/s
set_eth_speed 100 = sets the Ethernet speed to 100Mbit/s
set_eth_speed AUTO = sets the Ethernet speed to auto detection
Example: set_eth_speed AUTO <cr>
show_config:
show_config = show the actual configuration
show_config_o = show the default network configuration
save:
save = save actual configuration

XM1630S Software Reference Manual
No. XM1630S-A00-104 xmodus swiss GmbH 20 / 32
validate:
validate = validates actual configuration
Note:
The LAN configuration menu contains a validation procedure, which prevents the
storing of incorrect configuration data. Saving of new settings cause an immediate
reset and must be validated within a period of 3 minutes. After this timeout with no
validation, the module returns to the previous configuration. This ensures that invalid
settings do not render a device unreachable.
ping:
ping xxx.xxx.xxx.xxx = pings the IP Address entered
Example: ping 192.168.0.1<cr>
arp:
arp –a = show ARP table
arp –d = delete ARP table
4.4.2 Serial interface configuration commands
set_baud:
set_baud 9600 = sets the serial baud rate from 9600 to 230400
…
set_baud 230400 = sets the serial baud rate to 230400
Example: set_baud 9600 <cr>
set_stop:
set_stop 1 = sets 1 stop bits
set_stop 1.5 = sets 1.5 stop bits
set_stop 2 = sets 2 stop bits
Example: set_stop 1 <cr>
set_bits:
set_bits 7 = sets number of data bits to 7
set_bits 8 = sets number of data bits to 8
Example: set_bits 8 <cr>
This manual suits for next models
1
Table of contents
Other XMODUS Modem manuals