User Manual EKI-1361/EKI-1362 1/2-port RS-232/422/485 to 802.11b/g/n WLAN Serial Device Server Copyright The documentation and the software included with this product are copyrighted 2013 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. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements 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. Product Warranty (5 years) Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation. Advantech assumes no liability under the terms of this warranty as a consequence of such events. Because of Advantech's high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an Advantech product is defective, it will be repaired or replaced at no charge during the warranty period. For outof-warranty repairs, you will be billed according to the cost of replacement materials, service time and freight. Please consult your dealer for more details. If you think you have a defective product, follow these steps: 1. Collect all the information about the problem encountered. (For example, CPU speed, Advantech products used, other hardware and software used, etc.) Note anything abnormal and list any onscreen messages you get when the problem occurs. 2. Call your dealer and describe the problem. Please have your manual, product, and any helpful information readily available. 3. If your product is diagnosed as defective, obtain an RMA (return merchandize authorization) number from your dealer. This allows us to process your return more quickly. 4. Carefully pack the defective product, a fully-completed Repair and Replacement Order Card and a photocopy proof of purchase date (such as your sales receipt) in a shippable container. A product returned without proof of the purchase date is not eligible for warranty service. 5. Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer. Part No. 2009136100 Edition 1 Printed in Taiwan April 2014 EKI-1361/EKI-1362 User Manual ii 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. 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 installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment 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. Declaration of Conformity For Wireless Device This device complies with Industry Canada licence-exempt RSS standard(s).Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the device. For ITE Products Industry Canada - Class B This digital apparatus does not exceed the Class B limits for radio noise emissions from digital apparatus as set out in the interference-causing equipment standard entitled "Digital Apparatus", ICES-003 of Industry Canada. iii EKI-1361/EKI-1362 User Manual Technical Support and Assistance 1. 2. Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance. Please have the following information ready before you call: - Product name and serial number - Description of your peripheral attachments - Description of your software (operating system, version, application software, etc.) - A complete description of the problem - The exact wording of any error messages Safety Instructions 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Read these safety instructions carefully. Keep this User Manual for later reference. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible. Keep this equipment away from humidity. Put this equipment on a reliable surface during installation. Dropping it or letting it fall may cause damage. The openings on the enclosure are for air convection. Protect the equipment from overheating. DO NOT COVER THE OPENINGS. Make sure the voltage of the power source is correct before connecting the equipment to the power outlet. Position the power cord so that people cannot step on it. Do not place anything over the power cord. All cautions and warnings on the equipment should be noted. If the equipment is not used for a long time, disconnect it from the power source to avoid damage by transient overvoltage. Never pour any liquid into an opening. This may cause fire or electrical shock. Never open the equipment. For safety reasons, the equipment should be opened only by qualified service personnel. If one of the following situations arises, get the equipment checked by service personnel: - The power cord or plug is damaged. - Liquid has penetrated into the equipment. - The equipment has been exposed to moisture. - The equipment does not work well, or you cannot get it to work according to the user's manual. - The equipment has been dropped and damaged. - The equipment has obvious signs of breakage. DO NOT LEAVE THIS EQUIPMENT IN AN ENVIRONMENT WHERE THE STORAGE TEMPERATURE MAY GO BELOW -40 C (-40 F) OR ABOVE 80 C (140 F). THIS COULD DAMAGE THE EQUIPMENT. THE EQUIPMENT SHOULD BE IN A CONTROLLED ENVIRONMENT. EKI-1361/EKI-1362 User Manual iv 16. CAUTION: DANGER OF EXPLOSION IF BATTERY IS INCORRECTLY REPLACED. REPLACE ONLY WITH THE SAME OR EQUIVALENT TYPE RECOMMENDED BY THE MANUFACTURER, DISCARD USED BATTERIES ACCORDING TO THE MANUFACTURER'S INSTRUCTIONS. 17. 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. Safety Precaution - Static Electricity Follow these simple precautions to protect yourself from harm and the products from damage. To avoid electrical shock, always disconnect the power from your PC chassis before you work on it. Don't touch any components on the CPU card or other cards while the PC is on. Disconnect power before making any configuration changes. The sudden rush of power as you connect a jumper or install a card may damage sensitive electronic components. v EKI-1361/EKI-1362 User Manual EKI-1361/EKI-1362 User Manual vi Chapter Chapter 1 Overview...............................................1 1.1 1.2 1.3 1.4 Introduction ............................................................................................... 2 Features .................................................................................................... 3 Specifications ............................................................................................ 3 Package Check List .................................................................................. 5 2 Getting Started.....................................7 2.1 2.4 Understanding EKI-1361/EKI-1362........................................................... 8 2.1.1 Product Description....................................................................... 8 Figure 2.1 Dual Ethernet Connections......................................... 8 2.1.2 COM Port Redirector (Virtual COM Port)...................................... 9 Figure 2.2 COM Port Redirector .................................................. 9 Figure 2.3 Multi-Access Mode ................................................... 10 2.1.3 TCP Server Mode ....................................................................... 11 Figure 2.4 TCP Server Mode..................................................... 11 2.1.4 TCP Client Mode......................................................................... 11 Figure 2.5 TCP Client Mode ...................................................... 11 2.1.5 Serial Tunneling Mode ................................................................ 12 Figure 2.6 Serial Tunneling Mode.............................................. 12 2.1.6 UDP Server/Client Mode............................................................. 12 2.1.7 Control Mode .............................................................................. 12 Hardware................................................................................................. 13 2.2.1 LED Indicators ............................................................................ 13 Table 2.1: EKI-1361/1362 series LED Indicators ...................... 13 2.2.2 Dimensions (Units: mm).............................................................. 14 Figure 2.7 DIN-Rail Mount of EKI-1361 ..................................... 14 Figure 2.8 Wall Mount of EKI-1361............................................ 14 Figure 2.9 DIN-Rail Mount of EKI-1362 ..................................... 15 Figure 2.10Wall Mount of EKI-1362............................................ 15 Connecting Hardware ............................................................................. 16 2.3.1 Choosing the Location ................................................................ 16 Figure 2.11Combine the Metal Mounting Kit .............................. 16 Figure 2.12DIN-rail Step 2 .......................................................... 16 2.3.2 Wireless Connection ................................................................... 17 2.3.3 Network Connection.................................................................... 17 2.3.4 Power Connection....................................................................... 17 Figure 2.13Power Connector...................................................... 17 2.3.5 Serial Connection........................................................................ 18 Table 2.2: EKI-152X series Serial Pin Assignments.................. 18 Installing the Configuration Utility............................................................ 18 3 Configuration .....................................21 3.1 3.2 Configuration Utility Overview ................................................................. 22 Discovering Serial Device Servers.......................................................... 23 3.2.1 Auto Searching ........................................................................... 23 3.2.2 Clear Device List and Search Again ........................................... 25 3.2.3 Manual Appending ...................................................................... 25 Network Settings ..................................................................................... 26 Administrator Settings ............................................................................. 28 3.4.1 Locate the Serial Device Server ................................................. 28 3.4.2 Lock the Serial Device Server (Password Protection) ................ 28 3.4.3 Restore to Factory Default Settings ............................................ 30 3.4.4 Update Firmware ........................................................................ 31 2.2 2.3 Chapter 21 3.3 3.4 vii EKI-1361/EKI-1362 User Manual Chapter 4 Setting COM Redirector ................... 33 4.1 Setting COM Redirector (Virtual COM port)............................................ 34 4.1.1 Auto Mapping.............................................................................. 34 4.1.2 Manual Mapping ......................................................................... 36 4.1.3 Manual Direct Mapping Virtual COM Port................................... 38 4.1.4 Remove the Virtual COM Port .................................................... 38 5 Web-Based Configuration................ 41 5.1 5.2 5.3 5.4 5.5 5.6 5.9 5.10 5.11 Overview ................................................................................................. 42 Accessing the Web Page........................................................................ 42 System .................................................................................................... 43 Network Configuration ............................................................................ 44 Wireless Configuration............................................................................ 45 Port Configuration ................................................................................... 48 5.6.1 Basic Port Configuration ............................................................ 48 5.6.2 Operation Mode .......................................................................... 49 Monitor .................................................................................................... 56 Auto Warning (Alarm) ............................................................................. 57 5.8.1 E-mail Alert ................................................................................. 57 5.8.2 SNMP Trap ................................................................................. 58 5.8.3 System Event.............................................................................. 58 5.8.4 Serial Port Event......................................................................... 59 Change Password................................................................................... 59 Import/Export Device Settings ................................................................ 60 Reboot .................................................................................................... 61 6 Telnet Configuration......................... 63 6.1 6.2 6.3 Overview ................................................................................................. 64 Telnet Console........................................................................................ 64 Command List......................................................................................... 65 Table 6.1: Console Command List ............................................ 65 Appendix A Pin Assignments............................... 79 A.1 Pin Assignments ..................................................................................... 80 A.1.1 RS-232 Pin Assignments............................................................ 80 A.1.2 RS-422/485 Pin Assignments..................................................... 80 Chapter 41 5.7 5.8 Chapter 63 Appendix B B.1 List of Known TCP and UDP Port Numbers81 List of Known TCP and UDP Port Numbers ........................................... 82 EKI-1361/EKI-1362 User Manual viii 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-1361/1362 provides one or two serial ports, 802.11b/g/n wireless LAN interface to connect any RS-232/422/485 devices to wireless LAN. These wireless serial device servers provide serial-to-wireless network connectivity as an alternative to wired Ethernet connectivity and enable virtually any serial device or equipment to be remotely accessed, controlled, monitored, or shared on an 802.11b/ g/n wireless network. By encapsulating serial data and transporting it over Ethernet, the EKI-1361/1362 allows virtual serial links over Ethernet IP-based networks. After Advantech Serial Device Server Configuration Utility installed, standard serial operation calls with virtual COM port could be transparently redirected to the serial device servers, guaranteeing compatibility with legacy serial devices and enabling backward compatibility with existing software. EKI-1361/1362 also supports serial tunneling, allowing two native serial devices to communicate over a network without any hosts or programming. As a result, you can extend limited distance, point-to-point, direct serial connections within the plant, throughout the factory, the facility, the office building, or across the global enterprise. The EKI-1361/1362 provides an impressive list of features and functions enabling multiple industrial devices to be connected, controlled, configured, managed, and updated over a network. With serial ports and 802.11b/g/n wireless LAN, the EKI-1361/1362 easily connects multiple serial devices to a network. The transmission speed of the EKI-1361/1362 is up to 921.6 Kbps totally outstripping the competition to meet the demand for high-speed exchange. Functionally transparent and efficient, the EKI-1361/1362 is especially designed for remotely controlling and monitoring devices via the Internet. The EKI-1361/1362 provides roaming ability. EKI-1361/1362 can migrate from AP to AP during certain condition. In some field applications, the device can't use a fixed physical connection, such as AGV, transportation, and cross wide space communication. EKI-1361/1362 can easily installed to fulfill this requirement. With a compact size and lightweight design, the EKI-1361/1362 can be installed in moving vehicles without much extra wight. Types of supported devices: Human Machine Interface (HMI) Programmable Controller(PLC) Flow meters Temperature / pressure monitoring equipment Gas leak detection device Scales Power monitoring equipment Data Acquisition Modules The EKI-136X series provides various operation modes: COM port redirection (Virtual COM port), TCP/UDP server/client mode. Serial devices can be connected by means of multi-access modes. EKI-1361/EKI-1362 User Manual 2 1.3 Specifications WLAN Interface Standard Conformance: 802.11b, 802.11g, and 802.11n Network Modes: Infrastructure, Ad-Hoc Transmit Power: - 802.11b: +16 dBm (typical) - 802.11g: +16 dBm @ 6~36 Mbps, +11 dBm @ 54Mbps - 802.11n/HT20: +16 bBm @ MCS 0 ~ 3, +9 dBm @ MCS 7, +19dBm @ MCS 9, +11 dBm @ MCS 15 - 802.11n/HT40: +16 bBm @ MCS 0 ~ 3, +8 dBm @ MCS 7, +19dBm @ MCS 9, +11 dBm @ MCS 15 Receive Sensditivity: -82 dBm (Max.) Data Rate: - 802.11b: 1, 2, 5.5, and 11 Mbps - 802.11g: 6, 9, 12, 18, 24, 36, 48, and 54 Mbps - 802.11n: - 20 MHz Channel: 1Nss: 65 Mbps @ 800 GI, 72.2 Mbps @ 400 GI (Max.) 2Nss: 130 Mbps @ 800 GI, 144.4 Mbps @ 400 GI (Max.) - 40 MHz Channel: 1Nss: 135 Mbps @ 800 GI, 150 Mbps @ 400 GI (Max.) 2Nss: 270 Mbps @ 800 GI, 300 Mbps @ 400 GI (Max.) Transmission Distance: Up to 100 meters (in open areas with bundled external antenna) Wireless Security: - WEP: 64-bit/128-bit data encryption - WPA, WPA2, 802.11i: Enterprise mode and Pre-Share Key (PSK) mode - Encryption: EAP-TLS, EAP-TTLS, EAP-PEAP Antenna Connector: Reverse SMA 3 EKI-1361/EKI-1362 User Manual Overview Supports standard Wireless 802.11 b/g/n Supports MIMO 2x2 technology Expandable up 4096 serial ports for one single host Provides 10/100/1000 Mbps auto-sensing Ethernet ports for easy diagnostic Supports any baud rate setting from 50 bps up to 921.6 Kbps Supports various operation modes: COM port redirection (Virtual COM port), TCP server/client, UDP server/client, control mode and RFC-2217 mode Easy to diagnostic LED indicators Supports multi-access features: allows maximum 5 hosts to access one serial port simultaneously Allows a maximum of 16 peers in TCP/UDP client mode Mounts on DIN rail, wall, or panel easily Surge protection for RS-422/485 line and power supply SNMP MIB-II for network management Chapter 1 1.2 Features Bundle Externel Antenna Frequency Range: 2.4GHz ~ 2.5GHz Impedance: 50 Nominal VSWR: 1.92:1Max. Return Loss: 10dB Max. Radiation: Omni-directional Gain (Peak): 2dBi Polarization: Linear; Vertical Admitted Power: 1W LAN Ethernet: 10/100 Mbps auto sensing No. of Ports: 1 Port Connector: RJ45 Protection: Built-in 1.5 KV magnetic isolation Serial Interface Interface: RS-232/422/485, software selectable No. of Ports: - EKI-1361: 1 - EKI-1362: 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: XON/XOFF, RTS/CTS, 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 Software Utility: Advantech Serial Device Server Configuration Utility Driver support: Windows 2000/XP/Vista/7, Windows Server 2003/2008, Linux 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 Protocol: ICMP, IP, TCP, UDP, BOOTP, DHCP, Auto IP, Telnet, SNMP, HTTP, DNS, SMTP, ARP, NTP Management: SNMP MIB-II EKI-1361/EKI-1362 User Manual 4 Chapter 1 General LED indicators: - System: Power, System Status - WLAN: Signal Strength, Link - LAN: Speed, Link/Active - Serial: Tx, Rx Environmental Operation Temperature: -30 ~ 65C (-22 ~ 149F) Storage Temperature: -40 ~ 80C (-40 ~ 176F) Operating Humidity: 5 to 95% RH Regulatory Approvals ECM: CE, FCC Part 15 Subpart B (Class B) 1.4 Package Check List 1 x EKI-1361/1362 Serial Device Server Panel/Wall mounting bracket DIN-rail mounting kit CD-ROM for utility and user manual Optional Accessory: OPT1-DB9-AE D-sub 9 (female) to terminal block connector (for EKI-1000 series RS-422/485 use) 5 EKI-1361/EKI-1362 User Manual Overview Power Power input: 12 ~ 48 VDC, redundant dual inputs Power connector: Terminal block Power Consumption: - EKI-1361: 8W - EKI-1362: 9W Power Line Protection: 1 KV burst (EN61000-4-4), 0.5 KV surge (EN51000-4-5) EKI-1361/EKI-1362 User Manual 6 Chapter 2 Getting Started 2 2.1 Understanding EKI-1361/EKI-1362 The EKI-136X series are wireless-based, serial device servers for connecting RS-232/422/485 devices to a TCP/IP network. Once connected through EKI series, the 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 and monitor remote serial devices either over a LAN or over the WAN. Since the EKI series is connected through a TCP/IP network, you might need to know some basic facts about networking in order to get the server hooked up correctly. 2.1.1 Product Description The EKI series is designed to network-enable any RS-232/422/485 serial device and provide industry-grade hardware and easy-use software to make connecting serial devices to an Ethernet network a surprisingly simple process. These units immediately upgrade your existing serial devices for integration into the Internet world. The EKI series features a lot of powerful functions such as: high speed data transfer, access-control, auto-detection of all EKI series products, remote connection from different network domain, remote firmware download, and more. 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. Figure 2.1 Dual Ethernet Connections EKI-1361/EKI-1362 User Manual 8 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. Figure 2.2 COM Port Redirector 2.1.2.1 Normal Mode The Advantech redirector connects the Advantech serial device servers while an application open the COM port and disconnects from the Advantech serial device servers when the application closes the COM port. The redirector uses TCP network connections to the Advantech serial device server to gain the access to the connected serial devices. 9 EKI-1361/EKI-1362 User Manual Getting Started The Advantech redirector can create up to 4096 virtual COM ports. Application on the 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. Chapter 2 2.1.2 COM Port Redirector (Virtual COM Port) 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. 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. five host connections through one Ethernet port or two Ethernet ports. 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. 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-1361/EKI-1362 User Manual 10 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. This operation mode supports a maximum of 16 simultaneous connections for each serial port on EKI series 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. After configuration, when EKI serial device server receives the data from serial port, the device server will employ the connection to hosts which are configured. Figure 2.5 TCP Client Mode 11 EKI-1361/EKI-1362 User Manual 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 the UDP server mode, EKI series access max. 8 hosts' UDP message. In the UDP client mode, EKI serial device servers transmit UDP message to max. 16 hosts simultaneously. 2.1.7 Control Mode In controlling mode, the EKI serial device server presents a modem interface to the attached serial device: it accepts AT-style modem commands to connect / disconnect to other networking device. If you want serial device running application program to connect/disconnect to different devices by request, you can use controlling mode. The controlling mode provides three kinds of modem AT-style commands. The serial devices can use these commands to control EKI series connecting or disconnecting 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. EKI-1361/EKI-1362 User Manual 12 In this section, we will give you an overview of EKI-1361/EKI-1362 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-1361/EKI-1362, each of them has its own specific meaning as below table. LED Name LED Color PWR1 PWR2 Status LAN WLAN Signal Strength Serial Green LED Description 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. Status Blinking: System is ready. Steady on: The device server has been located by utility's location function. Off System is not working. Green Blinking: Ethernet port is transmitting or receiving data. Steady on: Ethernet has the good link for 10Mbps or 100Mbps operations. Off Ethernet is not working. Orange Steady on: WLAN link is ready Off WLAN is not working. Off 0~25% WLAN signal strength. Orange (One) 25~50% WLAN signal strength. Orange (Two) 50~75% WLAN signal strength. Orange (Three) 75~100% WLAN signal strength. Tx, Orange Serial port is transmitting data. Rx, Green Serial port is receiving data. Off No data is transmitted or received through the serial port. 13 EKI-1361/EKI-1362 User Manual Getting Started Table 2.1: EKI-1361/1362 series LED Indicators Chapter 2 2.2 Hardware 2.2.2 Dimensions (Units: mm) Figure 2.7 DIN-Rail Mount of EKI-1361 Figure 2.8 Wall Mount of EKI-1361 EKI-1361/EKI-1362 User Manual 14 Chapter 2 Getting Started Figure 2.9 DIN-Rail Mount of EKI-1362 Figure 2.10 Wall Mount of EKI-1362 15 EKI-1361/EKI-1362 User Manual 2.3 Connecting Hardware Next, we will explain how to find a proper location for your EKI series, and then explain how to connect to the network, hook up the power cable, and connect to the EKI series 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/wall mount Fixed to a DIN-rail 2.3.1.1 Panel/Wall Mounting The EKI-1361/EKI-1362 can be attached to a wall using the included metal brackets. Each bracket comes with 3 screws; and then you can install the device firmly via the components, please see the figure as below. Figure 2.11 Combine the Metal Mounting Kit 2.3.1.2 DIN Rail Mounting You can mount the EKI-152X series on a standard DIN-rail. Please screw the DIN-rail kit on the serial device server first. Figure 2.12 DIN-rail Step 2 EKI-1361/EKI-1362 User Manual 16 2.3.3 Network Connection EKI-1361/EKI-1362 has a RJ-45 Ethernet port that supports 10 Mbps Ethernet, or 100 Mbps Fast Ethernet, and half or full duplex operation. EKI-1361/EKI-1362 can be connected to other hubs or switches through a twisted-pair straight through the cable or a crossover cable up to 100m long. When use EKI-1361/EKI-1362 for first time, user can connect to device with Configuration Utility. Or you can set the host's ip address in the same domain with device. Then user can use popular browser to connect web interface EKI-1361/EKI-1362 built-in for advanced configuration. 2.3.4 Power Connection The EKI-1361/EKI-1362 supports dual 12 to 48 VDC power inputs and power-fail relay output. Figure 2.13 Power Connector You can connect an alarm indicator, buzzer or other signaling equipment through the relay output. The relay opens if power input 1 or 2 fails ("Open" means if you connect relay output with an LED, the light would be off). 17 EKI-1361/EKI-1362 User Manual Getting Started The EKI-1361/EKI-1362 operates in the 802.11b/g/n WLAN environment, which is created by an access point working with 802.11b/g/n protocols. When configuring EKI-1361/EKI-1362 in unknown status, user can use the Ethernet port and Configuration Utility to locate device easily. After found device in the Configuration Utility, user can configure the Ethernet and Wireless IP address to access web interface for advanced settings including serial port operation mode and wireless configurations. More detail description can be found in next chapters. 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. Chapter 2 2.3.2 Wireless Connection 2.3.5 Serial Connection EKI-1361/EKI-1362 provides 1 or 2 serial ports with DB9 (male) connectors. RS-232/ 422/485 pin assignments as below: Table 2.2: EKI-152X series 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.4 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 serial device servers. Note! 1. 2. Be sure the Microsoft .NET Framework on your host PC is greater than version 2.0. Insert the Advantech industrial communication IEDG series driver utility CD into the CD-ROM drive (e.g. E:\) on the host PC. Use Windows explorer or the Windows Run command to execute the setup program, the path for the setup program on the CD-ROM should be: E:\Utility&Driver\SerialDeviceServerConfigurationUtility\Serial_Device_Server_Config uration_Utility_[Version]_Release_[date].exe EKI-1361/EKI-1362 User Manual 18 4. Carefully read the Software License Agreement, and press "Yes" to continue. Getting Started Upon executing the setup program, the Welcome Dialog Box will be pop-up. Press the "Next" button to continue. Chapter 2 3. 19 EKI-1361/EKI-1362 User Manual 5. The Setup program will specify a default installation path: C:\Program Files\Advantech eAutomation\Serial Device Server Configuration Utility\ 6. After setup has copied all program files to your computer, click the button to finish the installation. EKI-1361/EKI-1362 User Manual 20 Chapter 3 Configuration 3 3.1 Configuration Utility Overview Advantech provides an easy-to-use utility to configure the serial device servers through an Ethernet connection. User can use the utility to search or locate the device and configure it, even don't know the exactly ip address of the device. Advantech Serial Device Server Configuration Utility is an excellent device server management tool. You can connect and configure the local and remote Advantech serial device servers easily. Moreover, Virtual COM port will be enabled in the same utility. You may open the Serial Device Server Configuration Utility from the Windows Start Menu by clicking Start All Programs Advantech eAutomation Serial Device Server Configuration Utility. The Serial Device Server Configuration Utility will appear as below. There are four major areas in the serial device server configuration utility. 1. Serial 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. Serial Device Server Information Area: Click on the serial device server or move cursor 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 configuration page will display on the area. 4. Quick Tool Bar: Useful management functions shortcut. Note! Please reserve TCP/UDP port 5048 and 5058 in your Ethernet network, configuration utility will use these ports to communicate with Advantech EKI-1000, ADAM-4570, and EDG-4500 serial device servers. EKI-1361/EKI-1362 User Manual 22 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. Note! The default device name shown in the Configuration Utility will be the device model name appended with last 3 bytes of MAC address. You can change to a meaningful name for identification. 23 EKI-1361/EKI-1362 User Manual 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. Chapter 3 3.2 Discovering Serial Device Servers 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 displays the operation mode, status and connected host IP. 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-1361/EKI-1362 User Manual 24 You can click the button on the Quick Tool Bar. The utility will clear all list device servers in the 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. button on the "Quick Tool Bar". The utility will search serial device server on local LAN. 3.2.3 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. 25 EKI-1361/EKI-1362 User Manual Configuration You can click the Chapter 3 3.2.2 Clear Device List and Search Again 3.3 Network Settings This section explains how to configure the network setting of EKI device using this utility so that it can communicate over a network with serial devices. Click on the "+" before the model name, 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. (Select Eth1 or Eth2, these are two individual Ethernet ports) 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. IP address, Subnet Mask, Default Gateway: You can choose from four possible IP Configuration modes --- Static, DHCP, BOOTP, and DHCP/BOOTP. EKI-1361/EKI-1362 User Manual 26 DHCP + Auto-IP DHCP Server assigned IP address, Subnet Mask, Default Gateway, and DNS. BOOTP + Auto-IP BOOTP Server assigned IP address. DHCP Timeout When EKI device doesn't get response from DHCP server within specific timeout, the EKI device will give up the request and take next action. DNS Setting In order to use DNS feature, you need to set the IP address of the DNS server to be able to access the host with the domain name. The EKI-152X series serial device server provides Primary DNS Server and Secondary DNS Server configuration items to set the IP address of the DNS server. Secondary DNS Server is included for use when Primary DNS server is unavailable. DHCP Advanced Setting When you enabling DHCP protocol to get IP address, it will be waited DHCP server to give IP within DHCP timeout. The default value is 30 seconds. 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. (Will reboot your Serial Device Server immediately) 27 EKI-1361/EKI-1362 User Manual Configuration DHCP + BOOTP + Auto-IP DHCP Server assigned IP address, Subnet Mask, Default Gateway, and DNS, or BOOTP Server assigned IP address. (If the DHCP Server does not respond) Chapter 3 Static IP User defined IP address, Subnet Mask, and Default Gateway. 3.4 Administrator Settings The configuration utility provides several administrator settings for easy management and configuration. Right click the mouse on the device name in the sub-tree of Serial Device Sever List Area, and select these administrator settings. 3.4.1 Locate the Serial Device Server If there are many serial device severs need your management, you may need to identify which unit is correct to configuration on utility. Click "Locate" to make that unit's "Status" LED be steady on and the buzzer will make the beep sound until you click "Stop Locate". 3.4.2 Lock the Serial Device Server (Password Protection) The configuration utility provides the "Lock Device" function to make it more confidential. 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 password into the memory. EKI-1361/EKI-1362 User Manual 28 Chapter 3 If you want to disable this function or change the password, click "Change Password" to change the password to default "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. 29 EKI-1361/EKI-1362 User Manual Configuration Click "Unlock Device" to unlock the serial device sever, and you need to fill in the password you have set up before. If you forgot the password, the only way to solve this problem is to restore the setting of the serial device server to the factory default which will be introduced next section. 3.4.3 Restore to Factory Default Settings The configuration utility provides this function to let you can restore the serial device server to factory default settings. The confirm message will be pop-up while clicking "Restore to Factory Default Settings". If you really want to restore the serial device sever to factory default settings, please click "Yes" button to continue. Then, please power off the serial device server within ten seconds, after reconnecting 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-1361/EKI-1362 User Manual 30 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.advantech.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 the host can establish the TCP connection to the serial device server. Chapter 3 3.4.4 Update Firmware Right Click on the device name and select "Update Firmware" function. Configuration Select the firmware file you want to update. 31 EKI-1361/EKI-1362 User Manual Wait for few seconds to process the updating firmware. After downloading the firmware completely, click on the "OK" button. The serial device server will restart automatically. Note! Be sure that the host PC Ethernet network domain is as same as the serial device server or the host PC can establish the TCP connection with the serial device server while doing the updating firmware process. EKI-1361/EKI-1362 User Manual 32 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. Since the virtual COM ports work like standard Windows COM ports, your application software sees no difference between a local serial device and one connected to a Advantech serial device server. COM redirector utility and Virtual COM port Management utility are integrated into one utility with same GUI. Advantech Serial Device Server Configuration Utility can create all Virtual COM ports using "Auto Mapping" function. You can map the Virtual COM port by yourself. 4.1.1 Auto Mapping Right click the serial device name on the sub-tree of Device Server List area and select the "Auto Mapping" function. 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