Advantech EKI-1221D User Manual

Advantech EKI-1221D User Manual

1/2/4-port modbus gateway
Hide thumbs Also See for EKI-1221D:

Advertisement

Quick Links

User Manual
ADAM-4572,
EKI-1221,EKI-1222,
EKI-1224, EKI-1221D,
EKI-1222D
1/2/4-port Modbus Gateway

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EKI-1221D and is the answer not in the manual?

Questions and answers

Summary of Contents for Advantech EKI-1221D

  • Page 1 User Manual ADAM-4572, EKI-1221,EKI-1222, EKI-1224, EKI-1221D, EKI-1222D 1/2/4-port Modbus Gateway...
  • Page 2 No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
  • Page 3 This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
  • Page 4 The sound pressure level at the operator's position according to IEC 704-1:1982 is no more than 70 dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
  • Page 5: Table Of Contents

    Figure 2.13Back View of EKI-1224..........18 Figure 2.14Top View of EKI-1224..........18 Figure 2.15Front View of EKI-1221D.......... 19 Figure 2.16Side View of EKI-1221D ........... 19 Figure 2.17Back View of EKI-1221D .......... 20 Figure 2.18Top View of EKI-1221D ..........20 Figure 2.19Front View of EKI-1222D.......... 21 Figure 2.20Side View of EKI-1222D ...........
  • Page 6 Figure 2.30DIN-rail Step 1............27 Figure 2.31DIN-rail Step 2............27 Figure 2.32DIN-rail Adapter............28 Figure 2.33DIN-rail Mounting ............. 28 2.4.2 Connecting Power ..............29 Figure 2.34Power Connector............29 2.4.3 Connecting Serial Devices............29 Figure 2.35EKI-122X series Serial Port Pin Assignments..29 2.4.4 Connecting to a Host or the Network..........
  • Page 7: Chapter 1 Introduction

    Chapter Introduction...
  • Page 8: Overview

    Overview Advantech’s ADAM-4572 and EKI-1221/1222/1224/1221D/1222D series of Modbus Gateways (the following manual will use EKI-122X series instead of complete model name) are a robust, feature-rich, and cost effective way to integrate of Ethernet and Serial Modbus devices. The ADAM-4572 and EKI-122X series provides one, two or...
  • Page 9: Package Check List

    1 x Document and software CD 1 x DIN-rail kit 2 x Wall/panel mount kit EKI-1221D/1222D 1 x EKI-1221D or EKI-1222D Modbus Gateway 1 x 6P power connector 1 x Documents and software CD 1 x OPT1-DB9-AE (DB9 to terminal connector)
  • Page 10 ADAM-4572 & EKI-122X Series User Manual...
  • Page 11: Chapter 2 Getting Started

    Chapter Getting Started...
  • Page 12: Understanding Modbus Gateways

    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.
  • Page 13 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. If an error occurred in receipt of the message, or if the slave is unable to perform the requested action, the slave will construct an error message and send it as its response.
  • Page 14: Modbus Rtu

    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.
  • Page 15: Specifications

    Specifications 2.2.1 EKI-1221/1222/1224 Ethernet 10/100 Mbps, RJ45 No. of Ports Protection Built-in 1.5 KV magnetic isolation Serial Interface Interface RS-232/422/485 No. of Ports 1, 2 or 4 Connector Type D-Sub 9 male Parity None, Even, Odd, Space, Mark Data bits 7, 8 Stop bits 1, 2...
  • Page 16: Eki-1221D/1222D

    Ethernet 10/100Mbps, RJ45 No. of Ports Protection Built-in 1.5 KV magnetic isolation Serial Interface Interface RS-232/422/485 No. of Ports EKI-1221D: 1 EKI-1222D: 2 Connector Type D-Sub 9 male Parity None, Even, Odd, Space, Mark Data bits 7, 8 Stop bits...
  • Page 17: Adam-4572

    2.2.3 ADAM-4572 Ethernet 10/100 Mbps, RJ45 Protection Built-in 1.5 KV magnetic isolation Serial Interface Interface RS-232/422/485 No. of Ports Connector Type Terminal block Parity None, Even, Odd, Space, Mark Data bits 7, 8 Stop bits 1, 2 Flow Control RTS/CTS, XON/XOFF Speed 50 bps to 921.6 kbps Signals...
  • Page 18: Hardware

    There are LEDs display the two sets of power status, system status, dual networks status, and serial communication status on the front panel of ADAM-4572 and .EKI- 122X series. Each of them has its own specific meaning as below table. Table 2.2: EKI-1221/1222/1224, EKI-1221D/1222D LED Indicators LED Name LED Color...
  • Page 19: Dimensions (Units: Mm)

    2.3.2 Dimensions (Units: mm) EKI-1221: Figure 2.3 Front View of EKI-1221 Figure 2.4 Side View of EKI-1221 13 ADAM-4572 & EKI-122X Series User Manual...
  • Page 20 Figure 2.5 Back View of EKI-1221 Figure 2.6 Top View of EKI-1221 ADAM-4572 & EKI-122X Series User Manual...
  • Page 21 EKI-1222: Figure 2.7 Front View of EKI-1222 Figure 2.8 Side View of EKI-1222 15 ADAM-4572 & EKI-122X Series User Manual...
  • Page 22 Figure 2.9 Back View of EKI-1222 Figure 2.10 Top View of EKI-1222 ADAM-4572 & EKI-122X Series User Manual...
  • Page 23 EKI-1224: Figure 2.11 Front View of EKI-1224 Figure 2.12 Side View of EKI-1224 17 ADAM-4572 & EKI-122X Series User Manual...
  • Page 24 Figure 2.13 Back View of EKI-1224 Figure 2.14 Top View of EKI-1224 ADAM-4572 & EKI-122X Series User Manual...
  • Page 25 EKI-1221D: Figure 2.15 Front View of EKI-1221D Figure 2.16 Side View of EKI-1221D 19 ADAM-4572 & EKI-122X Series User Manual...
  • Page 26 Figure 2.17 Back View of EKI-1221D Figure 2.18 Top View of EKI-1221D ADAM-4572 & EKI-122X Series User Manual...
  • Page 27 EKI-1222D: Figure 2.19 Front View of EKI-1222D Figure 2.20 Side View of EKI-1222D 21 ADAM-4572 & EKI-122X Series User Manual...
  • Page 28 Figure 2.21 Back View of EKI-1222D Figure 2.22 Top View of EKI-1222D ADAM-4572 & EKI-122X Series User Manual...
  • Page 29 ADAM-4572 Figure 2.23 Front View of ADAM-4572 Figure 2.24 Back View of ADAM-4572 23 ADAM-4572 & EKI-122X Series User Manual...
  • Page 30 Figure 2.25 Bottom View of ADAM-4572 Figure 2.26 Side View of ADAM-4572 ADAM-4572 & EKI-122X Series User Manual...
  • Page 31: Connecting Hardware

    Connecting Hardware In this instruction, it will explain how to find a proper location for your Modbus Gateways, and how to connect to the network, hock up the power cable, and connect to the ADAM-4572 and EKI-122X series. 2.4.1 Choosing the Location Due to thier innovative design, ADAM-4572 and EKI-122X series can be: Fixed to a panel mount Fixed to a DIN-rail...
  • Page 32 Figure 2.28 ADAM-4572 Panel Mounting Bracket Dimensions Figure 2.29 ADAM-4572 Panel Mounting ADAM-4572 & EKI-122X Series User Manual...
  • Page 33 DIN-rail Mounting The ADAM-4572, EKI-122X series 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 ADAM-4572, EKI-122X series, please screw the DIN-rail kit on the Modbus data gateway first.
  • Page 34 Figure 2.32 DIN-rail Adapter Figure 2.33 DIN-rail Mounting ADAM-4572 & EKI-122X Series User Manual...
  • Page 35: Connecting Power

    2.4.2 Connecting Power The EKI-122X series 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.34 Power Connector You can connect an alarm indicator, buzzer or other signaling equipment through the power-fail relay output.
  • Page 36: Connecting To A Host Or The Network

    For advanced model, EKI-1221D and EKI-1222D, provide two Ethernet ports with one IP address. One port can be used to connect to the network, and the other port can be used to connect to another Ethernet device (or another EKI-1221D/1222D, like Daisy-Chain structure).
  • Page 37 Wiring for RS-485 Connection Figure 2.37 Wiring RS-485 Connection Wiring for RS-422 Connection Figure 2.38 Wiring RS-422 Connection 31 ADAM-4572 & EKI-122X Series User Manual...
  • Page 38 ADAM-4572 & EKI-122X Series User Manual...
  • Page 39: Configuration

    Chapter Configuration...
  • Page 40: Installing The Configuration Utility

    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 Modbus Gateways. Note Be sure the Microsoft .NET Framework on your host PC is greater than version 2.0 .
  • Page 41 5. Carefully read the Software License Agreement, and press "I Agree" to continue. 6. The InstallShield will specify a default installation path, C:\Program Files\Advantech eAutomation\Serial Device Server Configuration Utility. 35 ADAM-4572 & EKI-122X Series User Manual...
  • Page 42 7. After few minutes, a message will indicate that Configuration Utility is suc- cessfully installed, click “Finish” to exit the InstallShield. ADAM-4572 & EKI-122X Series User Manual...
  • Page 43: Starting The Configuration Utility

    PC to enhance network security. With this secure function enabled, other PCs will not have permission for configuration. After the installation program on the Advantech IEDG Series Driver Utility CD-ROM is finished, the serial device servers will be ready for use and config- ure.
  • Page 44: Discovering Modbus 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.
  • Page 45 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 informa- tion frame, it displays the operation mode, status and connected host IP. Click on the “+”...
  • Page 46 ADAM-4572 & EKI-122X Series User Manual...
  • Page 47: Clear Device List And Search Again

    3.3.2 Clear Device List and Search Again You can click the “Clear Device List and Search Again” button on the Quick Tool 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.
  • Page 48: Setting Ethernet Parameters

    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.
  • Page 49: Setting Serial Communication Parameters

    ADAM-4572, EKI-122X series has the same default IP address 10.0.0.1 and 10.0.0.2 for dual Ethernet ports. Obtain these specific IP addresses from your network admin- istrator and then configure each Advantech Modbus gateway with individual IP addresses, related Subnet Mask and Gateway Setting.
  • Page 50: Basic Configuration

    3.5.1 Basic Configuration Description: You can give a more detailed description on the function of the port for easier man- agement and maintenance. Descriptions have a limit of 128 characters. Type: The EKI-122X series 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.
  • Page 51 Parity, Data bits, Stop bits: The settings for these parameters depend on the protocol that is running on the con- nected Modbus device (i.e. Modbus/ASCII or Modbus/RTU). Parity None Even or Odd Data bits Stop bits Modbus/ASCII Parity None Even or Odd Data bits Stop bits Modbus/RTU...
  • Page 52: Operation Configuration

    3.5.2 Operation Configuration The Operation tab is for each serial port’s operation mode configuration. The opera- tion 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 pro- tocol will be used.
  • Page 53 Slave ID Information (EKI-122X Series Only):: The EKI-122X series 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.
  • Page 54 MAP Slave ID (EKI-122X Series Only) The EKI-122X Series features another excellent function that you can map the real slave device ID to be the virtual slave device ID. Just key in the slave ID you want to map in the column "Map ID". Modbus Master Mode: Type: This option specifies whether the Modbus RTU or Modbus ASCII master device is...
  • Page 55: Function Accessible Setting

    ASCII Character Timeouts (ms): This option specifies the time interval in milliseconds between characters within the Modbus/ASCII message. If a greater interval occurs, the receiving device assumes an error has occurred. Slave IP Information: This option specifies the slave IP address and slave ID of the Modbus TCP slave device or another EKI-122X series acts the Modbus slave device.
  • Page 56: Monitoring Modbus Status

    Monitoring Modbus Status 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.
  • Page 57: Import/Export Serial Port Setting

    3.8.1 Import/Export Serial Port Setting The utility allows importing or exporting the serial port setting including “Basic Set- ting” 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.
  • Page 58: Lock Device

    3.8.3 Lock Device The configuration utility provides the “Lock Device” function to make it more confiden- tial. You need to set up a password while the first time clicking “Lock Device”. Be sure to click “Reset Device” to restart the Modbus gateway and store your setting pass- word into the memory.
  • Page 59: Restore To Factory Default Settings

    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.
  • Page 60: Update Firmware

    3.8.5 Update Firmware Advantech continually upgrades its firmware to keep up with the ever-expending world of computing. You can use the update firmware function in the utility to carry upgrade procedure. Please access Advantech’s website: to download the latest version of the firmware.
  • Page 61 Select the firmware file you want to update. After downloading the firmware completely, click “OK” button, and the Modbus data gateway will restart automatically. 55 ADAM-4572 & EKI-122X Series User Manual...
  • Page 62 No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permis- sion of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2010...

This manual is also suitable for:

Eki-1221Eki-1222Eki-1224Adam-4572Eki-1222dAdam-4572-ce

Table of Contents