User`s manual
Table Of Contents
- 1. Introduction
- 2. Getting Started
- Powering on the W406-LX
- Connecting the W406-LX to a PC
- Configuring the Ethernet Interface
- USB Port for Expansion
- SD Socket for Storage Expansion
- Setting Up the Wireless Module
- Configuring the SIM Card
- Entering the PIN Code
- Verifying the SIM Card Status
- Enabling or Disabling the PIN Code Authentication
- Changing the PIN Code
- Unlocking the SIM Card
- Connecting to the Internet
- Reconnecting to the Internet
- Disconnecting from the Internet
- Detecting an Internet Connection Error
- Sending and Reading an SMS Message
- Deleting an SMS Message
- Test Program—Developing Hello.c
- 3. Managing Embedded Linux
- 4. Managing Communications
- 5. Development Tool Chains
- 6. Programmer’s Guide
- 7. Software Lock
- A. System Commands

W406-LX User’s Manual Introduction
1-2
Overview
The W406-LX embedded computers, which are designed for industrial automation applications,
feature 2 RS-232/422/485 serial ports, 1 Ethernet port, 4 digital input channels, 4 digital output
channels, 1 USB 2.0 host and SD socket. The DIN-Rail vertical form factor makes it easy to install
the W406 embedded computers in small cabinets. This space-saving feature also facilitates easy
wiring, and makes the W406-LX the best choice as front-end embedded controllers for industrial
applications.
The W406-LX computers use a Cirrus Logic EP9302 32-bit ARM9 processor. Unlike the X86
CPU, which uses a CISC design, the RISC architecture and modern semiconductor technology
provide these embedded computers with a powerful computing engine and communication
functions, without generating excessive heat. The quad band GSM/GPRS/EDGE
850/900/1800/1900 wireless module makes the W406 computers the ideal solution when
establishing a stable and reliable long-range communication for industrial applications.
The W406-LX’s pre-installed Linux operating system (OS) provides an open software operating
system for your software program development. Software written for desktop PCs can be easily
ported to the computer with a GNU cross compiler, without modifying the source code. The OS,
device drivers (e.g., serial and buzzer control), and your own applications, can all be stored in the
NOR Flash memory.
Software Architecture
The Linux operating system that is pre-installed on the W406-LX follows the standard Linux
architecture, making it easy to accept programs that follow the POSIX standard. Program porting
is done with the GNU Tool Chain provided by Moxa. In addition to Standard POSIX APIs, device
drivers for the CF storage, buzzer and Network controls, and UART are also included in the Linux
OS.
OS Kernel
API
AP
Protocol
Stack
Device
Driver
Microkernel
Hardware
User Application
Daemon (Apache, Telnet, FTPd, SNMP)
Application Programming Interface (POSIX, Socket, Secure Socket)
TCP, IP, UDP, ICMP, ARP, HTTP, SNMP, SMTP
SD, USB, DI/O, UART, RTC
Memory Control, Schedule, Process
RS-232/422/485, Ethernet, USB
File
System