User Manual EKI-1351/1352 1/2-port RS-232/422/485 to 802.
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.
Declaration of Conformity CE 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 enclosure products.
6. Put this equipment on a reliable surface during installation. Dropping it or letting it fall may cause damage. 7. The openings on the enclosure are for air convection. Protect the equipment from overheating. DO NOT COVER THE OPENINGS. 8. Make sure the voltage of the power source is correct before connecting the equipment to the power outlet. 9. Position the power cord so that people cannot step on it. Do not place anything over the power cord. 10.
Contents Chapter Chapter 1 Overview...............................................1 1.1 1.2 1.3 1.4 Introduction ............................................................................................... 2 Features .................................................................................................... 3 Specifications ............................................................................................ 3 Package Check List .......................................................
3.3 3.4 3.5 3.6 Chapter Network Settings..................................................................................... 27 3.3.1 Wireless Basics .......................................................................... 29 3.3.2 Wireless Authentication .............................................................. 32 3.3.3 Wireless Advanced ..................................................................... 34 Serial Settings.......................................................................
Chapter 1 Overview 1
1.1 Introduction Advantech's EKI-1300 series of Industrial Device Servers are a robust, feature-rich, and cost effective way to network-enable equipment in an industrial automation environment. The EKI-1351/1352 provides one or two serial ports, 802.11b/g wireless LAN interface to connect any RS-232/422/485 devices to wireless LAN.
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.
Software Utility: Advantech Serial Device Server Configuration Utility Driver support: Windows 2000/XP/Vista(x86) Operation Mode: – COM port redirection (Virtual COM) – TCP/UDP server (polling) mode – TCP/UDP client (event handling) mode – Pair connection mode Configuration: Web interface, Windows utility Protocol: ICMP, IP, TCP, UDP, BOOTP, DHCP, Auto IP, HTTP, DNS, ARP General LED indicators: – System: Power, System Status – WLAN: Signal Strength, Link/Active – Serial: Tx, Rx Power Power inp
Chapter 2 Getting Started 2
2.1 Understanding EKI-1351/1352 The EKI-1351/1352 is network-based, serial device server for connecting RS-232/422/485 devices, such as CNCs, PLCs, scales, and scanners, directly to a TCP/IP network. Once connected through EKI-1351/1352, serial device will be able to send and receive data on a network like any other network device. It extends traditional COM ports of a PC with access over a TCP/IP network. Through networking, you can control monitor remote serial devices either over a LAN or over the WAN.
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.
2.1.2.2 Multi-Access Mode (Shared COM port mode) Most of serial devices are connected directly and physically to the PC serial ports via a cable. The operation system, ex. Windows XP, provides the COM ports that user’s application can access, and control the serial device through the serial cable. This means that the serial device can be connected to one host and only one application on this host can handle input, output and control operation on this device.
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 Chapter 2 2.1.3 TCP Server Mode Getting Started Figure 2.4 TCP Server Mode 2.1.4 TCP Client Mode In TCP Client mode, the TCP connection will be established from EKI serial device server.
2.1.5 Serial Tunneling Mode Two native serial devices can communicate over an Ethernet network without any intermediate host PC and software programming. Serial Tunneling is very simple to use. You can use Advantech Serial Device Server Configuration Utility to designate one serial port as the tunneling master and another serial device server port as the tunneling slave. Figure 2.6 Serial Tunneling Mode 2.1.6 UDP Server/Client Mode UDP is used primarily for broadcasting messages over a network.
In this section, we will give you an overview of EKI-1351/1352 hardware and installation. 2.2.1 LED Indicators There are LEDs display the power status, network status, and serial communication status located on the front panel of EKI-1351 and EKI-1352, each of them has its own specific meaning as below. LED Name LED Color LED Description P1 Green Power 1 is on. Off Power 1 is off, or power error condition exists. Green Power 2 is on. Off Power 2 is off, or power error condition exists.
2.2.2 Dimensions (Units: mm) 2.2.2.1 EKI-1351 and EKI-1352 Figure 2.7 Front View of EKI-1351/1352 Figure 2.
Chapter 2 Getting Started Figure 2.9 Back View of EKI-1351/1352 Figure 2.
2.3 Connecting Hardware Next, we will explain how to find a proper location for your EKI-1351/1352, and then explain how to connect to the network, hook up the power cable, and connect to the EKI-1351/1352 serial port. 2.3.1 Choosing the Location Due to its versatility and innovative design, EKI serial device server can be: Fixed to a panel mount Fixed to a DIN-rail. 2.3.2 Panel/Wall Mounting The EKI-1351/1352 can be attached to a wall using the included metal brackets.
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. Chapter 2 2.3.3 DIN-rail Mounting Getting Started Figure 2.12 DIN-rail Step 1 Then, let the device down straight to slide over the rail smoothly. Figure 2.
2.3.4 Switch Settings Normal Mode (Normal) In normal use, you should move the switch to Normal Mode (Normal), and use the configuration utility to configure EKI-1351/1352 for different BSS --- Infrastructure mode or Ad hoc mode. Diagnostic Mode (Diag.) If your network connection is broken or you forgot your WLAN serial device server settings, or you forgot the WEP key, you can move the switch to Diagnostic Mode (Diag) to rebuild the settings and connection.
Please refer to Appendix A “Quick Start” if setting or resetting the wireless connection 2.3.5 Wireless Connection Set the switch of EKI-1351/1352 to Normal mode, then power on. Wait for 10 to 20 seconds until the signal quality is stable. Adjust the switch to Diag. mode, and then wait for about 5 seconds until the signal strength LED is blinking. Return the switch to Normal mode, EKI-1351/1352 will reboot automatically with diagnostic infrastructure mode.
2.3.7 Serial Connection EKI-1351/1352 provides one or two ports DB9 (male) connectors. RS-232/422/485 pin assignments as below: Table 2.3: EKI-1351/1352 Serial Pin Assignments Pin 1 2 3 4 5 6 7 8 9 RS-232 DCD RX TX DTR GND DSR RTS CTS RI RS-422 TX- - - TX+ GND - RX+ - RX- RS-485 DATA- - - DATA+ GND - - - - 2.
Chapter 2 Carefully read the Software License Agreement, and press “Yes” to continue the process. 5. The setup program will specify a default installation path: C:\Program Files\Advantech eAutomation\Serial Device Server Configuration Utility\, press “Install” button to continue the process. 19 EKI-1351/1352 User Manual Getting Started 4.
6. After setup program has copied all program files to your computer, press “Finish” button for completing the installation process.
Chapter 3 Configuration 3
3.1 Configuration Utility Overview EKI-1351/1352 provides an easy-to-use configuration utility to configure your serial device server through an Ethernet connection. For secure administration, it can also restrict the access rights for configuration to only one host PC to enhance network security. With this secure function enabled, other PCs will not have permission for configuration.
3.2.1 Auto Searching 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.
Click on the “+” before the device name, and the utility will expand the interfaces on this device server. Click on each item, you will entry the configuration page to change the setting. The configuration will be introduced on following sections.
Chapter 3 Configuration 25 EKI-1351/1352 User Manual
3.2.2 Clear Device List and Search Again 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. 3.2.
Chapter 3 Configuration 3.3 Network Settings This section explains how to configure the EKI-1351/1352 series network using this utility so that it can communicate over a network with serial devices. Click on the “+” before the model name (e.g. EKI-1352), and the utility will expand the tree structure to show the individual device name. And click on the “+” before the device name, and the utility will expand the interfaces on this device server. Select the Ethernet interface.
IP address, Subnet Mask, Default Gateway: You can choose from four possible IP Configuration modes --- Static or DHCP. 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 category, please press the “Apply” button in order to make these settings effective on the Serial Device Server.
Chapter 3 3.3.1 Wireless Basics 3.3.1.1 Wireless Basic Information l Firmware Version: Here is the firmware version of the wireless module embedded 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 customer service if you have wireless connection problems. MAC Address: The MAC address is for the local system to identify and locate each serial device servers.
3.3.1.3 Wireless Basic Settings l Region: Set the region. Each region has its default channel range. When you choose a specific region, the optional channel range and numbers in the below drop-down menu will be changed automatically. l Mode: There are two kinds of basic service set (BSS) in this drop-down menu. l l 802.11b/g Infrastructure mode : For infrastructure BSS usage, you should set up the SSID of the specific access point (AP). Or just choose .ANY.
Chapter 3 Data Rate: The data transmission rate is determined by the device and access point. If there is a restriction for the device or AP, a fixed data rate has to be chosen. Otherwise, we suggest the “Automatic” choice. 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. 3.3.1.
3.3.2 Wireless Authentication EKI-1351 and EKI-1352 now support WEP (Wired Equivalent Privacy) encryption operation mode. WEP is a kind of standard to encrypt the data frame. We will enhance other encryption mode in future. l Authentication Type: There are three kinds of types in this drop-down menu. l l l Open System: No encryption for network communication. You can neglect the key setting on the right side. WEP Share Key: Both communication devices use the same key as encryption.
Chapter 3 Hexadecimal 64 bits Up to 5 random characters on the keyboard Up to 10 random hexadecimal characters (0 ~ 9, a ~ f) 128bits Up to 13 random characters on the keyboard Up to 26 random hexadecimal characters (0 ~ 9, a ~ f) 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.
3.3.3 Wireless Advanced The tab identifies several parameters that are related to the 802.11b/g wireless network. We strongly suggested the default settings are not changed unless necessary. If you want to recovery to factory value, you click the “Reset to factory default value”. Parameters Default Value Range Beacon Interval 100 0~65535 RTS Threshold 2347 0~2347 Fragment Threshold 2346 256~2346 Preamble Long Long/Short 3.3.3.
3.3.3.2 RTS Threshold RTS Threshold is the frame size above that an RTS/CTS handshake will be performed 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.
3.4.1 Setting Serial Port Parameters Description: You can give a more detailed description on the function of the port for easier management and maintenance. Descriptions have a limit of 128 characters. 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.
Chapter 3 Stop Bits: The EKI-1351/1352 provides three options: 1, 1.5 and 2. 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) 3.4.
Host Idle Timeout (10~255 seconds): The "Host Idle Timeout" setting monitors the connection between the host and the device. If the "Host Idle Timeout" setting time is reached, the device server will release the resources allocated to the port mapping. This prevents a stalled host from affecting the connectived device. Note The default value of "Host Idle Timeout" is 255 seconds. EKI-1351/1352 provides Multi-access function through 802.11b or 802.11g WLAN.
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.
Mode: There are two kinds of operation modes: Data Mode and Control Mode. To use TCP server operating mode correctly, you have to select Data Mode. Data Listen Port: The TCP (UDP) port number represents the source port number, and the number is used to identify the channel for remote initiating connections. Range: 1024-65533. If an unknown caller wants to connect to the system and asks for some services, they need to define the TCP (UDP) port to carry a long-term conversation.
Chapter 3 Protocol: TCP and UDP. Enable Time sharing: This function is the same with the Multi-Access function. Please refer to the virtual COM operating mode setting. Peers to Receiving Data: You can set maximum 4 network devices which you want to connect. You need to fill out the IP Address and Port of network devices which you want to connect. 3.4.4 Setting Control Operating Mode Parameters The “Control mode” is a very special operating mode.
Please refer to the TCP/UDP server operating mode to setup the Data Listen Port, Command Listen Port, and Data Idle Timeout. Hangup Character: The default character is “+”. After you have connected to another serial device via EKI-1351/1352, you may need to disconnect. Then you can use the command "+++" to disconnect. To do this leaves your keyboard idle (don't press any keys) for at least several seconds, then press "+" three times. You can set "Guard Time" to define the idle time.
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. Chapter 3 3.4.5 Advanced Setting 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.
3.5 Security Configuration 3.5.1 Accessible Function Allow any IP to access. If this function is enabled, any PC can access data from this serial device server. Specified IP which can access If you want to restrict access to certain PCs, you can list their IP addresses in this area. The limit is 32 PCs.
Chapter 3 3.5.2 Port Monitor 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.
3.6.1 Import/Export Serial Port Setting You can save or recover the configuration of serial port via .sps file format. 3.6.2 Locate Serial Device Once you use this function, the device sever you chose to locate, its “Status” LED will be lit until you click “Stop Locate” option.
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. 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".
3.6.5 Upgrading the Firmware Advantech continually upgrades its firmware to keep up with the ever-expanding world of computing. You can use the update firmware function in the utility to carry out the updating procedure. Please access Advantech’s Website at http:// www.advantech.com to download the latest version of the firmware. 1. Right click on the device name and select the “Update Firmware” function.
Select the firmware you want to update. 3. After downloading the firmware completely, click on the “OK” button. The serial device server will restart automatically. EKI-1351/1352 User Manual Configuration 49 Chapter 3 2.
EKI-1351/1352 User Manual 50
Chapter 4 Setting COM Redirector 4
4.1 Setting COM Redirector(Virtual COM port) Advantech COM port mapping software is a serial COM port redirector that creates virtual COM ports and provides access to serial devices connected to Advantech serial device servers. Your serial device applications can communicate with serial devices connected to Advantech serial device servers without software changes.
Chapter 4 53 EKI-1351/1352 User Manual Setting COM Redirector The COM ports in the “Virtual Com Ports” list are now available for use by Windows applications.
4.1.2 Manual Mapping Right click the serial device name on the sub-tree of Device Server List area and select the “Manual Mapping” function. 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
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.
4.1.3 Manual Direct Mapping Virtual COM Port 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. 4.1.4 Remove the Virtual COM Port If you want to remove the virtual COM port, you can remove them one by one or group remove ports. Individually Remove Right click on COM port you have mapped and select “Remove This Port”.
Chapter 4 The purpose of this test is to make sure the communication from host PC to EKI1351/1352 is OK. If there is still an error, you can check the communication from the EKI-1351/1352 to the devices. 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.
2. Select which COM port you want to run diagnostic test, and then press “Test” button to process the testing. 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 Communication Parameters Test Baud rate 50bps ~ 921.6kbps Data bit 5, 6, 7, 8 Stop bit 1, 1.
Chapter 5 Web-Based Configuration 5
5.1 Overview EKI-1351/1352 serial device server can be configured through a web interface. By using a standard web browser, the same procedure as with the Windows configuration utility can be used. In the browser’s address field, enter the IP Address of your EKI-1351/1352 serial device server. The default IP setting is 10.0.0.1, but you should use the IP which you have previously assigned for this device. Once the IP is entered, you will be presented with the following windows.
Chapter 5 Web-Based Configuration By Internet Browser 61 EKI-1351/1352 User Manual
5.3 System You can change the Device Name and Device Description on this page. 5.4 Network Configuration Click the Net Configuration, there are Net Mode, IP Address, Subnet Mask, and Default Gateway. Enter the corresponding values for your network environment. Remember press “Save” after fill in all values.
All new configurations will take effect after rebooting. The reboot function is located on the main menu of the Web Configuration. 5.5 Port Configuration 63 EKI-1351/1352 User Manual Web-Based Configuration There are Basic, Operation Mode, and Advanced Setting in the serial port configuration. For more detailed information for setting, please refer to chapter 3.4 and chapter 3.5.
5.6 Change Password You can change the serial device server password on here: 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.
Chapter 5 The configuration will take effect after clicking “Save” button. But all configurations will save to flash memory after this reboot step. Press the “Reboot” button and the system will give a reset response. It will take a few seconds to reconnect with the new values. 65 EKI-1351/1352 User Manual Web-Based Configuration 5.
EKI-1351/1352 User Manual 66
Appendix A Quick Start A
There are two ways to complete the wireless connection between an access point and EKI-1351/1352; via Diagnostic Ad hoc Mode or Diagnostic Infrastructure Mode. We recommend you use Ad hoc if your host PC is equipped with a wireless module. A.1 Diagnostic Ad hoc Mode (With wireless module) 1. 2. 3. Set the switch of EKI-1351/1352 to Diagnostic Mode, then power on. Wait for 10 to 20 seconds until the signal quality is stable.
Reset the Ethernet Basic settings and Wireless Basic settings as needed. (About these settings, please refer to section 3.3.1 and 3.3.2 of the manual) 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. A.2 Diagnostic Infrastructure Mode (Without wireless module) 1. 2. 3. 4. 5. 6. 7. Set the switch of EKI-1351/1352 to Normal Mode, then power on.
www.advantech.com Please verify specifications before quoting. This guide is intended for reference purposes only. All product specifications are subject to change without notice. No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd.