Advantech EKI-1351, EKI-1352 User Manual

User Manual
EKI-1351/1352
1/2-port RS-232/422/485 to
802.11b/g WLAN Serial Device Servers
Copyright
The documentation and the software included with this product are copyrighted 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. How­ever, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringe­ments of the rights of third parties, which may result from its use.
Acknowledgements
Intel and Pentium are trademarks of Intel Corporation.
Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp. All other product names or trademarks are properties of their respective owners.
Product Warranty (2 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 pur­chase.
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 defec­tive, it will be repaired or replaced at no charge during the warranty period. For out­of-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. 2003152100 Edition 1
Printed in Taiwan January 2008
EKI-1351/1352 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 enclo­sure products.
FCC Class B
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installa­tion. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful inter­ference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interfer­ence to radio or television reception, which can be determined by turning the equip­ment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
Technical Support and Assistance
1. Visit the Advantech web site at www.advantech.com/support where you can find
the latest information about the product.
2. 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 numberDescription of your peripheral attachmentsDescription of your software (operating system, version, application software,
etc.)
A complete description of the problemThe exact wording of any error messages
Safety Instructions
1. Read these safety instructions carefully.
2. Keep this User Manual for later reference.
3. Disconnect this equipment from any AC outlet before cleaning. Use a damp
cloth. Do not use liquid or spray detergents for cleaning.
4. For plug-in equipment, the power outlet socket must be located near the equip-
ment and must be easily accessible.
5. Keep this equipment away from humidity.
iii EKI-1351/1352 User Manual
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. All cautions and warnings on the equipment should be noted.
11. If the equipment is not used for a long time, disconnect it from the power source
to avoid damage by transient overvoltage.
12. Never pour any liquid into an opening. This may cause fire or electrical shock.
13. Never open the equipment. For safety reasons, the equipment should be
opened only by qualified service personnel.
14. If one of the following situations arises, get the equipment checked by service
personnel:
15. The power cord or plug is damaged.
16. Liquid has penetrated into the equipment.
17. The equipment has been exposed to moisture.
18. The equipment does not work well, or you cannot get it to work according to the
user's manual.
19. The equipment has been dropped and damaged.
20. The equipment has obvious signs of breakage.
21. DO NOT LEAVE THIS EQUIPMENT IN AN ENVIRONMENT WHERE THE
STORAGE TEMPERATURE MAY GO BELOW -20° C (-4° F) OR ABOVE 60° C (140° F). THIS COULD DAMAGE THE EQUIPMENT. THE EQUIPMENT SHOULD BE IN A CONTROLLED ENVIRONMENT.
22. 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.
23. 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 elec­tronic components.
EKI-1351/1352 User Manual iv
Contents
Chapter 1 Overview...............................................1
1.1 Introduction ............................................................................................... 2
1.2 Features .................................................................................................... 3
1.3 Specifications ............................................................................................ 3
1.4 Package Check List .................................................................................. 4
Chapter 2 Getting Started.....................................5
2.1 Understanding EKI-1351/1352.................................................................. 6
2.1.1 Product Description....................................................................... 6
Figure 2.1 Wireless LAN Connections......................................... 6
2.1.2 COM Port Redirector (Virtual COM Port)...................................... 7
Figure 2.2 COM Port Redirector .................................................. 7
Figure 2.3 Multi-Access Mode ..................................................... 8
2.1.3 TCP Server Mode ......................................................................... 9
Figure 2.4 TCP Server Mode....................................................... 9
2.1.4 TCP Client Mode........................................................................... 9
Figure 2.5 TCP Client Mode ........................................................ 9
2.1.5 Serial Tunneling Mode ................................................................ 10
Figure 2.6 Serial Tunneling Mode.............................................. 10
2.1.6 UDP Server/Client Mode............................................................. 10
2.1.7 Control Mode .............................................................................. 10
2.2 Hardware................................................................................................. 11
2.2.1 LED Indicators ............................................................................ 11
Table 2.1: EKI-1351/1352 LED Indicators ................................. 11
2.2.2 Dimensions (Units: mm).............................................................. 12
Figure 2.7 Front View of EKI-1351/1352 ................................... 12
Figure 2.8 Side View of EKI-1351/1352..................................... 12
Figure 2.9 Back View of EKI-1351/1352.................................... 13
Figure 2.10Top View of EKI-1351/1352...................................... 13
2.3 Connecting Hardware ............................................................................. 14
2.3.1 Choosing the Location ................................................................ 14
Figure 2.11Combine the Metal Mounting Kit .............................. 14
Figure 2.12DIN-rail Step 1 .......................................................... 15
Figure 2.13DIN-rail Step 2 .......................................................... 15
2.3.2 Wireless Connection ................................................................... 16
2.3.3 Power Connection....................................................................... 16
Figure 2.14Power Connector ...................................................... 16
2.3.4 Serial Connection........................................................................ 17
Table 2.2: EKI-1351/1352 Serial Pin Assignments.................... 17
2.4 Serial Device Server Configuration Utility ............................................... 17
Chapter 3 Configuration .....................................21
3.1 Configuration Utility Overview ................................................................. 22
3.2 Discovering Serial Device Servers.......................................................... 23
3.2.1 Auto Searching ........................................................................... 23
3.2.2 Clear Device List and Search Again ........................................... 26
3.2.3 Manual Appending ...................................................................... 26
3.3 Setting Ethernet Parameters................................................................... 27
3.3.1 Ethernet Basic............................................................................. 27
3.3.2 Wireless Basics........................................................................... 28
3.3.3 Wireless Authentication .............................................................. 31
v EKI-1351/1352 User Manual
3.3.4 Wireless Advanced ..................................................................... 33
3.4 Setting Serial Parameters ....................................................................... 34
3.4.1 Setting Serial Port Parameters ................................................... 35
3.4.2 Setting Virtual COM Operating Mode Parameters...................... 36
3.4.3 Setting TCP/UDP Server/Client Operating Mode Parameters.... 38
3.4.4 Setting Control Operating Mode Parameters.............................. 40
Table 3.1: AT Commands List ................................................... 41
3.5 Security Configuration............................................................................. 42
3.5.1 Accessible Function.................................................................... 42
3.5.2 Port Monitor ................................................................................ 43
3.6 Fulfilling Administrator Functions ............................................................ 43
3.6.1 Import/Export Serial Port Setting ................................................ 44
3.6.2 Locate Serial Device................................................................... 44
3.6.3 Lock Device ................................................................................ 45
3.6.4 Restore to Factory Default Settings............................................ 45
3.6.5 Upgrading the Firmware ............................................................. 46
Chapter 4 Setting COM Redirector ................... 49
4.1 Setting COM Redirector(Virtual COM port)............................................. 50
4.1.1 Auto Mapping.............................................................................. 50
4.1.2 Manual Mapping ......................................................................... 52
4.1.3 Manual Direct Mapping Virtual COM Port................................... 54
4.1.4 Remove the Virtual COM Port .................................................... 54
4.2 Running Diagnostic Test......................................................................... 55
Appendix A Quick Start......................................... 57
A.1 Diagnostic Ad hoc Mode ......................................................................... 58
A.2 Diagnostic Infrastructure Mode ............................................................... 59
EKI-1351/1352 User Manual vi
Chapter 1

1 Overview

1.1 Introduction

Advantech's EKI series of Industrial Device Servers are a robust, feature-rich, and cost effective way to network-enable equipment in an industrial automation environ­ment. 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. 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 wireless network.
By encapsulating serial data and transporting it over Ethernet, the EKI-1351/1352 allows virtual serial links over Ethernet and IP (TCP/IP, UDP/IP networks. After Advantech Serial Device Server Configuration Utility installation, standard serial operation calls are transparently redirected to the serial device servers, guaranteeing compatibility with legacy serial devices and enabling backward compatibility with existing software. EKI-1351/1352 also supports serial tunneling, allowing two native serial devices to communicate over a network without any hosts and 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-135/1352 provides an impressive list of features and functions enabling mul­tiple industrial devices to be connected, controlled, configured, managed, and updated over a network. With serial ports and 802.11b/g wireless LAN, the EKI-1351/ 1352 can easily connects multiple serial devices to a network.
The transmission speed of the EKI-1351/1352 is up to 1.2M bps totally outstripping the competition to meet the demand for high-speed exchange. Functionally transpar­ent and efficient, the EKI-1351/1352 is especially designed for remotely controlling and monitoring devices via the Internet.
Type 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
EKI-1351/1352 provides various TCP/UDP operations: COM port redirection (Virtual COM port), TCP server/ client and UDP mode. Serial devices can be connected
by means of multi-access modes.
EKI-1351/1352 User Manual 2

1.2 Features

Expand up 255 serial ports for one Windows NT/2000/XP/Vista (X86) host Provides 802.11b/g standard Supports wireless LAN Ad-Hoc and Infrastructure modes 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
Supports LED indicators: easy to diagnose Supports integrated Configuration Utility and Port-Mapping Utility: easy to config-
ure and manage 255 COM ports and self-diagnosis
Supports multi-access: five hosts can access 1 serial port simultaneously Allows maximum 4 hosts to access TCP client and command response mode Easy to locate specific EKI serial device server Mounts on DIN-rail, or panel easily Surge protection for RS-422/485 line and power supply

1.3 Specifications

Ethernet communication compatibility: IEEE802.11b, IEEE802.11g Protocol: TCP/IP Interface:
Network: WirelessSerial: RS-232/422/485
Serial ports:
EKI-1351: 1 x RS-232/422/485 portEKI-1352: 2 x RS-232/422/485 port
Connector:
Serial: DB9
Baud Rate: 50~ 921kbps Throughput: Total throughput up to 1.2M bps Parity: Odd, Even, None, Space, Mark Data Bits: 5, 6, 7, 8 Stop Bits: 1, 1.5, 2 Flow Control: None, XOn/XOff, RTS/CTS,DTR/DSR Data Signals:
RS-232: TxD, RxD, CTS, RTS, DTR, DSR, DCD, RI, GNDRS-422: TxD+, TxD-, RxD+, RxD-, GNDRS-485: Data+, Data-, GND
Diagnostic LED: Power, Status, WLAN Signal Strength, Link/Active, Serial Tx, Rx Utility Software: Advantech Serial Device Server Configuration Utility Driver Supported: Windows NT/2000/XP/Vista(X86) Enclosure: Metal with solid DIN rail or panel mounting hardware Power requirements: Dual unregulated 12 to 48 VDC with surge protection Power consumption: EKI-1351: 3.5W, EKI-1352: 4W Serial protection: 15KV ESD Operation Temperature: 0 ~ 50° C (32 ~ 122° F) Storage Temperature: -20 ~ 80° C (-4 ~ 176° F) Operating Humidity: 20 ~ 95%(non-condensing) Storage Humidity: 0 ~ 95% (non-condensing)
Chapter 1 Overview
3 EKI-1351/1352 User Manual

1.4 Package Check List

One EKI serial device server One RS-232 loopback DB9 tester Panel mounting bracket CD-ROM for utility and manual EMI Dia. 7.8mm/L82mm Wireless LAN Antenna
EKI-1351/1352 User Manual 4
Chapter 2

2 Getting Started

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 tradi­tional 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. Since the EKI-1351/1352 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 cor­rectly.

2.1.1 Product Description

The EKI-1351/1352 is designed to network-enable any RS-232/422/485 serial devices and provides industry-grade hardware and easy-to-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-1351/1352 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.
EKI-1351/1352 has 802.11b/g transceiver in addition to its serial and Ethernet ports. Each serial port is connected to the serial communication port of a device. The wire­less transceiver connects to another wireless device or to an Access Point (AP).
Figure 2.1 Wireless LAN Connections
EKI-1351/1352 User Manual 6

2.1.2 COM Port Redirector (Virtual COM Port)

Advantech Serial Device Server Configuration Utility is a serial COM port redirector that creates virtual COM ports and provides access to serial device connected to Advantech serial device server. You can configure the serial device server and enable the Virtual COM port using one integrated utility. Advantech Serial Device Server Configuration Utility allows you to configure Microsoft applications to communicate with network enabled serial device servers as easily as if they were physically installed in or directly connected on the PC.
The Advantech redirector can create up to 255 virtual COM ports. Application on the 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 Getting Started
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.
Figure 2.2 COM Port Redirector
7 EKI-1351/1352 User Manual
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. of five host connections through 802.11b or 802.11g WLAN. There are two major operation modes for Multi-Access Mode. First one is broadcast mode; EKI serial device server handles a command from one application and replies the data from the serial port to all applications that are connecting this serial port. Another one is polling mode; EKI serial device server handles the command from one application and reply to this application only. Query from other applications must be queued and wait for current process completing.
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-1351/1352 User Manual 8

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. 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 Getting Started

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 four simultaneous connections for each serial port on EKI-1351/1352 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.4 TCP Server Mode
Figure 2.5 TCP Client Mode
9 EKI-1351/1352 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-1351/1352 access max. of 8 hosts’ UDP message. In the UDP client mode, EKI serial device servers transmit UDP message to max. of 4 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-1351/1352 connecting or discon­necting to remote networking devices. Thus intelligent serial devices such as stand­alone PLC will send /receive data to/from devices one by one via Ethernet.
EKI-1351/1352 User Manual 10

2.2 Hardware

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.
Table 2.1: EKI-1351/1352 LED Indicators
LED Name LED Color LED Description
P1 Green Power 1 is on.
Off Power 1 is off, or power error condition exists.
P2 Green Power 2 is on.
Off Power 2 is off, or power error condition exists.
Status Orange Blinking: System is ready.
Off System is not working.
WLAN Signal Strength
Fail Off WLAN module OK.
Link/Active Off There is no link between EKI and wireless AP.
Serial Orange Serial port is transmitting data.
Off 0~25% WLAN signal strength.
Green (One) 25~50% WLAN signal strength.
Green (Two) 50~75% WLAN signal strength.
Green (Three) 75~100% WLAN signal strength.
Orange WLAN module failure.
Green Steady on: Has good link to wireless AP.
Green Serial port is receiving data.
Off No data is transmitted or received through the serial port.
Chapter 2 Getting Started
Steady on: The device server has been located by utility’s location function.
Blinking: WLAN port is transmitting or receiving data.
11 EKI-1351/1352 User Manual

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.8 Side View of EKI-1351/1352
EKI-1351/1352 User Manual 12
Chapter 2 Getting Started
Figure 2.9 Back View of EKI-1351/1352
Figure 2.10 Top View of EKI-1351/1352
13 EKI-1351/1352 User Manual

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.1.1 Panel/Wall Mounting
The EKI-1351/1352 can be attached to a wall using the included metal brackets. Each bracket comes with four 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
EKI-1351/1352 User Manual 14
Loading...
+ 46 hidden pages