User Manual EKI-1221, EKI-1222, EKI-1224 1/2/4-port Modbus Data Gateway
Copyright The documentation and the software included with this product are copyrighted 2008 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable.
Declaration of Conformity CE This product has passed the CE test for environmental specifications 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. 2. 3. 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. 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.
Chapter Chapter 1 Introduction..........................................1 1.1 1.2 1.3 1.4 Overview ................................................................................................... 2 Features .................................................................................................... 2 Specifications ............................................................................................ 3 Package Check List .................................................................
3.8 Administrator Setting............................................................................... 35 3.8.1 Import/Export Serial Port Setting ................................................ 36 3.8.2 Locate the Modbus Data Gateway ............................................. 36 3.8.3 Lock Device ................................................................................ 37 3.8.4 Restore to Factory Default Settings............................................ 38 3.8.5 Update Firmware ............
Chapter 1 Introduction 1
1.1 Overview Advantech’s EKI-1200 series of Modbus Data Gateways are a robust, feature-rich, and cost effective way to integrate of Ethernet and Serial Modbus devices. The EKI1221/1222/1224 provides one, two or four serial ports, two switched Ethernet ports, a wide range of power inputs, and a compact slim design, making them an ideal solution for connecting multiple Modbus/RTU and Modbus/ASCII serial devices to Modbus TCP (Ethernet).
Chapter 1 1.3 Specifications LAN Speed: 10/100 Mbps auto sensing No. of Ports: 2 Port Connector: RJ45 x 2 (with LED) Protection: Built-in 1.
Environmental Operating Temperature: 0 to 60 °C (32 to 140 °F) Storage Temperature: -20 to 85 °C (-4 to 185 °F) Operating Humidity: 5 to 95 % RH Regulatory Approvals ECM: CE Class A, FCC Part 15 Subpart B Class A Safety: UL (UL60950-1) 1.
Chapter 2 Getting Started 2
2.1 Understanding EKI-1221/1222/1224 Networks have become increasingly vital for industrial automation applications. Many control devices today do not have a network port and can only communicate with a dedicated local PC or control panel. Advantech’s revolutionary network-enabling technology is now allowing control devices with serial ports to connect to the Ethernet and share networks quickly and cost-effectively.
Chapter 2 The Modbus protocol has a definite format for the master’s query, which incorporates the device (or broadcast) address, a function code defining the requested action, any data to be sent, and an error-checking field. The slave’s response message, which is also constructed using Modbus protocol, contains fields confirming the action taken, any data to be returned, and an error-checking field.
2.1.2 Modbus RTU The Modbus/RTU protocol defines how a “master” device polls one or more “slave” devices to read and write data in real-time over RS-232, RS-422, or RS-485 serial data communication. When using RTU mode, each 8-bit byte in a message contains two 4-bit hexadecimal characters. The main advantage of this mode is that its greater character density allows better data throughput than ASCII mode for the same baud rate. Nevertheless, each message must be transmitted in continuous stream. 2.1.
The following instructions will give the overview of EKI-1221/1222/1224 hardware and its installation. 2.2.1 LED Indicators There are LEDs display the two sets of power status, system status, dual networks status, and serial communication status on the front panel of EKI-1221, EKI-1222, and EKI-1224. Each of them has its own specific meaning as below table. 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.
2.2.2 Dimensions (Units: mm) EKI-1221: Figure 2.3 Front View of EKI-1221 Figure 2.
Chapter 2 Getting Started Figure 2.5 Back View of EKI-1221 Figure 2.
EKI-1222: Figure 2.7 Front View of EKI-1222 Figure 2.
Chapter 2 Getting Started Figure 2.9 Back View of EKI-1222 Figure 2.
EKI-1224: Figure 2.11 Front View of EKI-1224 Figure 2.
Chapter 2 Getting Started Figure 2.13 Back View of EKI-1224 Figure 2.
2.3 Connecting Hardware In this instruction, it will explain how to find a proper location for your EKI-1221/1222/ 1224, and how to connect to the network, hock up the power cable, and connect to the EKI-1221/1222/1224. 2.3.1 Choosing the Location Due to its versatility and innovative design, the EKI-122/1222/1224 can be: Fixed to a panel mount Fixed to a DIN-rail Panel/Wall Mounting The EKI-1221/1222/1224 can be attached to a wall using the included metal brackets. Each bracket comes with four screws.
First, hang the EKI-1221/1222/1224 to the DIN-rail with angle of inclination. See below figure. Chapter 2 DIN-rail Mounting The EKI-1221/1222/1224 can be mounted on a standard DIN-rail. The DIN-rail kit is screwed on the Modbus data gateway when out of factory. If the DIN-rail kit is not screwed on the EKI-1221/1222/1224, please screw the DIN-rail kit on the Modbus data gateway first. Getting Started Figure 2.
2.3.2 Connecting Power The EKI-1221/1222/1224 supports dual +12 to 48 VDC power inputs and a power-fail relay output. Following figure is the power terminal block pin assignments. Please refer it to connect to the proper power requirements and polarity. Figure 2.18 Power Connector You can connect an alarm indicator, buzzer or other signaling equipment through the power-fail relay output. The relay opens if power input V1 or V2 fails.
Chapter 3 Configuration 3
3.1 Installing the Configuration Utility The following section will show you how to install Advantech Serial Device Server Configuration Utility, a tool to set up and monitor the EKI series Modbus Data Gateways. Note Be sure the Microsoft .NET Framework on your host PC is greater than version 2.0 . 1. Insert the Advantech INET Series Driver Utility CD-ROM into the CD-ROM drive (e.g. E:\) on the host PC. 2.
Chapter 3 5. Carefully read the Software License Agreement, and press “Yes” to continue. Configuration 6. The InstallShield will specify a default installation path, C:\Program Files\Advantech eAutomation\Serial Device Server Configuration Utility. You may change the destination directory by clicking on “Browse…” click “Next” to finish the installation.
7. Click “Next” to start copying the software files. 8. After few minutes, a message will indicate that Configuration Utility is successfully installed, click “Finish” to exit the InstallShield.
The EKI-1221/1222/1224 provides an easy-to-use configuration utility to configure your Modbus data gateways through an Ethernet connection. For secure administration, it can also restrict the access rights for configuration to only one host PC to enhance network security. With this secure function enabled, other PCs will not have permission for configuration.
3.3 Discovering Modbus Data Gateways 3.3.1 Auto Searching Advantech Serial Device Server Configuration Utility will automatically search all the EKI, ADAM and EDG series device servers on the network and show them on the Serial Device Server List Area of the utility. The Utility provides an auto-searching function to show your device(s) by simply executing the configuration utility program from the Start Menu.
Chapter 3 Select the device in this sub-tree. The first tab on the “Configuration Area” shows the summary of “Basic Information” included device type, firmware version, and device name, “Ethernet Information”, and “Serial Port Information”. In the serial port information frame, it displays the operation mode, status and connected host IP. Configuration Click on the “+” before the device name, and the utility will expand the communication interfaces on this Modbus data gateway.
EKI-1221/1222/1224 User Manual 26
You can click the “Clear Device List and Search Again” button on the Quick Tool Bar and 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, or the warning message will be pop-up. and the util- 3.3.3 Manual Appending Using “Add IP address to Favorite” or “Search a Range of IP addresses” functions, you are allowed to add one device or group of devices to “Favorites”.
3.4 Setting Ethernet Parameters Click on the “+” before the model name (e.g. EKI-1224), and the utility will expand the tree structure to show the individual device name. And clink on the “+” before the device name, and utility will expand the communication interfaces on this Modbus data gateway. Select the Ethernet interface (Eth1 or Eth2, these are two individual Ethernet ports).
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 Modbus data gateway. (Will reboot your Modbus data gateway immediately) 3.5 Setting Serial Communication Parameters Click on the "+" before the model name (e.g. EKI-1224), and the utility will expand the tree structure to show the individual device name.
3.5.1 Basic Configuration Description: You can give a more detailed description on the function of the port for easier management and maintenance. Descriptions have a limit of 128 characters. Type: Each EKI-1221/1222/1224 offers 3 kinds of serial interfaces, RS-232, RS-485 and RS-422. You can use any one of these serial interfaces according to your requirements.
Parity None Even or Odd Data bits 7 7 Stop bits 2 1 Configuration Modbus/ASCII Parity None Even or Odd Data bits 8 8 Stop bits 2 1 Modbus/RTU Flow Control: The EKI-1221/1222/1224 provides four options: None, XOn/XOff, RTS/CTS, and DTR/DSR. 31 Chapter 3 Parity, Data bits, Stop bits: The settings for these parameters depend on the protocol that is running on the connected Modbus device (i.e. Modbus/ASCII or Modbus/RTU).
3.5.2 Operation Configuration The Operation tab is for each serial port’s operation mode configuration. The operation mode determines whether the devices that are connected to the serial port will operate as a master or a slave, and whether the Modbus RTU or Modbus ASCII protocol will be used. Modbus Slave Mode: Type: This option specifies whether the Modbus RTU or Modbus ASCII slave devices are connected to the serial port.
Chapter 3 Slave ID Information: The EKI-1221/1222/1224 features an excellent function that the utility will scan slave ID automatically. Click “Scan Slave ID” button, and the utility will start to issue the requests to the devices connected to this serial port and wait the reply about slave ID information. The “Scan Timeouts (sec)” means the time duration the utility wait for response slave ID information. Alternative option, the utility allows to manual add or delete slave ID information.
3.6 Function Accessible Setting The EKI-1221/1222/1224 provides a security function that the utility allows to set up an accessible IP list for Modbus TCP devices which can access data from Modbus data gateway. Allow any IP access: The default option, any Modbus TCP device can communicate with this Modbus data gateway. Specified IP which can access: Type the IP address in the column and click “Add” or “Delete” button to make the accessible IP address list. The limit of this list is 32 IP addresses.
Configuration utility provides an excellent function that allows monitoring the serial ports’ status. It will present each serial port’s operation mode and status. The IP address of the Modbus TCP device 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). Chapter 3 3.
3.8.1 Import/Export Serial Port Setting The utility allows importing or exporting the serial port setting including “Basic Setting” and “Operation Setting” via “.sps” file format. 3.8.2 Locate the Modbus Data Gateway If there are many Modbus data gateways 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 until you click “Stop Locate”.
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 Modbus gateway and store your setting password into the memory. Chapter 3 3.8.3 Lock Device Configuration Click “Unlock Device” to unlock the Modbus data gateway, and you need to fill in the password you have set up before.
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 Modbus gateway and store the new password into the memory. 3.8.
Chapter 3 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. 1. Right click on the device name and select “Update Firmware” function. 39 EKI-1221/1222/1224 User Manual Configuration 3.8.
2. Select the firmware file you want to update. 3. After downloading the firmware completely, click “OK” button, and the Modbus data gateway will restart automatically.
Chapter 3 Configuration 41 EKI-1221/1222/1224 User Manual
www.advantech.com Please verify specifications before quoting. This guide is intended for reference purposes only. All product specifications are subject to change without notice. No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd.