User Manual: 1/2-Port RS-232/422/485 To 802.11b/g WLAN Serial Device Servers
User Manual: 1/2-Port RS-232/422/485 To 802.11b/g WLAN Serial Device Servers
User Manual: 1/2-Port RS-232/422/485 To 802.11b/g WLAN Serial Device Servers
EKI-1351/1352
1/2-port RS-232/422/485 to
802.11b/g WLAN Serial Device
Servers
Copyright
The documentation and the software included with this product are copyrighted 2008
by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right
to make improvements in the products described in this manual at any time without
notice. No part of this manual may be reproduced, copied, translated or transmitted
in any form or by any means without the prior written permission of Advantech Co.,
Ltd. Information provided in this manual is intended to be accurate and reliable. How-
ever, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringe-
ments of the rights of third parties, which may result from its use.
Acknowledgements
Intel and Pentium are trademarks of Intel Corporation.
Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp.
All other product names or trademarks are properties of their respective owners.
This product has passed the CE test for environmental specifications. Test conditions
for passing included the equipment being operated within an industrial enclosure. In
order to protect the product from being damaged by ESD (Electrostatic Discharge)
and EMI leakage, we strongly recommend the use of CE-compliant industrial enclo-
sure products.
FCC Class B
Note: This equipment has been tested and found to comply with the limits for a Class
B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference in a residential installa-
tion. This equipment generates, uses and can radiate radio frequency energy and, if
not installed and used in accordance with the instructions, may cause harmful inter-
ference to radio communications. However, there is no guarantee that interference
will not occur in a particular installation. If this equipment does cause harmful interfer-
ence to radio or television reception, which can be determined by turning the equip-
ment off and on, the user is encouraged to try to correct the interference by one or
more of the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
Safety Instructions
1. Read these safety instructions carefully.
2. Keep this User Manual for later reference.
3. Disconnect this equipment from any AC outlet before cleaning. Use a damp
cloth. Do not use liquid or spray detergents for cleaning.
4. For plug-in equipment, the power outlet socket must be located near the equip-
ment and must be easily accessible.
5. Keep this equipment away from humidity.
The EKI-135/1352 provides an impressive list of features and functions enabling mul-
tiple industrial devices to be connected, controlled, configured, managed, and
updated over a network. With serial ports and 802.11b/g wireless LAN, the EKI-1351/
1352 can easily connects multiple serial devices to a network.
Chapter 1
Expand up 255 serial ports for one Windows 2000/XP/Vista (x86) host
Link any serial device to an IEEE 802.11 b/g network
Supports wireless LAN Ad-Hoc and Infrastructure modes
Supports high transmission speed up to 921.6 kbps
Supports various operation mode: COM port redirection (Virtual COM), TCP
server/client, UDP mode, and Pair Connection
Supports LED indicators: easy to diagnose
Supports integrated Configuration Utility and Port-Mapping Utility: easy to config-
Overview
ure and manage 255 COM ports and self-diagnosis
Supports multi-access: allows a max. of 5 hosts to access one serial port
A max of 4 hosts can be accessed in TCP client and command response mode
Mounts on DIN-rail, or panel easily
15 KV ESD protection for all signals
Supports DHCP protocol
1.3 Specifications
WLAN Interface
Standard Compliance: IEEE 802.11 b and IEEE 802.11g
Network Mode: Infrastructure, Ad-Hoc
Free Space Range: Outdoor 100m (external antenna with average gain: -2dBi)
Antenna Connector: Reverse SMA
Wireless Security: WEP 64-bit/128-bit data encryption
Serial Interface
Interface: RS-232/422/485, software selectable
No. of Ports:
– EKI-1351: 1
– EKI-1352: 2
Port Connector: DB9 male
Baud Rate: 50 bps to 921.6 Kbps
Parity: None, Even, Odd, Space, Mark
Data bits: 5, 6, 7, 8
Stop bits: 1, 1.5, 2
Flow control: RTS/CTS, XON/XOFF, DTR/DSR
Signals:
– RS-232: TxD, RxD, CTS, RTS, DTR, DSR, DCD, RI, GND
– RS-422: TxD+, TxD-, RxD+, RxD-, GND
– RS-485: Data+, Data-, GND
Protection: 15 KV ESD for all signals
General
LED indicators:
– System: Power, System Status
– WLAN: Signal Strength, Link/Active
– Serial: Tx, Rx
Power
Power input: 12 to 48 VDC x 2
Power connector: Terminal block
Power Consumption:
– EKI-1351: 3.5W
– EKI-1352: 4W
Environmental
Operation Temperature: 0 to 50°C (32 to 122°F)
Storage Temperature: -20 to 80°C (-4 to 176°F)
Operating Humidity: 5 to 95% RH
Regulatory Approvals
EMC: CE, FCC Part 15 Subpart B (Class A)
Safety: UL (UL60950-1), Class 1, Div II (pending)
After the simple installation steps to attach your network and serial device to the
appropriate connectors on the serial device servers and driver installation, you will
then be able to communicate with the serial devices via its own application software
and with the EKI serial device server. COM port redirector, TCP server mode, TCP
client mode, UDP server mode, UDP client mode and Control mode are all different
schemes to make a serial connection across using one or more Serial device server.
EKI-1351/1352 has 802.11b/g transceiver in addition to its serial and Ethernet ports.
Each serial port is connected to the serial communication port of a device. The wire-
less transceiver connects to another wireless device or to an Access Point (AP).
Chapter 2
Advantech Serial Device Server Configuration Utility is a serial COM port redirector
that creates virtual COM ports and provides access to serial device connected to
Advantech serial device server. You can configure the serial device server and
enable the Virtual COM port using one integrated utility. Advantech Serial Device
Server Configuration Utility allows you to configure Microsoft applications to
communicate with network enabled serial device servers as easily as if they were
physically installed in or directly connected on the PC.
The Advantech redirector can create up to 255 virtual COM ports. Application on the
Getting Started
host can open virtual COM port to access the serial device servers at the same time.
The redirector will handle each active virtual COM port as a separate TCP
connection to Advantech serial device servers.
If you want to run more than one applications to use a serial device, you can employ
EKI serial device servers that provide a virtual COM port for a host or multi-hosts on
an Ethernet network. EKI serial device server is located between hosts and serial
devices. Each serial port on the EKI serial device server can allow max. of five host
connections through 802.11b or 802.11g WLAN. There are two major operation
modes for Multi-Access Mode. First one is broadcast mode; EKI serial device server
handles a command from one application and replies the data from the serial port to
all applications that are connecting this serial port. Another one is polling mode; EKI
serial device server handles the command from one application and reply to this
application only. Query from other applications must be queued and wait for current
process completing.
By using a serial derive server to share serial device, you eliminate the separate
serial lines and serial devices that can be attached to individual hosts. Collecting the
data from these serial devices become more easily and more effectively.
Chapter 2
In TCP server mode, you might initiate the TCP connection from host to EKI serial
device server. This operation mode support max. five simultaneous connections for
each serial port on EKI serial device server from one host or several hosts, however
multi-hosts collect the data from one serial port at the same time
Getting Started
Figure 2.4 TCP Server Mode
The controlling mode provides three kinds of modem AT-style commands. The serial
devices can use these commands to control EKI-1351/1352 connecting or discon-
necting to remote networking devices. Thus intelligent serial devices such as stand-
alone PLC will send /receive data to/from devices one by one via Ethernet.
Chapter 2
In this section, we will give you an overview of EKI-1351/1352 hardware and
installation.
Getting Started
Table 2.1: EKI-1351/1352 LED Indicators
LED Name LED Color LED Description
P1 Green Power 1 is on.
Off Power 1 is off, or power error condition exists.
P2 Green Power 2 is on.
Off Power 2 is off, or power error condition exists.
Status Orange Blinking: System is ready.
Steady on: The device server has been located by utility’s
location function.
Off System is not working.
WLAN Off 0~25% WLAN signal strength.
Signal Green (One) 25~50% WLAN signal strength.
Strength
Green (Two) 50~75% WLAN signal strength.
Green (Three) 75~100% WLAN signal strength.
Fail Off WLAN module OK.
Orange WLAN module failure.
Link/Active Off There is no link between EKI and wireless AP.
Green Steady on: Has good link to wireless AP.
Blinking: WLAN port is transmitting or receiving data.
Serial Orange Serial port is transmitting data.
Green Serial port is receiving data.
Off No data is transmitted or received through the serial port.
Chapter 2
You can mount the EKI-1351/1352 on a standard DIN rail. The DIN-rail kit is screwed
on the serial device server when out of factory. If the DIN-rail kit is not screwed on the
serial device server, please screw the DIN-rail kit on the serial device server first.
First, hang the EKI-1351/1352 to the DIN-rail with angle of inclination. See below.
Getting Started
Figure 2.12 DIN-rail Step 1
Then, let the device down straight to slide over the rail smoothly.
Getting Started
point and connect to the Ethernet network first. Then build up the connection
between the access point and the EKI-1351 and EKI-1352 (Refer to Appendix A
"Quick Start"). While the host PC can not connect to EKI-1351 and EKI-1352, you
might switch the EKI-1351/1352 as Diag. (Diagnostic) mode.
After the connection is ready, you can follow the steps shown in chapter 3 to config-
ure and virtual COM port mapping through network and access point.
You can check the signal access strength with the WLAN signal strength LED
indicators. Adjust the antenna of the EKI serial device server to optimize
communication quality.
Note! Be sure Microsoft .NET Framework on host PC is greater than version 2.0.
1. Insert the Advantech IEDG SERIES DRIVER UTILITY CD-ROM into the CD-
ROM drive (e.g. D:\) on the host PC.
2. Use Windows Explorer or the Windows Run command to execute the
Configuration Utility setup program. If your CD-ROM is D:\, the path for the
setup program will be: D:\ Utility&Driver\Serial Device Server Configuration Util-
ity\Serial_Device_Server_Configuration_Utility_[Version]_Release_[ReleaseDa
te].exe
3. Upon executing the setup program, the welcome dialogue window will be pop-
up. Press the “Next” button to continue the process.
There are four major areas in this new serial device server configuration utility.
1. Device Server List Area: All devices will be searched and listed in this area. You
can arrange different favorite group and virtual COM ports.
2. Device Server Information Area: Click on the serial device server or move cur-
sor to the serial device server, the related information will be shown on this area.
3. Configuration Area: Click on the item on the Device Server List Area, the config-
uration page will display on the area.
4. Quick Tool Area: Useful management functions shortcut.
Chapter 3
3.2.1 Auto Searching
Advantech Serial Device Server Configuration Utility will automatically search all the
EKI, ADAM and EDG series device servers on the network and show them on the
Device Server List Area of the utility. The utility provides an auto-search function to
show your device(s) by simply executing the configuration utility program from the
Start Menu as follows: Start Menu --> All Program --> Advantech eAutomation -->
Serial Device Server Configuration Utility
Configuration
From here all device on the same network domain will be searched and display on
Device Server List Area. You can click on the device name to show the features of
the specific device. Click on the "+" before the model name, and the utility will expand
the tree structure to show the individual device name. Click on the “-“ before the
model name, and the utility will collapse the tree structure.
Note When you run the Configuration Utility for the first time, the default
device name is "MAC ID". In this case, the device name "EKI-1352-
A6E63C" means the device "MAC ID" is "00 D0 C9 A6 E6 3C". You can
change the default device name in System Tab of Device Properties.
Select the device in this sub-tree. The first tab on the “Configuration Area” shows the
summary of “Basic Information” included device Type, version, and name, “Ethernet
Information”, and “Serial Port Information”. In the serial port information frame, it dis-
plays the operation mode, status and connected host IP.
Click on each item, you will entry the configuration page to change the setting. The
configuration will be introduced on following sections.
You can click the button on the “Quick Tool Area”; utility will clear all list
device servers in the Device Server List Area and re-search again. Don’t use this
function frequently. The warning message will be pop-up when you double click this
button.
You can click the button on the “Quick Tool Area”; utility will search serial
device server on local LAN.
MAC address:
The MAC address is for the local system to identify and locate each serial device
servers. This MAC address is already set before delivery from factory, hence no need
for further configuration.
Static IP
User defined IP address, Subnet Mask, and Default Gateway.
DHCP + Auto-IP
DHCP Server assigned IP address, Subnet Mask, Default Gateway, and DNS.
Note! When you have finished the configuration of these settings for each cat-
egory, please press the “Apply” button in order to make these settings
effective on the Serial Device Server. (Will reboot your Serial Device
Server immediately)
Chapter 3
3.3.1.1 Wireless Basic Information
Configuration
l Firmware Version: Here is the firmware version of the wireless module embed-
ded in the EKI-1531 and EKI-1352. The wireless module firmware might affect
the wireless connection. Write down the version number and provide to our cus-
tomer service if you have wireless connection problems.
l MAC Address: The MAC address is for the local system to identify and locate
each serial device servers. This MAC address is already set before delivery
from factory, hence no need for further configuration.
l SSID: The SSID (Service Set Identity) identifies a specific wireless LAN. Before
associating with a particular wireless LAN, a station must have the same SSID
as its access point. This field shows the AP that the EKI-1351 or EKI-1352 is
connecting. That means the user must set the specific access point’s SSID in
infrastructure networks, or set the same SSID in ad hoc networks.
l BSSID: Normally, it should be the MAC Address of Access Point.
l Mode: There are two kinds of basic service set (BSS) in this drop-down menu.
l SSID: You can input the AP SSID here. If you doesn’t know which access point
is the most appropriate one, just set ”ANY” for an automatic search.
l Authentication Type: There are three kinds of types in this drop-down menu.
l Encryption: If the system needs WEP encryption, the user has to set the key
type. There are two kinds of encryption keys: 64 bits and 128 bits. For an open
system, the encryption function is disabled.
l Key Format: The table shows the allowed characters and length of the different
key index and key formats.
l Key Index: This lists the supported encryption keys that you can choose from
l Key Value: You can set up the key value in this index.
Chapter 3
RTS Threshold is the frame size above that an RTS/CTS handshake will be per-
formed before attempting to transmit. RTS/CTS ask for permission to transmit to
reduce collisions, but add considerable overhead. Disabling RTS/CTS can reduce
overhead and latency in WLANs where all stations are close together, but can
increase collisions and degrade performance in WLANs where stations are far apart
and unable to sense each other to avoid collisions. If you are experiencing excessive
collisions, you can try turning RTS/CTS on or (if already on) reduce RTS/CTS
Threshold on the affected stations.
Configuration
Fragmentation Threshold is the maximum length of the frame, beyond which payload
must be broken up into two or more frames. Collisions occur more often for long
frames because sending them occupies the channel for a longer period of time,
increasing the chance that another station will transmit and cause a collision. Reduc-
ing Fragmentation Threshold results in shorter frames that "busy" the channel for
shorter periods, reducing packet error rate and resulting retransmissions. However,
shorter frames also increase overhead, degrading maximum possible throughput, so
adjusting this parameter means striking a good balance between error rate and
throughput.
Type: The EKI-1351/1352 offers three kinds of serial protocols, RS-232, RS-422
and RS-485. You can use any of these three serial protocols according to your
requirements.
Baud Rate: The EKI-1351/1352 supports baud rate from 50 to 921.6Kbps. Total
throughput up to 1.2M bps
Parity: The EKI-1351/1352 provides five options: None, Odd, Even, Space, and
Mark.
Configuration
Flow Control: The EKI-1351/1352 provides four options: None, XOn/XOff, RTS/
CTS, and DTR/DSR.
Note When you have finished the configuration of these settings for each category,
please press the “Apply” button in order to make these settings effective on all
serial device servers. (Will restart your serial device server immediately)
EKI-1351/1352 comes with COM port redirector (virtual COM driver) that work with
Window NT/2000/XP/Vista(X86) systems. The driver establishes a transparent con-
nection between host and serial device by mapping the IP of Advantech serial device
server serial port to a local COM port on the host computer.
There are two kinds of Multi-access function. One is Normal mode; another is Round-
Robin mode.
Note This operating mode is suitable for the one major host send the command
and others hosts just listen the data from serial port. If two of connected hosts
send the command at the same time, it is possible that EKI serial device
server will not handle the command and will response the incorrect data.
Chapter 3
1352 will operate in “Round-Robin mode”. Each serial port supports up to five
simultaneous connections, so multiple hosts can transmit/receive data to/from
the same serial port simultaneously. Every host can transmit data to the same
serial port simultaneously, but EKI serial device server will process the data
communication in order. EKI-1351/1352 will process the first host’s request and
reply the response to the first host. If EKI serial device server receives nothing
from serial port after a period of time set by user in "Response Timeout" block,
the device server will reply the acknowledgement to the host and then process
the next host’s request. The cycle time will be increased when you increase
either the number of the connected hosts or the value of "Response Timeout".
Configuration
Frame Break is a very import parameter for Round Robin mode. This parameter
is a smart way to reduce inefficient waiting time and EKI-1351/1352 can transmit
data more efficiently. Disabling the Frame Break function, EKI-1351/1352 will
wait for data until "Response Timeout" setting time is reached. During this
period, the commands from hosts will be queued and EKI-1351/1352 just
processes this command. Enabling “Frame Break”, if the serial port idle is longer
than the “Frame Break” period, EKI-1351/1352 will assume the communication
is completed and continue the next host’s query. This is an efficient way to
reduce the waiting time and improve the performance.
Chapter 3
The EKI-1351/1352 serial device server provides the advanced settings for some
special applications which need critical time requirements. In normal applications,
these settings are recommended not to be set to avoid the unusual action happened.
Configuration
Delay Time (ms)
When you enable the delay time, the serial port will postpone the received data for
the time interval you set, and then send the received data to the TCP/IP network.
Ignore Purge
Some application program will purge the serial port while it is the first time opens this
serial port. You can ignore the purge command by enable this option.
Note! These settings are just for some special application cases. We recom-
mend do not enable the advanced settings in normal usage.
Chapter 3
Configuration
Advantech Serial Device Server Configuration Utility provides an excellent function to
monitor the serial port status. Users can check the status of the serial ports.
Refresh
Update port status manually when you click “Refresh” button.
Auto Refresh
You can set up the scanning period you want to auto refresh the port status. The
default interval is 1000ms. When you click “Auto Refresh” button, it will start
updating the port status periodically upon the set interval until you click the
"Stop" button.
Chapter 3
The configuration utility provides Lock Device function (password protection), when
you use this function you need to fill in a set of password. Then, other host computers
will no longer to configure this device server. Notice that you need to "Reset Device"
in order to store password into the device server.
Configuration
If you want to unlock the device server, right click on the device name and select the
“Unlock Device”. You need to fill in the password you have set before to unlock the
device server. If you forgot the password, the only way to solve this problem is to
restore the setting of device server to factory default which will be introduced later.
If you want to disable the password protection, you need to change password to
default "None" (leave the new password dialogue box blank and press "OK". Please
remember to reset the device server to save the setting.
Then, please power off the device server within ten seconds, after reconnecting the
power back, the setting will be reset to the factory default. If the power remains more
than ten seconds, the device server will not have any change.
1. Right click on the device name and select the “Update Firmware” function.
Chapter 3
Configuration
3. After downloading the firmware completely, click on the “OK” button. The serial
device server will restart automatically.
The serial ports that can be assigned to virtual COM will be shown in this window.
Select the serial ports you wish to map or click the <Select All> button and press
<Map Selected Ports> button. The selected serial ports will be mapped to virtual
COM ports in sequential order.
ADAM series, EDG series, and EKI wireless series have only one IP address. You
can select the serial port on the device server and the host COM that you want to set.
Press <Map it> to establish the virtual COM port on the host.
Chapter 4
Sometimes, the connection between Advantech serial device server and HOST is
interrupted by network traffic or powered-off by accident. In such a situation, the host
has to reconnect to Advantech serial device server. The function "Auto Reconnect" is
for this purpose, if the Advantech serial server loses the connection to its host, the
COM redirector will try to re-establish the connection while the host’s AP access the
virtual COM port. The COM redirector DOES NOT re-establish the connection auto-
matically. When the connection is working again, the host's commands will be auto-
matically received by the Advantech serial device server again. Reconfiguration is
not necessary, so this function enhances the reliability of the system.
EKI-1351/1352 has two Ethernet ports. You can select two Ethernet port to establish
two Ethernet connections with one virtual COM port. It means that COM redirector
will use one connection with the COM port on device server to communicate. If this
connection failed, COM redirector will establish another Ethernet connection to
communicate with device. The switch time will be 3 seconds ~ 5 seconds depending
on the network traffic and host status.
If you don’t use the redundant function, you just select the correct IP address in the
IP address 1 field.
Note If you set the wrong IP address, COM redirector will still try to connect the
device. It might cause the system performance low or other issue.
Click the button on the Quick Took area, you can add a target by selecting
the Device Type and inputting the IP address without physically connecting the serial
device server to the network.
Individually Remove
Right click on COM port you have mapped and select “Remove This Port”.
If the test is selected, an external test will be done to check that the connection
signals for each port are working properly. For the test, you will need to connect
each port to a loopback tester (provided in the package). The loopback test
only applies to RS-232 mode. The test is divided into two parts: Signal test and
Communication Parameters test.
Note Before you do this diagnostic test, you must complete the process of virtual
COM port mapping.
Signal Test
RTS -> CTS check the RTS and CTS signal between two ports
DTR -> RI check the DTR and RI signal between two ports
DTR -> DSR check the DTR and DSR signal between two ports
DTR -> DCD check the DTR and DCD signal between two ports
When the test is finish, it will show the test result, the click “Exit” button to return to
the utility window.
Note! Before using the web-based configuration, make sure your host PC
Ethernet network IP domain is as same as the serial device server, or it
can establish the TCP connection with the serial device server.
Web-Based Configuration
configuration. For more detailed information for setting, please refer to chapter 3.4
and chapter 3.5.
If you have set a password via the configuration utility or Telnet or serial console,
when you access the web configuration, you need to key in the password. Do not
need to enter the username in the dialog.
If you want to disable the password protection, just change the password to the
default “None” (leave the new password column blank), Be sure to press the “Save”
button and reboot the serial device server to make the change effective.
8. Power off EKI-1351/1352, adjust the switch to Normal Mode, and then reboot it
to finish the wireless connection. Now you can configure and set up port
mapping though the access point.