User Manual EKI-1351/1352/EKI-1521/1522/1524 1/2/4-port RS-232/422/485 Serial Device Servers
Copyright The documentation and the software included with this product are copyrighted 2006 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 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. CE This product has passed the CE test for environmental specifications. Test conditions for passing included the equipment being operated within an industrial enclosure.
Safety Instructions 1. Read these safety instructions carefully. 2. Keep this User Manual for later reference. 3. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. 4. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible. 5. Keep this equipment away from humidity. 6. Put this equipment on a reliable surface during installation.
Contents 1.1 1.2 1.4 Introduction ............................................................................................... 2 Features .................................................................................................... 3 1.2.1 1.2.1 EKI-1521, EKI-1522, and EKI-1524 ..................................... 3 1.2.2 1.2.2 EKI-1351 and EKI-1352 ....................................................... 3 Specifications ..........................................................................
3.4 3.5 3.6 Chapter 3.4 Setting serial parameters .................................................................. 47 3.4.1 Setting serial port parameters..................................................... 48 3.4.2 Setting Virtual COM Operating Mode Parameters...................... 50 3.4.3 Setting TCP/UDP Server operating mode parameters ............... 52 3.4.4 Setting TCP/UDP Client operating mode parameters ................ 54 3.4.5 Setting Control operating mode parameters......................
Chapter Overview \ 1
1.1 Introduction Advantech’s EKI series of Industrial Device Servers are robust, feature-rich, and cost effective way to network-enable equipment in an industrial automation environment. The EKI-1521, EKI-1522 and EKI-1524 provide 1/2/4 serial ports, two switched Ethernet ports, a wide power input range, and compact slim design, making it an ideal solution for connecting multiple asynchronous RS232, RS422, or RS485 serial devices to an Ethernet network.
1.2.1 1.2.1 EKI-1521, EKI-1522, and EKI-1524 Expand up 255 serial ports for one Windows NT/2000/XP/Vista(X86) host Provides dual 10/100 Base-T auto-sensing Ethernet ports: establish two separate Ethernet connection. Supports high transmission speed up to 1.2M bps totally Supports various operation mode: COM port redirection (Virtual COM port), TCP server/client, UDP server/client mode.
1.3 Specifications 1.3.1 EKI-1521, EKI-1522 and EKI-1524 Ethernet communication compatibility: IEEE802.3, IEEE802.3u Protocol: TCP/IP Interface: Network: 2 x 10/100Base-T auto-sensing Serial: RS-232/422/485 Serial ports: 1/2/4 independent RS-232/422/485 ports EKI-1521: 1 x RS-232/422/485 port EKI-1522: 2 x RS-232/422/485 port EKI-1524: 4 x RS-232/422/485 port Connector Network: RJ-45 Serial: DB9 Baud rate: 50~ 921kbps Throughput: Total throughput up to 1.
Ethernet communication compatibility: IEEE802.11b, IEEE802.11g Protocol: TCP/IP Interface: Network: Wireless Serial: RS-232/422/485 Serial ports: 1/2/4 independent RS-232/422/485 ports EKI-1351: 1 x RS-232/422/485 port EKI-1352: 2 x RS-232/422/485 port Connector Serial: DB9 Baud rate: 50~ 921kbps Throughput: Total throughput up to 1.2M bps Parity bit: odd, even, none, space, mark Data bit: 5, 6, 7, 8 Stop bit: 1, 1.
EKI-1521/1522/1524 User Manual 6
Chapter 2 Getting Started 2
2.1 Understanding Serial Device Servers The EKI serial device servers are network-based, serial device servers for connecting four RS-232/422/485 devices, such as CNCs, PLCs, scales, and scanners, directly to a TCP/IP network. Once connected through EKI serial device servers, 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.
Chapter 2 EKI-1351 and EKI-1352 has an 802.11b/g transceiver in addition to its serial and Ethernet ports. Each serial port is connected to the serial communication port of a device. The wireless transceiver connects to another wireless device or to an Access Point (AP). Getting Started 2.1.
2.1.2.1 Normal Mode The Advantech redirector connects the Advantech serial device server while an application open the COM port and disconnects from the Advantech serial device server 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. 2.1.2.2 Mutli-Access Mode (Shared COM port mode) Most of serial devices are connected directly and physically to the PC serial ports via a cable.
Chapter 2 Getting Started 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. 2.1.3 TCP Server Mode In TCP server mode, you might initiate the TCP connection from host to EKI serial device server. This operation mode support max.
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 maximum 16 (EKI-1521, EKI-1522, and EKI1524) or maximum 4(EKI-1351 and EKI-1352) simultaneous connections for each serial port on EKI serial device sever 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 connect to using Advantech serial device server utility.
Two native serial devices can communicate over a Ethernet network without any intermediate host PC and software programming. Serial Tunneling is very simple to use. You can use Advantech serial device server utility to designate one serial port as the tunneling master and another serial device server port as the tunneling slave. Chapter 2 2.1.5 Serial Tunneling mode Getting Started 2.1.6 UDP Server/Client Mode UDP is used primarily for broadcasting messages over a network.
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 modem AT-style commands.
Color Status Description P1 Green ON Power input from first power connector Off Power off ON Power input from second power connector Off Power off Blinking System ON Off System not work ON Locate from Utility Off 0% Wireless signal strength One ON 0~ 35% Wireless signal strength Two ON 35~70% Wireless signal strength Three ON Up 100% Wireless signal strength Wireless module OK P2 Status Green Yellow Yellow Fail Yellow Off ON Wireless module failure Link Green Off Disco
2.2.2 Dimension (units:mm) 2.2.2.1 EKI-1521 and EKI-1522 Figure 2.1 Front View Figure 2.
Chapter 2 Getting Started Figure 2.3 Back View Figure 2.
2.2.2.2 EKI-1524 Figure 2.5 Front View Figure 2.
Chapter 2 Getting Started Figure 2.7 Back View Figure 2.
2.2.2.3 EKI-1351 and EKI-1352 Figure 2.9 Front View Figure 2.
Chapter 2 Getting Started Figure 2.11 Back View Figure 2.
2.3 Connecting Hardward Next, we will explain how to find a proper location for your EKI serial device server, and then explain how to connect to the network, hook up the power cable, and connect to the EKI device server serial port. 2.3.1 Choosing a 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.1.1 Panel/Wallmounting The EKI serial device servers can be attached to a wall using the included metal brackets.
Chapter 2 2.3.1.2 DIN-rail Mounting You can mount the EKI serial device server on a standard DIN rail. The DIN-rail kit is screwed on the industrial switch when out of factory. If the DIN-rail kit is not screwed on the industrial switch, please screw the DIN-rail kit on the switch first. First, hang the EKI serial device sever to the DIN-rail with angle of inclination. See below figure. Getting Started Figure 2.14 DIN-rail Step 1 Then, let the device down straight to slide over the rail smoothly.
2.3.3 Wireless Connection EKI-1351 and EKI-1352 operate in the 802.11b/g WLAN environment, which is created by an access point working with 802.11b/g protocols. Locate your access point and connect to the Ethernet network first. Then build up the connection between the access point and the EKI-1351 and EKI-1352. While the host PC can not connect to EKI-1351 and EKI-1352, you might switch the EKI-1351 and EKI-1352 as Diag mode. 2.3.3.