Page 1
User Manual EKI-1242 Series Modbus RTU/TCP to EtherCAT | EtherNet/IP | PROFINET Fieldbus 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.
Technical Support and Assistance Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
Warnings, Cautions and Notes Warning! Warnings indicate conditions, which if not observed, can cause personal injury! Caution! Cautions are included to help you avoid damaging hardware or losing data. e.g. There is a danger of a new battery exploding if it is incorrectly installed. Do not attempt to recharge, force open, or heat the battery.
Safety Instructions Read these safety instructions carefully. Keep this User Manual for later reference. Disconnect this equipment from any DC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. For plug-in equipment, the power outlet socket must be located near the equip- ment and must be easily accessible.
Page 6
Safety Precaution - Static Electricity Static electricity can cause bodily harm or damage electronic devices. To avoid dam- age, keep static-sensitive devices in the static-protective packaging until the installa- tion period. The following guidelines are also recommended: Wear a grounded wrist or ankle strap and use gloves to prevent direct contact to the device before servicing the device.
Specifications Specifications Description Interface I/O Port EKI-1242ECMS: 2 x RJ45 + 2 x EtherCAT + 2 x RS-232/422/485 EKI-1242IECMS: 2 x RJ45 + 2 x EtherCAT + 2 x RS-232/422/485 EKI-1242EIMS: 2 x RJ45 + 2 x EtherNet/IP + 2 x RS-232/422/485 ...
1.2.1 Front View P2 Status Default Serial ports EKI-1242ECMS Figure 1.1 Front View (EKI-1242ECMS/EKI-1242IECMS) No. Item Description System LED panel See “LED Indicators” on page 7 for further details. Default Press less than 5 seconds to restart device, press over 5 sec- onds to reset to factory default.
P2 Status Default Serial ports EKI-1242EIMS Figure 1.2 Front View (EKI-1242EIMS/EKI-1242IEIMS) No. Item Description System LED panel See “LED Indicators” on page 7 for further details. Default Press less than 5 seconds to restart device, press over 5 sec- onds to reset to factory default. ETH port RJ45 port for Modbus/TCP and device configuration.
P2 Status Default Serial ports EKI-1242PNMS Figure 1.3 Front View (EKI-1242PNMS/EKI-1242IPNMS) No. Item Description System LED panel See “LED Indicators” on page 7 for further details. Default Press less than 5 seconds to restart device, press over 5 sec- onds to reset to factory default. ETH port RJ45 port for Modbus/TCP and device configuration.
1.2.2 Rear View Figure 1.4 Rear View No. Item Description DIN-Rail mounting Mounting plate used for the installation to a standard DIN rail plate 1.2.3 Top View Figure 1.5 Top View No. Item Description Terminal block Connect cabling for power and alarm wiring Wall mounting holes Screw holes (x4) used in the installation of a wall mounting plate Ground terminal Screw terminal used to ground chassis...
Wall mounting holes Screw holes (x4) used in the installation of a wall mounting plate Component cover Open to access microSD card port (only supports FAT32 or exFAT file system). 1.2.5 LED Indicators 1.2.5.1 EKI-1242ECMS/EKI-1242IECMS Catalog LED Name LED Color Description System Green Power 1 is ON...
Page 17
Catalog LED Name LED Color Description Port LED Serial Orange Serial port is receiving data Green Serial port is transmitting data No data is transmitted or received through the serial port EtherCAT RJ45 Orange Off: init Flash 1x-12x: SafeOP 1x ...
Page 18
Catalog LED Name LED Color Description Port LED Serial Orange Serial port is receiving data Green Serial port is transmitting data No data is transmitted or received through the serial port RJ45 Green Off: No link Blinking: Link and activity ...
Installation Guidelines The following guidelines are provided to optimize the device performance. Review the guidelines before installing the device. Make sure cabling is away from sources of electrical noise. Radios, power lines, and fluorescent lighting fixtures can interference with the device performance. ...
Installing the Fieldbus Gateway 2.3.1 DIN Rail Mounting The DIN rail mount option is the quickest installation option. Additionally, it optimizes the use of rail space. The metal DIN rail kit is secured to the rear of the fieldbus gateway. The device can be mounted onto a standard 35 mm (1.37”) x 7.5 mm (0.3”) height DIN rail.
See the following figure for an illustration of a completed DIN installation proce- dure. Figure 2.2 Correctly Installed DIN Rail Kit Grasp the bottom of the fieldbus gateway and slightly rotate it upwards. If there is resistance, the fieldbus gateway is correctly installed. Otherwise, re-attempt the installation process from the beginning.
2.3.2 Wall-Mounting The wall mounting option provides better shock and vibration resistance than the DIN rail vertical mount. Note! When installing, make sure to allow for enough space to properly install the cabling. Before the device can be mounted on a wall, you will need to remove the DIN rail plate.
Once the wall mounting plates are secure on the device, you will need to attach the wall screws (x4). Locate the installation site and place the fieldbus gateway against the wall, mak- ing sure it is the final installation location. Use the wall mount plates as a guide to mark the locations of the screw holes.
Connecting the Fieldbus Gateway to Ethernet Ports 2.4.1 RJ45 Ethernet Cable Wiring For RJ45 connectors, data-quality, twisted pair cabling (rated CAT5 or better) is rec- ommended. The connector bodies on the RJ45 Ethernet ports are metallic and con- nected to the GND terminal. For best performance, use shielded cabling. Shielded cabling may be used to provide further protection.
MicroSD Card Installation The EKI-1242 Series provides user with an easy way to backup, restore, and deploy configuration settings. The fieldbus gateway provides a microSD card slot to support simple means to manage system configuration settings. Only microSD cards with the FAT32 or exFAT file systems are supported. 2.6.1 Installing a MicroSD Card Before continuing, make sure the file system on the microSD card is set to...
2.6.2 Utilizing a MicroSD Card The device includes a microSD port to provide easy functionality to backup and deployment operations. The following information describes the supported uses when a microSD card (FAT32 or exFAT) is installed in the device. Further information see “Backup Manager” on page 44 and “Upgrade Manager” on page 45.
Power Supply Installation 2.7.1 Overview Warning! Power down and disconnect the power cord before servicing or wiring the fieldbus gateway. Caution! Do not disconnect modules or cabling unless the power is first switched off. The device only supports the voltage outlined in the type plate. Do not use any other power components except those specifically designated for the fieldbus gateway device.
2.7.2 Considerations Take into consideration the following guidelines before wiring the device: The Terminal Block (CN1) is suitable for 12-24 AWG (3.31 - 0.205 mm ). Torque value 7 lb-in. The cross sectional area of the earthing conductors shall be at least 3.31 mm ...
Caution! Do not block air ventilation holes. Electromagnetic Interference (EMI) affects the transmission performance of a device. By properly grounding the device to earth ground through a drain wire, you can setup the best possible noise immunity and emissions. Drain Wire with Lug Connection to Grounding Point Figure 2.13 Grounding Connection...
2.7.5 Wiring the Power Inputs Caution! Do not disconnect modules or cabling unless the power is first switched off. The device only supports the voltage outlined in the type plate. Do not use any other power components except those specifically designated for the fieldbus gateway device.
Insert a small flat-bladed screwdriver in the V1+/V1- wire-clamp screws, and loosen the screws. Insert the negative/positive DC wires into the V+/V- terminals of PW1. If setting up power redundancy, connect PW2 in the same manner. Tighten the wire-clamp screws to secure the DC wires in place. Loosening Securing Wire-clamp...
Log In To access the login window, connect the device to the network, see “Connecting the Fieldbus Gateway to Ethernet Ports” on page 18. Once the fieldbus gateway is installed and connected, power on the fieldbus gateway see the following procedures to log into your fieldbus gateway.
Overview 3.2.1 Device Information The Device Information menu lists information, such as: Model, Firmware version, MAC Address, and more, pertaining to the system. The information is for review only. To modify the device information, see the respective item within the user interface. The following figures represent multiple supported devices.
The following figure displays the menu as found in the EKI-1242EIMS/EKI- 1242IEIMS. Figure 3.5 Overview > Device Information > EtherNet/IP The following table describes the items in the previous figure. Item Description MAC Address Displays the MAC address of the device. Mode Displays the IP address setting mode of the device.
3.2.2 Diagnose To access this page, click Overview > Diagnose. The following tables are only available for EKI-1242ECMS/EKI-1242IECMS. The ensuing table for EtherCAT table settings are informational only: Current State, Port A (Input) and Port B (Output). The ensuing table for Modbus table settings are informational only: Transaction Name, Connect Status, Read Counter, Write Counter, Connect Error Counter, Connect Error Counter and Write Error Counter.
1242EIMS, monitor EtherCAT input data for EKI-1242ECMS/EKI-1242IECMS and Profinet slot data for EKI-1242PNMS. To access this page, click Overview > Data View. The following figure displays the menu as found in the EKI-1242ECMS/EKI- 1242IECMS. Figure 3.7 Overview > Data View (EKI-1242ECMS/EKI-1242IECMS) The following table describes the items in the previous figure.
The following figure displays the menu as found in the EKI-1242EIMS/EKI- 1242IEIMS. Figure 3.8 Overview > Data View (EKI-1242EIMS/EKI-1242IEIMS) The following table describes the items in the previous figure. Item Description Auto Refresh Check the option to automatically have the table refresh the information.
The following figure displays the menu as found in the EKI-1242PNMS/EKI- 1242IPNMS. Figure 3.9 Overview > Data View (EKI-1242PNMS/EKI-1242IPNMS) EKI-1242 Series User Manual...
The IP Setting menu allows you to select a static or DHCP network configuration. The Static displays the configurable settings for the static option. To access this page, click Network Setting > IP Setting. The following figure displays the menu as found in the EKI-1242ECMS/EKI- 1242IECMS. Figure 3.10 Network Setting > IP Setting The following table describes the items in the previous figure.
The following figure displays the menu as found in the EKI-1242EIMS/EKI- 1242IEIMS. Figure 3.11 Network Setting > IP Setting The following table describes the items in the previous figure. Item Description Modbus/TCP IP Address Setting Mode Click the drop-down menu to select the IP address setting mode: Static address, or DHCP client.
Item Description Gateway Enter a value to specify the default gateway for the interface. The default is 192.168.1.254. The following figure displays the menu as found in the EKI-1242PNMS/EKI- 1242IPNMS. Figure 3.12 Network Setting > IP Setting The following table describes the items in the previous figure. Item Description Modbus/TCP IP Address Setting...
Serial Settings 3.4.1 Port To access this page, click Serial Settings > Port 1/Port 2. Figure 3.13 Serial Settings > Port 1/Port 2 The following table describes the items in the previous figure. Item Description Type Click the drop-down menu to select a serial interface: RS232, RS422 or RS485.
Protocol Setting 3.5.1 EtherCAT Setting The EtherCAT Setting page is only available for EKI-1242ECMS/EKI-1242IECMS. To access this page, click Protocol Setting > EtherCAT Setting. Figure 3.14 Protocol Setting > EtherCAT Setting The following table describes the items in the previous figure.
3.5.3 PROFINET Setting On the PROFINET network, the gateway transmits mapped data to PROFINET I/O Slot. There are two types of slot mappings as defined in the following figure. The PROFINET Setting page is only available for EKI-1242PNMS/EKI-1242IPNMS. To access this page, click Protocol Setting > PROFINET Setting. Figure 3.16 Protocol Setting >...
3.5.4 Modbus Setting To communicate with remote Modbus/TCP slave devices, specify the Modbus command for each slave device. Each slave device may need more than one command for communication, so it is necessary to add all the commands manually. To access this page, click Protocol Setting > Modbus Setting. Figure 3.17 Protocol Setting >...
To add a new transaction: Figure 3.18 Protocol Setting > Modbus Setting > Add The following table describes the items in the previous figure. Item Description Name Enter the name to identify the transaction, max length: 32 characters. Mode Click the drop-down menu to select Modbus protocol mode: TCP or RTU.
Page 51
Item Description Function Code The master device delivers packets to the slave device containing instructions as defined in the function code fields. The following is a list of the supported function codes. 01: Read coils 02: Read discrete inputs ...
The Mapping Overview function allows the viewing of data between Modbus RTU/ TCP to PROFINET Slot, EtherNet/IP I/O or EtherCAT PDI/PDO. To access this page, click Protocol Setting > Mapping Overview. The following tables are available for EKI-1242ECMS/EKI-1242IECMS only. The ensuing table for Input Mapping Overview table settings are informational only: Input Data Byte buffer view, Input Data Name, Input Data Function Code, Input Data Size (Byte) and Input Data Byte range.
The following table describes the items in the previous figure. Item Description Password Enter the character set to define password. Confirmation Retype the password entry to confirm the profile password. Submit Click Submit to save the values and update the screen. If you want to disable the password protection, change the password to the default option None (leave the password column blank).
3.6.3 Upgrade Manager The Upgrade Manager page allows you to upgrade firmware. To access this page, click System Management > Upgrade Manager. Figure 3.22 System Management > Upgrade Manager The following table describes the items in the previous figure. Item Description Browse File Click Browse to select the firmware file.
3.6.6 Apply Configuration To access this page, click System Management > Apply Configuration. Click Apply and Reboot to have configuration changes you have made to be saved across a system reboot. All changes submitted since the previous save or system reboot will be retained by the device.
Need help?
Do you have a question about the EKI-1242ECMS and is the answer not in the manual?
Questions and answers