Eletech LanConn-400 User manual

LanConn-400 User Guide
User’s Manual
First Edition
(C)2002-2003Eletech Enterprise Co., Ltd.
All Rights Reserved.

LanConn-400 User’s Guide 1
1. Description
LanConn-400 is a full duplex serial port to Ethernet converter. Through LanConn-400, your system
can easily communicate with the LAN, WAN or Internet via the RS232/RS422/RS485 port. When
sending data to the network, LanConn-400 automatically adds the necessary TCP/IP stack. When
receiving data from the network, LanConn-400 automatically removes the TCP/IP stack.
LanConn-400 also provides a device interface with 4 serial ports and 1 keyboard port, making it a
powerful and cost effective solution to many applications such as industrial automation and remote
(Internet enabled) device control.
2. System Structure
3. Specifications
Hardware Samsumg S3C4500A ARM7 CPU, 25 MHz
2MB DRAM
128 KB Flash ROM
Realtek 8201BL Ethernet PHY
Protocol ARP, IP, UDP, TCP, ICMP, HTTP, DHCP
Interface 10/100 Mbps
300 – 230400 bps asynchronous stream 1
RS232/RS422/RS485, 3 RS232 only
1 Keyboard port, PS2 type, 3 RS232 only
Throughput 23 KB/s per-channel, full-duplex
ARM7 CPU + MAC
1M X 16 DRAM
128K X 8 Flash ROM
Ethernet PHYMII 100/10 Mbps
RS232/RS422/RS485
RS232
RS232
RS232
Keyboard

LanConn-400 User’s Guide 2
4. Hardware Connection Diagram
RXD
TXD
CTS
RTS
1
6
2
7
3
8
4
9
5
DCD
DTR
DSR
RI
GROUND
RXD
TXD
CTS
RTS
1
6
2
7
3
8
4
9
5
DCD
DTR
DSR
RI
GROUND
RXD
TXD
CTS
RTS
1
6
2
7
3
8
4
9
5
DCD
DTR
DSR
RI
GROUND
RXD
TXD
CTS
RTS
1
6
2
7
3
8
4
9
5
DCD
DTR
DSR
RI
GROUND
1
2
3
4
RS422/RS485
rsRx-
rsRx+
rsTx-
rsTx+
1
2
3
4
5
6
PS/2 Mini-DIN
VCC
DATA
CLOCK
GND
1
2
3
4
5
6
7
8
RJ45
Tx+
Tx-
Rx+
Rx-
DC 9VSe r ia l P or t 1
Se r ia l P or t 2
Se r ia l P or t 3
Se r ia l P or t 4
Key board
RS422/RS485
Network
Power

LanConn-400 User’s Guide 3
5. Etm Manager Program
Etm.exe is a device manager program which runs under the Windows 32 bit environment. Using
UDP broadcast packets, Etm.exe allows you to inquire and modify LanConn-400’s basic parameters.
Upon executing Etm.exe, the following screen (example) will appear if a LanConn-400 is found.
The screen shows number of devices detected, as well as their IP Address, Subnet Mask, MAC
Address and Device ID. If you select the [View] / [Refresh] function (or press the F5 key), the system
will re-detect the devices and update the screen accordingly. Because Etm.exe uses UDP
Broadcast Packets, it has the following characteristics:
It’s not subject to the subnet restriction – the program is usable even if LanConn-400’s IP and
the PC’s IP are not on the same subnet.
Since broadcast packets cannot pass through the router, only the devices on the same network
section can be detected.
Due to the fact that Etm.exe uses UDP broadcast, for security reasons the Config function is
available when only one LanConn-400 device is detected. In this case, the following parameters can
be modified under the Config function.

LanConn-400 User’s Guide 4
IP Address
Enter the new IP address and click [OK]. Or click [Cancel] to abort the operation
Subnet Mask
Enter the Subnet Mask value and click [OK]. Or click [Cancel] to abort the operation

LanConn-400 User’s Guide 5
6. Browser Configuration
LanConn-400 supports the HTTP communication protocol. All device configurations can be easily
set in the browser program. Just type in the LanConn-400’s IP address, and the following screen will
be displayed.
The following basic information is shown in the display.
•System time elapsed: The elapsed time since the system was turned on. In the screen
shown above, the elapsed time is 0 hour 0 minute and 9 seconds. This information can be used to
determine if the device has been operating normally without being reset.
•Firmware release date: This is used to identity the firmware version of the LanConn-400
device.
•Ethernet address: The Ethernet address has 6 hex-decimal bytes.
Now, type in the password and click the [Login] button to enter the configuration screen. Note that
initially the password is not required, just click the [Login] button.

LanConn-400 User’s Guide 6
•If the correct password is not entered in three tries, you have to wait at least 20 minutes to try
again.
The following is an example of the configuration screen.

