Page 1
User Manual EKI-1200 Series 1/2/4-port Modbus Gateways...
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.
Page 3
If any item does not accord with the table, please contact your dealer immediately. ■ 1 x Industrial Modbus Device ■ 1 x DIN Rail Mounting Bracket and Screws ■ 1 x Wall-mounting Bracket EKI-1200 Series User Manual...
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. Safety Precaution - Static Electricity Static electricity can cause bodily harm or damage electronic devices.
Page 5
3.7.2. Statistic (Legacy Mode Enabled) ............39 3.7.3. Connected IP (Legacy Mode Enabled) ..........40 3.7.4. Status (Legacy Mode Disabled) ............40 3.7.5. Modbus Statistics (Legacy Mode Disabled) ........41 3.7.6. Just-In-Time Diagnostics (Legacy Mode Disabled) ......41 EKI-1200 Series User Manual EKI-1200 Series User Manual...
Page 6
3.9.4. Reboot ....................52 3.10. Management ....................52 3.10.1. Change Password................52 3.10.2. Secure Access IP ................54 3.10.3. Export Device Settings ..............55 3.10.4. Import Device Settings ..............55 3.10.5. Firmware Upgrade ................55 EKI-1200 Series User Manual EKI-1200 Series User Manual...
Page 7
Syslogd > Modbus Agent Monitor ..................45 Figure 3.29. Monitor > Port n > Status ....................46 Figure 3.30. Monitor > Port n > Modbus Statistics ................46 EKI-1200 Series User Manual EKI-1200 Series User Manual EKI-1200 Series User Manual...
Page 8
Tools > Reboot........................52 Figure 3.40. Management > Change Password ................... 53 Figure 3.41. Management > Secure access IP ..................54 Figure 3.42. Management > Import ...................... 55 EKI-1200 Series User Manual EKI-1200 Series User Manual EKI-1200 Series User Manual viii viii viii...
Page 10
The EKI-1200 Series provides a feature that can allow users to select client or server operation for each serial port. The EKI-1200 Series not only allows Ethernet client can control serial servers, but also allow serial clients to control Ethernet or serial servers.
Page 12
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. The EKI-1200 Series are network-based, Modbus gateways for integrating new and existing Modbus/ RTU and Modbus/ ASCII serial devices to newer TCP/IP networked-based devices.
Page 13
1 bit for even/odd parity; no bit for parity parity 1 stop bit if parity is used; 1 stop bit if parity is used; 2 bits if no parity 2 bits if no parity Error Check EKI-1200 Series User Manual...
Page 14
5, 6, 7, 8 Stop Bits 1, 1.5, 2 Parity None, Odd, Even, Space, Mark Flow Control XON/XOFF, RTS/CTS Baud Rate 50 bps ~ 921.6 kbps, any baud rate setting Protection Built-in 15 KV ESD for all signals EKI-1200 Series User Manual...
Page 15
Modbus RTU, Modbus TCP, Modbus ASCII Regulatory CE, FCC Part 15 Subpart B (Class A) Approvals Hazardous Location UL/cUL (Class I, Division 2, Groups A, B, C and D) ATEX (Zone 2 Ex nA nC IIC T4 Gc) EKI-1200 Series User Manual...
Page 16
Default button Press for at least 10 secs. to reset device to default settings. ETH port RJ45 ports x 2. Cat5e or better cables required. (See automationdirect.com for cable recommendations.) Serial port DB9 pinout, supports 232/422/485 EKI-1200 Series User Manual...
Page 17
Press for at least 10 secs. to reset device to default settings. ETH port RJ45 ports x 2. Cat5e or better cables required. (See automationdirect.com for cable recommendations.) Serial port DB9 (pinout) ports x 2, supports 232/422/485 EKI-1200 Series User Manual...
Page 18
Press for at least 10 secs. to reset device to default settings. ETH port RJ45 ports x 2. Cat5e or better cables required. (See automationdirect.com for cable recommendations.) Serial port DB9 (pinout) ports x 4, supports 232/422/485 EKI-1200 Series User Manual...
Page 19
2�3�2� Rear View The following view depicts the EKI-1221 and EKI-1222. Figure 2�6� EKI-1221 and EKI-1222 Rear View No� Item Description DIN rail mounting plate Mounting plate used for installation to a standard DIN rail. EKI-1200 Series User Manual...
Page 20
Connect cabling for power and alarm wiring Ground terminal Screw terminal used to ground chassis Wall mounting holes Screw holes (4) wall mount installation. The device is designed with top and bottom side screw holes for wall mount bracket. EKI-1200 Series User Manual...
Page 21
95 [3.740] 95 [3.740] 30 [1.181] 104 [4.094] Figure 2�10� EKI-1221 Dimensions The following view depicts the EKI-1222. 14.70 [0.579] 95 [3.740] mm [in] 95 [3.740] 95 [3.740] 30 [1.181] 104 [4.094] Figure 2�11� EKI-1222 Dimensions EKI-1200 Series User Manual...
Page 22
Once the DIN rail is seated correctly in the DIN rail clip, press the front of the switch to rotate the switch down and into the release tab on the DIN rail clip. If seated correctly, the bottom of the DIN rail should be fully inserted in the release tab. EKI-1200 Series User Manual...
Page 23
Figure 2�14� EKI-122x Series Correctly Installed on DIN Rail Grasp the bottom of the switch and slightly rotate it upwards. If there is resistance, the switch is correctly installed. Otherwise, re-attempt the installation process from the beginning. EKI-1200 Series User Manual...
Page 24
Align the wall mounting plates on the rear side. The screw holes on the device and the mounting plates must be aligned, see the following illustration. Secure the wall mount plates with the provided M3-0.5 x 4mm screws.See the following figure. EKI-1200 Series User Manual...
Page 25
Insert the wall sinks into the walls. 10. Insert the screws into the wall sinks. Leave a 2mm gap between the wall and the screw head to allow for wall mount plate insertion. EKI-1200 Series User Manual...
Page 26
12. Install the wall mount plate on the screw(s) and slide it forward to lock in place, see the following figure(s). Figure 2�18� Wall Mount Installation (EKI-122x Series) 13. Once the device is installed on the wall, tighten the screws to secure the device. EKI-1200 Series User Manual...
Page 27
2�4�3� Serial Connection EKI-1200 Series provides up to four ports DB9 (male) connectors. RS-232/422/485 pin assignments as below: Figure 2�19� Serial Port Pin Assignment RS-232 RS-422 (RS485-4W) TX- RS-485 DATA- DATA+ GND 2�4�4� Power Connections 2�4�4�1� Wiring the Power Inputs The EKI-122x-CE Series supports dual 12 to 48 VDC power inputs and power-fail relay output.
Page 28
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. In a wiring example where an LED is connected to the relay output, the LED would be off in an Open state. EKI-1200 Series User Manual...
Page 30
Launch your web browser on the PC. In the browser’s address bar, type the device’s default IP address (Eth1: 10.0.0.1, Eth2: 10.0.0.2). The main interface displays. Figure 3�1� Web Interface Initial Display EKI-1200 Series User Manual...
Page 31
To access this page, click System. Figure 3�2� System The following table describes the items in the previous figure. Item Description Firmware version Displays the current firmware version of the device. Revision number Displays the revision number of the device. EKI-1200 Series User Manual...
Page 32
If the highest priority device becomes unavailable, the next lower priority device will become active. Click Save to save the values and update the screen. Save Note! All new configurations will take effect after rebooting. To reboot the device, click Tools > Reboot. EKI-1200 Series User Manual...
Page 33
When Keep Alive is activated, send a TCP Keep Alive message at the specified interval. Keep Count Disconnect with the host after the specified number of consecutive TCP Keep Alive requests fail to receive a response. Save Click Save to save the values and update the screen. EKI-1200 Series User Manual...
Page 34
Edit and Delete icons adjacent to the channel number, respectively. Timeout (ms) For each channel, set the timeout value for the server device. Delay (ms) For each channel, set the scan interval (delay) for the server device. EKI-1200 Series User Manual...
Page 35
Set the port to either the configured Modbus Server Mode TCP port or the configured Direct Access Port for the COM port. Note! All new configurations will take effect after rebooting. To reboot the device, click Tools > Reboot. EKI-1200 Series User Manual...
Page 36
Each block represents one address in the 1024-address block selected in the Global section. The color of the block indicates the type of data stored within it. Information Select an individual address to display its configuration data in the Information panel. EKI-1200 Series User Manual...
Page 37
The gateway can use the LDAP protocol or RADIUS protocol for user management, or user management can be controlled locally. Setting up LDAP or RADIUS integration is an advanced topic with security implications. We recommend that the LDAP or RADIUS setting be configured by your network administrator. EKI-1200 Series User Manual...
Page 38
Enable each port that this user should be able to configure. A user must have config permission on at least one port in order to save the username in this list. Save Click Save to save the values and update the screen. EKI-1200 Series User Manual...
Page 39
All other elements of the Web UI are hidden. Figure 3�8� Managed User Port Configuration View Figure 3�9� Managed User Port Configuration View EKI-1200 Series User Manual...
Page 40
The current IPv6 address for the port, if assigned (read only) Save Click Save to save the values and update the screen. Note! All new configurations will take effect after rebooting. To reboot the device, click Tools > Reboot. EKI-1200 Series User Manual...
Page 41
IP 1 The current IPv4 address for the port Save Click Save to save the values and update the screen. Note! All new configurations will take effect after rebooting. To reboot the device, click Tools > Reboot. EKI-1200 Series User Manual...
Page 42
Select the flow control mode: None, XOn/XOff or RTS/CTS Save Click Save to save the values and update the screen. Note! All new configurations will take effect after rebooting. To reboot the device, click Tools > Reboot. EKI-1200 Series User Manual...
Page 43
To translate RTU/ASCII to TCP, use Modbus Client Mode. EKI-122X P1 P2 Status De fau Figure 3�13� Client Mode To translate TCP to RTU/ASCII, use Server Mode. P1 P2 Status De fau EKI-122X Figure 3�14� Server Mode EKI-1200 Series User Manual...
Page 44
Protocol Select the Modbus protocol: RTU or ASCII Server Timeout (ms) Specify the time duration in milliseconds for the EKI-1200 Series to wait for a response after it has issued a command while using Modbus/RTU or Modbus ASCII. After the timeout is expired and no response is received, the EKI-1200 Series will regard the command as failed.
Page 45
Server ID 31 on the gateway’s serial port, would be mapped to Server ID 21 at the given IP address. Save Click Save to save the values and update the screen. EKI-1200 Series User Manual...
Page 46
Display the current parity of the selected port. RTS/CTS Display the current RTS/CTS status of the selected port. XON/XOFF Display the current XON/OFF status of the selected port. DTR/DSR DTR/DSR is not used by the gateway. EKI-1200 Series User Manual...
Page 47
Display the current DSR status of the selected port. DSR cannot be configured for the gateway. This screen displays the status of the signal if it is received from another device. Display the current DCD status of the selected port. EKI-1200 Series User Manual...
Page 48
Displays the current connected IP address of the selected port. 3�7�4� Status (Legacy Mode Disabled) With Modbus Legacy Mode disabled, information on the serial port function is presented in the Status section Figure 3�20� Monitor > Port x > Status EKI-1200 Series User Manual...
Page 49
Syslog server, by way of the Syslogd function. The Syslog protocol is supported by a wide range of devices and can be used to log different types of events. EKI-1200 Series User Manual...
Page 50
Tools > Reboot. 3�8�2� Syslogd Message After enabling the syslogd function, users can check the history in the syslogd message page. To access this page, click Syslogd > Syslogd Message. Figure 3�23� Syslogd > Syslogd Message EKI-1200 Series User Manual...
Page 51
This page shows the longest response time of each individual unit ID. This should be helpful for optimizing the performance. To access this page, click Syslogd > Modbus Server Response Time. Click Clear All to clear all response information. Figure 3�26� Syslogd > Modbus Server Response Time EKI-1200 Series User Manual...
Page 52
JIT options can also be enabled here. When enabled on this page versus the Monitor page, the JIT information is sorted by TCP Session instead of COM Port Figure 3�27� Syslogd > Modbus Server EKI-1200 Series User Manual...
Page 53
On the Syslogd > Syslogd Setting page, enable Syslogd and Save your changes. Reboot the device (Tools > Reboot) to apply the changes. The available options differ between Modbus Server mode and Modbus Client mode. EKI-1200 Series User Manual...
Page 54
The logs here contain no Ethernet-side information. 3�8�9�2� Modbus Client Mode JIT Diagnostics in Modbus Client mode is similar to that in Modbus Server mode, but we have a few more options available. EKI-1200 Series User Manual...
Page 55
With JIT logging enabled for a TCP session, the Syslogd > Syslogd Message page allows you to inspect the Modbus data related to a specific Modbus/TCP Client, regardless of which COM Port was involved in the communication. Figure 3�34� Syslogd > Syslogd Messages with TCP session EKI-1200 Series User Manual...
Page 56
TID is the transition ID, UID is the Unit ID and FID is the function ID. Read %d bytes of serial Data(TID%d, UID%d, FID%d) Protocol Serial Rx Len = %d(TID%d, UID%d, FID%d:%s (PROTO) Note: The Protocol level message overwrites the Data level message. EKI-1200 Series User Manual...
Page 57
8 to 5120. The size entered is not retained across a power cycle. Count Enter the number of echo requests to send. The default value is 4. The value ranges from 1 to 5. The count entered is not retained across a power cycle. EKI-1200 Series User Manual...
Page 58
Figure 3�37� Tools > Modbus Scan The following table describes the items in the previous figure. Item Description The IP address to scan Port The port to scan Start UID The starting Server ID to scan EKI-1200 Series User Manual...
Page 59
(IP, Port and UID) and display the results. Figure 3�38� Tools > Modbus Polling The following table describes the items in the previous figure. Item Description The IP address to poll Port The port to poll EKI-1200 Series User Manual...
Page 60
3�10�1� Change Password The Change Password function allows you to easily update your current password from a single menu. To access this page, click Management > Change Password. EKI-1200 Series User Manual...
Page 61
Session Timeout display at the top of the Web UI. When the session timer expires, you will be automatically logged out of the web interface. Note! All new configurations will take effect after rebooting. To reboot the device, click Tools > Reboot. EKI-1200 Series User Manual...
Page 62
IP (127.0.0.1) if you are using the Secure Access IP feature. Use the gateway’s IP address instead. Note! All new configurations will take effect after rebooting. To reboot the device, click Tools > Reboot. EKI-1200 Series User Manual...
Page 63
Firmware Upgrade If HTTPS security is enabled, the device firmware can be updated from the web UI. The standard method for firmware updates is to use the Windows utility that is packaged with the firmware download. EKI-1200 Series User Manual...
Need help?
Do you have a question about the EKI-1200 Series and is the answer not in the manual?
Questions and answers