Advantech EKI-1521 User Manual

Advantech EKI-1521 User Manual

1/2/4-port rs-232/422/485 serial device servers
Hide thumbs Also See for EKI-1521:
Table of Contents

Advertisement

User Manual
EKI-1521/1522/1524
1/2/4-port RS-232/422/485 Serial
Device Servers

Advertisement

Table of Contents
loading

Summary of Contents for Advantech EKI-1521

  • Page 1 User Manual EKI-1521/1522/1524 1/2/4-port RS-232/422/485 Serial Device Servers...
  • Page 2 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.
  • Page 3: Declaration Of Conformity

    This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
  • Page 4 The sound pressure level at the operator's position according to IEC 704-1:1982 is no more than 70 dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
  • Page 5: Table Of Contents

    Table 2.1: EKI-1521/1522/1524 LED Indicators ......11 2.2.2 Dimensions (Units: mm).............. 12 Figure 2.7 Front View of EKI-1521/1522 ........12 Figure 2.8 Side View of EKI-1521/1522........12 Figure 2.9 Back View of EKI-1521/1522........13 Figure 2.10Top View of EKI-1521/1522........13 Figure 2.11Front View of EKI-1524 ..........
  • Page 6 Telnet Configuration......69 Overview ....................70 Telnet Console..................70 Command List..................71 Table 6.1: Console Command List ..........71 Appendix A Assignments....... 83 Pin Assignments ..................84 A.1.1 RS-232 Pin Assignments............84 A.1.2 RS-422/485 Pin Assignments............. 84 EKI-1521/1522/1524 User Manual...
  • Page 7: Chapter 1 Overview

    Chapter Overview...
  • Page 8: Introduction

    EKI-1521/1522/1524 can easily connects multiple serial devices to a net- work. The transmission speed of the EKI-1521/1522/1524 is up to 1.2M bps totally outstrip- ping the competition to meet the demand for high-speed exchange. Functionally transparent and efficient, the EKI-1521/1522/1524 is especially designed for remotely controlling and monitoring devices via the Internet.
  • Page 9: Features

    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, enhanced protection for RS-422/485 lines EKI-1521/1522/1524 User Manual...
  • Page 10: Package Check List

    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, Telnet console...
  • Page 11: Chapter 2 Getting Started

    Chapter Getting Started...
  • Page 12: Understanding Eki-1521/1522/1524

    LAN or over the WAN. Since the EKI-1521/1522/1524 is connected through a TCP/IP net- work, you might need to know some basic facts about networking in order to get the server hooked up correctly.
  • Page 13: Com Port Redirector (Virtual Com Port)

    PC. The Advantech redirector can create up to 255 virtual COM ports. Application on the host can open virtual COM port to access the serial device servers at the same time.
  • Page 14: Figure 2.3 Multi-Access Mode

    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. EKI-1521/1522/1524 User Manual...
  • Page 15: Tcp Server Mode

    In TCP Client mode, the TCP connection will be established from EKI serial device server. This operation mode supports max.16 simultaneous connections for each serial port on EKI-1521/1522/1524 to one host or several hosts. You should configure the IP address and TCP port number of the network hosts which the EKI serial device server connect to using Advantech Serial Device Server Configuration Utility.
  • Page 16: Serial Tunneling Mode

    UDP Server/Client Mode UDP is used primarily for broadcasting messages over a network. In the UDP server mode, EKI-1521/1522/1524 access max. 8 hosts’ UDP message. In the UDP client mode, EKI serial device servers transmit UDP message to max. 16 hosts simulta- neously.
  • Page 17: Hardware

    LED Indicators There are LEDs display the power status, network status, and serial communication status located on the front panel of EKI-1521, EKI-1522, and EKI-1524, each of them has its own specific meaning as below table. Table 2.1: EKI-1521/1522/1524 LED Indicators...
  • Page 18: Dimensions (Units: Mm)

    2.2.2 Dimensions (Units: mm) 2.2.2.1 EKI-1521 and EKI-1522 Figure 2.7 Front View of EKI-1521/1522 Figure 2.8 Side View of EKI-1521/1522 EKI-1521/1522/1524 User Manual...
  • Page 19: Figure 2.9 Back View Of Eki-1521/1522

    Figure 2.9 Back View of EKI-1521/1522 Figure 2.10 Top View of EKI-1521/1522 EKI-1521/1522/1524 User Manual...
  • Page 20: Figure 2.11Front View Of Eki-1524

    2.2.2.2 EKI-1524 Figure 2.11 Front View of EKI-1524 Figure 2.12 Side View of EKI-1524 EKI-1521/1522/1524 User Manual...
  • Page 21: Figure 2.13Back View Of Eki-1524

    Figure 2.14 Top View of EKI-1524 Connecting Hardware Next, we will explain how to find a proper location for your EKI-1521/1522/1524, and then explain how to connect to the network, hook up the power cable, and connect to the EKI-1521/1522/1524 serial port.
  • Page 22: Figure 2.15Combine The Metal Mounting Kit

    2.3.1.1 Panel/Wall Mounting The EKI-1521/1522/1524 can be attached to a wall using the included metal brack- ets. Each bracket comes with four screws; and then you can install the device firmly via the components, please see the figure as below.
  • Page 23: Figure 2.17Din-Rail Step 2

    2.3.2 Network Connection EKI-1521/1522/1524 has 2x RJ-45 that support connection to 10 Mbps Ethernet, or 100 Mbps Fast Ethernet, and half or full duplex operation. EKI-1521/1522/1524 can be connected to other hubs or switches through a twisted-pair straight through the cable or a crossover cable up to 100m long.
  • Page 24: Serial Connection

    DATA- DATA+ Installing the Configuration Utility The following section will show you how to install the Advantech serial device server configuration utility, a tool to set up and monitor the EKI-1500 serial device servers. Note! Be sure the Microsoft .NET Framework on your host PC is greater than version 2.0.
  • Page 25 Carefully read the Software License Agreement, and press "Yes" to continue. The Setup program will specify a default installation path: C:\Program Files\Advantech eAutomation\Serial Device Server Configuration Utility\ After setup has copied all program files to your computer, click the <Finish> but- ton to finish the installation.
  • Page 26 EKI-1521/1522/1524 User Manual...
  • Page 27: Chapter 3 Configuration

    Chapter Configuration...
  • Page 28: Configuration Utility Overview

    PC. With this secure func- tion enabled, other PCs will not have permission for configuration. After the installa- tion program on the Advantech IEDG Series Driver Utility CD-ROM is finished, the serial device servers will be ready for use and configure.
  • Page 29: Discovering Serial Device Servers

    3.2.1 Auto Searching Advantech Serial Device Server Configuration Utility will automatically search all the EKI-1000, ADAM-4570 and EDG-4500 series device servers on the network and show them on the Serial 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.
  • Page 30 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. EKI-1521/1522/1524 User Manual...
  • Page 31: Clear Device List And Search Again

    Serial 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 Bar”. The utility will search serial device server on local LAN. EKI-1521/1522/1524 User Manual...
  • Page 32: Manual Appending

    Using “Add IP address to Favorite” or “Search a Range of IP addresses” function, you are able to add one device or group of devices to “Favorites”. These devices can locate on local network domain or other network domain. EKI-1521/1522/1524 User Manual...
  • Page 33: Network Settings

    This MAC address is already set before delivery from factory, hence no need for further configuration. IP address, Subnet Mask, Default Gateway: You can choose from four possible IP Configuration modes --- Static, DHCP, BOOTP, and DHCP/BOOTP. Static IP User defined IP address, Subnet Mask, and Default Gateway. EKI-1521/1522/1524 User Manual...
  • Page 34: Serial Settings

    Click on the "+" before the model name (e.g. EKI-1524), 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 serial interface. EKI-1521/1522/1524 User Manual...
  • Page 35 The EKI-1500 serial device server supports baud rate from 50 to 921.6Kbps. While setting the baud rate, please note that the value should conform to the current trans- mission speeds of connected devices. Parity: The EKI-1500 serial device server provides five options: None, Odd, Even, Space, and Mark. EKI-1521/1522/1524 User Manual...
  • Page 36 Advanced Settings: The EKI-1500 serial device server provides the advanced settings for some special applications which need critical time requirements. In normal applications, these set- tings are recommended not to be set to avoid the unusual action happened. EKI-1521/1522/1524 User Manual...
  • Page 37 Enable this option will disable the multi-access function, thus the only one TCP con- nection is allowed on this serial port. Note! These settings are just for some special application cases. We recom- mend do not enable the advanced settings in normal usage. EKI-1521/1522/1524 User Manual...
  • Page 38: Operation Mode Settings

    Allow the maximum of 5 connections to open one serial port simultaneously. In the mode, all connection has to use the same serial setting. If one serial setting of these connections is different from others, the data communication may operate incorrectly. EKI-1521/1522/1524 User Manual...
  • Page 39: Data Mode (Usdg Mode)

    The EKI-1500 series allows most 5 host PCs accessing data simultaneously via poll- ing networking architecture. You can use it according to your application. If you want to access the EKI-1500 series, you must ascertain your application software supports standard networking application programming interface (API) such as: WinSock Socket. EKI-1521/1522/1524 User Manual...
  • Page 40 So, the command listen port can’t be set the same value. You can use ‘AT command’ to change the port setting via the command listen port. The Command Listen Port should be different from the Data Listen port. EKI-1521/1522/1524 User Manual...
  • Page 41 Enabling “Frame Break”, if the serial port idle is longer than the “Frame Break” period, the EKI-1500 series 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. EKI-1521/1522/1524 User Manual...
  • Page 42: Control Mode (Usdg Mode)

    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. Be sure that you have to press "+" over the idle time. Guard Time EKI-1521/1522/1524 User Manual...
  • Page 43: Table 3.1: At Command List

    IP address is ddd.ddd.ddd.ddd. <LF><CR> DISCONNECT Disconnect from other device <LF><CR> <LF><CR> ERROR <LF><CR> Incorrect commands <LF><CR> FAIL <LF><CR> If you issu an ATDT command and can not connect to the device, it will response “FAIL”. EKI-1521/1522/1524 User Manual...
  • Page 44: Accessible Ip Settings

    IP addresses in this area. The maximum is 32 PCs. Auto Warning Settings 3.7.1 Email Alert Consult your ISP or Network Administrator for the proper SMTP mail server settings. The auto warning functions may not work properly without proper settings. EKI-1521/1522/1524 User Manual...
  • Page 45: Snmp Trap

    Version; there are “SNMP v1” and “SNMP v2c” options. 3.7.3 System Event Cold Start This refers to starting the system from power off. When performing a cold start, the EKI-1500 series will send an e-mail, or send a SNMP trap after success rebooting. EKI-1521/1522/1524 User Manual...
  • Page 46: Serial Port Event

    1500 series will send an e-mail, or send a SNMP trap immediately. Ethernet 2 Down The Ethernet 2 port has link failure condition. When the Ethernet 2 links fail, the EKI- 1500 series will send an e-mail, or send a SNMP trap immediately. 3.7.4 Serial Port Event EKI-1521/1522/1524 User Manual...
  • Page 47: Port Monitor

    PC which is communicating with serial port will be list on the right window. Click “Refresh” button, the status will be refresh once. It will be auto refresh after click “Auto Refresh” and the time duration is depending on the setting (the default value is 1000ms). EKI-1521/1522/1524 User Manual...
  • Page 48: Administrator Settings

    Right click the mouse on the device name in the sub-tree of Serial Device Sever List Area, and select these administrator settings. 3.9.1 Import/Export Device Setting The utility allows importing or exporting the serial device server’s setting via the “.conf” file format. EKI-1521/1522/1524 User Manual...
  • Page 49: Import/Export Serial Port Setting

    The configuration utility provides the “Lock Device” function to make it more confiden- tial. You need to set up a password while the first time clicking “Lock Device”. Be sure to click “Reset Device” to restart the serial device server and store your setting pass- word into the memory. EKI-1521/1522/1524 User Manual...
  • Page 50 “None” (leave the new password and confirm new password columns blank) to disable this function or other password you want to change. Be sure to click “Reset Device” to restart the serial device sever and store the new password into the memory. EKI-1521/1522/1524 User Manual...
  • Page 51: Restore To Factory Default Settings

    Then, please power off the serial device server within ten seconds, after reconnect- ing the power back, the all setting will be reset to the factory default. If the power remains more than ten seconds, the serial device server will not have any changes. EKI-1521/1522/1524 User Manual...
  • Page 52: Update Firmware

    3.9.6 Update Firmware Advantech continually upgrades its firmware to keep up with the ever-expending world of computing. You can use the update firmware function in the utility to carry out the upgrade procedure. Please access Advantech’s website: http://www.advan- tech.com to download the latest version of the firmware. Before update the firmware, make sure that your host’s Network domain is as same as the serial device server or...
  • Page 53 Be sure that the host PC Ethernet network domain is as same as the EKI-1500 serial device server or the host PC can establish the TCP con- nection with the serial device server while doing the updating firmware process. EKI-1521/1522/1524 User Manual...
  • Page 54 EKI-1521/1522/1524 User Manual...
  • Page 55: Setting Com Redirector

    Chapter Setting COM Redirector...
  • Page 56: Setting Com Redirector (Virtual Com Port)

    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.
  • Page 57 The COM ports in the “Virtual Com Ports” listing are now available for use by Win- dows applications. EKI-1521/1522/1524 User Manual...
  • Page 58: Manual Mapping

    ADAM series, EDG series, and EKI wireless series have only one IP address. 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. EKI-1521/1522/1524 User Manual...
  • Page 59 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.
  • Page 60: Manual Direct Mapping Virtual Com Port

    Right click on COM port you have mapped and select “Remove This Port”. Group Remove Port Right click on Virtual Com Ports on Device Server List Area and select “Group Remove Port”, you can choose which ports you want to remove. EKI-1521/1522/1524 User Manual...
  • Page 61: Running Diagnostic Test

    The purpose of this test is to make sure the communication from host PC to EKI- 1521/1522/1524 is OK. If there is still an error, you can check the communication from the EKI-1521/1522/1524 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.
  • Page 62 Data bit 5, 6, 7, 8 Stop bit 1, 1.5, 2 Parity Odd, Even, None, Space, Mark When the test is finish, it will show the test result, the click “Exit” button to return to the utility window. EKI-1521/1522/1524 User Manual...
  • Page 63: Web-Based Configuration

    Chapter Web-Based Configuration...
  • Page 64: Overview

    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. Accessing the Web Page By configuration utility EKI-1521/1522/1524 User Manual...
  • Page 65 By Windows Internet Explorer EKI-1521/1522/1524 User Manual...
  • Page 66: System

    Click the Net Configuration and chose either Net 1 or Net 2, there are Net Mode, IP Address, Subnet Mask, Default Gateway and DNS. Enter the corresponding values for your network environment. Remember press “Save” after fill in all values. EKI-1521/1522/1524 User Manual...
  • Page 67: Port Configuration

    Web Configuration. Port 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. EKI-1521/1522/1524 User Manual...
  • Page 68: Monitor

    Monitor You can monitor the serial ports settings, statistic, and the connected IP address by click on Monitor function on the main menu. EKI-1521/1522/1524 User Manual...
  • Page 69: Auto Warning (Alarm)

    Auto Warning (Alarm) You can set the e-mail server and SNMP Trap server in the Setting page, and set the event type in the Event page. For more detailed information for Auto Warning function, please refer to chapter 3.7. EKI-1521/1522/1524 User Manual...
  • Page 70: Change Password

    Note! All new configurations will take effect after rebooting. The reboot func- tion is located on the main menu of the Web Configuration. Change Password You can change the serial device server password on here: EKI-1521/1522/1524 User Manual...
  • Page 71 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. EKI-1521/1522/1524 User Manual...
  • Page 72: Import/Export Device Settings

    Import/Export Device Settings You can Import or Export the serial device server all setting as the “.conf” file format. EKI-1521/1522/1524 User Manual...
  • Page 73: Reboot

    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. EKI-1521/1522/1524 User Manual...
  • Page 74 EKI-1521/1522/1524 User Manual...
  • Page 75: Telnet Configuration

    Chapter Telnet Configuration...
  • Page 76: Overview

    Input the IP address Confirm that the Telnet console configuration works ok. Be sure that your host PC Ethernet network IP domain is as same as the EKI-1500 serial device server, and the Telnet TCP port number is “23”. EKI-1521/1522/1524 User Manual...
  • Page 77: Command List

    Monitor the serial ports status alarm Show or configure the auto warning functions including mail alarm and SNMP alarm time Show or configure the time information service Enable or disable the web, Telnet and SNMP functions EKI-1521/1522/1524 User Manual...
  • Page 78 You might type the “help” command or press <Tab> twice to show the supported command list. [Usage] help [Function] Display help information of command list You might use “help” command to show the usage of all commands. [Usage] help [command] [Function] Show the usage of command EKI-1521/1522/1524 User Manual...
  • Page 79 [Function] Set current device name [XXXX: maximum length 31 bytes] [Usage] system desc XXXX [Function] Set current device description [XXXX: maximum length 127 bytes] Port “Port” is the command to show all serial ports information and configure the serial ports settings. EKI-1521/1522/1524 User Manual...
  • Page 80 [Usage] port nn or port all [Function] Show the “nn”th port or all ports information [Usage] port nn desc XXXX [Function] Set the “nn”th port’s description [XXXX: maximum length 127 bytes] EKI-1521/1522/1524 User Manual...
  • Page 81 Parity e: Even Parity o: Odd Parity m: Mark Parity s: Space [Usage] port nn|all mode vcom|ctrl|data [Function] Set the serial ports as virtual COM mode, control mode, or data mode mvcom Show and setup the VCOM mode EKI-1521/1522/1524 User Manual...
  • Page 82 [Function] Set the “nn”th or all serial ports as the Control mode [Usage] mctrl nn|all idleto XX guardt XX hangchr XX [Function] Set the “nn”th or all serial ports data idle timeout, guard time and hang character EKI-1521/1522/1524 User Manual...
  • Page 83 [Usage] mdata nn|all respto XX framebk XX [Function] Set the “nn”th or all serial ports response timeout and frame break [Usage] mdata nn|all peernum 1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16 peer XX.XX.XX.XX:ppp [Function] Set the peer IP address and port for receive data EKI-1521/1522/1524 User Manual...
  • Page 84 [Usage] net 1|2 ip XX.XX.XX.XX netmask XX.XX.XX.XX gw XX.XX.XX.XX [Function] Set IP address, subnet mask, and default gateway [Usage] net 1|2 dns auto|specific [Usage] net 1|2 dns1 XX.XX.XX.XX [Usage] net 1|2 dns2 XX.XX.XX.XX [Function] Set the DNS function EKI-1521/1522/1524 User Manual...
  • Page 85 [Function] Save the settings to the flash memory and reboot the system immediately exit [Usage] exit [Function] Terminate the shell session import/export [Usage] import [Function] Import the serial device server settings’ file [Usage] export [Function] Export the serial device server settings’ file EKI-1521/1522/1524 User Manual...
  • Page 86 Show the serial ports settings, statistic, and connected IP address [Usage] monitor port 1|2|…|16 setting [Function] Monitor the serial ports settings [Usage] monitor port 1|2|…|16 statistic [Function] Monitor the serial ports statistic [Usage] monitor port 1|2…|16 ip [Function] Monitor the serial ports connected IP address EKI-1521/1522/1524 User Manual...
  • Page 87 Show or configure the auto warning function For more detailed setting for auto warning, please refer to chapter 3.7 time Show or configure the time information EKI-1521/1522/1524 User Manual...
  • Page 88 Enable or disable some extra service [Usage] service web enable|disable [Function] Enable or disable the web-based configuration [Usage] service telnet enable|disable [Function] Enable or disable the telnet console [Usage] service SNMP enable|disable [Function] Enable or disable the SNMP function EKI-1521/1522/1524 User Manual...
  • Page 89: Appendix A Pin Assignments

    Appendix Pin Assignments...
  • Page 90: Pin Assignments

    Pin Assignments A.1.1 RS-232 Pin Assignments Pin # Description A.1.2 RS-422/485 Pin Assignments A.1.2.1 1. RS-422 Pin #. Description A.1.2.2 2. RS-485 Pin # Description Data- Data+ EKI-1521/1522/1524 User Manual...
  • Page 91 EKI-1521/1522/1524 User Manual...
  • Page 92 No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permis- sion of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2007...

This manual is also suitable for:

Eki-1524Eki-1522

Table of Contents