LanConn-400 User’s Guide 7
Click the [Update] button to update the parameters.
IP Address 4 numbers separated by dots, assigned by the server under DHCP mode.
Subnet mask 4 numbers separated by dots, assigned by the server under DHCP mode.
Gateway address 4 numbers separated by dots, assigned by the server under DHCP mode.
Network link
speed Auto : Auto select ; 10 M : Forced to 10 Mbps ; 100 M : 100 Mbps
DHCP client If disabled, then IP address, Subnet masks and Gateway address must be
assigned manually.
Socket port of
HTTP setup
If disabled, then IP address, Subnet masks and Gateway address must be
assigned manually.
Socket port of
serial I/O
•Port Number: any number between 1 and 65536, can be assigned to port
80 and 81. this function allows users build their own Web pages.
•Socket Type
TCP Server, uses TCP protocol, passively waits for Client.
TCP Client, uses TCP protocol, actively connects to Server.
UDP Client, uses UDP protocol, exchanges packets with Server
without connection.
Client mode
server IP address The server IP address under TCP Client or UDP Client mode.
Client mode
server socket port Any Valid port can be assigned (1-65535),
Serial port settings
( Port #1, Port #2)
(baud rate, parity,
data bits, stop bits)
•Baud Rate: 300 - 230400 bps
•Parity : N,E,O.
Data bits : 5.6.7.8.
Stop Bit: 1 or 2.
Serial port settings
( Port #3, Port #4)
(baud rate, parity,
data bits, stop bits)
•Baud Rate: 300 - 230400 bps
•Parity : N,E,O.
Data bits : 6.7.8.
Stop Bit: 1 or 2.
Interface of serial
I/O
•RS232: use only TxD and RxD to transfer and receive data.
•RS232 (RTS/CTS):
TxD, RxD – transfer and receive data.
RTS/CTS – flow control.

LanConn-400 User’s Guide 8
•RS232 (RTS/CTS, DTR/DSR):
TxD, RxD – transfer and receive data.
RTS/CTS – flow control.
DTR – socket connection status, DSR – socket connection control.
•RS485 (Half duplex): half duplex.
•RS422 (Full duplex): full duplex.
RS422/RS485 interface applied to serial port #1 only
Packet mode of
serial input
If packet mode is disabled, the data received from the serial port will be
transmitted immediately with minimal delay. If packet mode is enabled, the data
will be saved in the buffer memory first, and transmitted when the entire packet is
received or when the buffer memory is full.
Device ID User assigned device ID number. Acceptable range is 0 to 65535.
Report device ID
when connected
If this function is enabled, the device will report the device ID after the socket is
connected. The format is:
Serial port #1 nnnnnA
Serial port #2 nnnnnB
Serial port #3 nnnnnC
Serial port #4 nnnnnD
Keyboard port nnnnnE
There are eight bytes: “nnnnn” is the 5-digit device ID, [LF] is decimal 10, and
[CR] is decimal 13.
Setup password The login password can be empty of 1 to 15 characters long. If the password is
empty then no password is required for login.
Access
password
This is the password for socket connection. It can be empty or 1 to 15 characters
long. If the password is empty, then no password is required for socket
connection. If the password is not empty, then it must be entered immediately
after socket connection is made. If the password is not entered within 10
seconds or a wrong password is entered, then LanConn-400 will automatically
disconnect. If a wrong password is entered for three times in a roll, no connection
is allowed within 20 minutes.
Serial Port 1
Socket port : 100 TCP Server
Interface : RS 232
Baud rate, parity, data and stop bits : 9600, None, 8, 1

LanConn-400 User’s Guide 9
Serial Port 2
Socket port : 101 TCP Server
Interface : RS 232
Baud rate, parity, data and stop bits : 9600, None, 8, 1
Serial Port 3
Socket port : 102 TCP Server
Interface : RS 232
Baud rate, parity, data and stop bits : 9600, None, 8, 1
Serial Port 4
Socket port : 103 TCP Server
Interface : RS 232
Baud rate, parity, data and stop bits : 9600, None, 8, 1
Keyboard Input
Socket port 104, TCP Server

LanConn-400 User’s Guide 10
After clicking on the [Update] button, the following screen will appear:
At this point LanConn-400 is restarting with the new parameters. In about 5 seconds the system will
return to the Login screen.

LanConn-400 User’s Guide 11
7. Testing
A. Null Modem
(1) Make a null modem by connecting pin 2 and 3 together on a 9-pin male RS-232 connector. Plug
the null modem on LanConn-400’s RS-232 connector.
(2) Connect LanConn-400 onto the LAN, into the same subnet as the testing PC.
(3) Execute Hypertrm.exe. The following screen will appear.
(4) Key in your favorite name and click the [OK] button. The following screen will appear.
IP Address
Socket port
of serial I/O

LanConn-400 User’s Guide 12
(5) Enter IP address and socket port of serial I/O. Make sure TCP/IP (Winsock) is selected and click
the [OK] button. The following screen will appear.
.
(6) At this point you may type in a few test characters. These characters will be looped back through
the null modem, and displayed on the screen. Note that “Rx” will flash once whenever you type
in a character, to indicate the receiving of that character. You may also send a text file and it will
be displayed on the screen. However, you should not use the “Send File” function because the
transmission protocols such as Zmodem will cause Hyperterminal to reset LanConn-400.
Characters looped back from
the serial port
Table of contents