background image

User Manual

EKI-1121L, EKI-1122L, 
EKI-1124L

1/2/4-port Programmable Serial 
Device Servers

Summary of Contents for EKI-1121L

Page 1: ...User Manual EKI 1121L EKI 1122L EKI 1124L 1 2 4 port Programmable Serial Device Servers...

Page 2: ...allation 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 customer...

Page 3: ...you can be assured that your product will provide the reliability and ease of operation for which the name Advantech has come to be known Your satisfaction is our number one concern Here is a guide t...

Page 4: ...ever 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...

Page 5: ...of EKI 1224L 12 2 4 Connecting Hardware 13 2 4 1 Choosing the Location 13 Figure 2 13Combine the Metal Mounting Kit 13 Figure 2 14Din rail Step1 14 Figure 2 15Din rail Step2 15 2 4 2 Connecting Power...

Page 6: ...PPoE client 34 3 3 Partition of Flash 35 Chapter 4 Development Guide 37 4 1 Establish Develop Environment 38 4 1 1 Install the Cross Compile Tool Chain 38 4 1 2 Setup the Runtime Environment 38 4 2 Pu...

Page 7: ...Chapter 1 1 Introduction...

Page 8: ...platform for Linux build in flash Compact size and light weight 0 60 C wide range operation temperature DIN rail and wall mounting 10 100 Mbps Base T standard Surge protection for RS 485 line and pow...

Page 9: ...ctive Serial Tx Rx Power Requirements Dual unregulated 12 to 48 Vdc with surge protection Power Consumption EKI 1121L 2 W EKI 1122L 2 5 W EKI 1124L 4 W Enclosure Metal with solid DIN rail or panel mou...

Page 10: ...EKI 1121L 1122L 1124L User Manual 4...

Page 11: ...Chapter 2 2 Getting Started...

Page 12: ...ways to create networked applications for remote managing and accessing data for their control devices that wasn t possible before 2 2 Hardware The following instructions will give the overview of EKI...

Page 13: ...7 EKI 1121L 1122L 1124L User Manual Chapter 2 Getting Started 2 3 Dimensions Units mm EKI 1121L Figure 2 1 Front View of EKI 1121L Figure 2 2 Side View of EKI 1121L...

Page 14: ...EKI 1121L 1122L 1124L User Manual 8 Figure 2 3 Back View of EKI 1121L Figure 2 4 Top View of EKI 1121L...

Page 15: ...9 EKI 1121L 1122L 1124L User Manual Chapter 2 Getting Started EKI 1122L Figure 2 5 Front View of EKI 1122L Figure 2 6 Side View of EKI 1122L...

Page 16: ...EKI 1121L 1122L 1124L User Manual 10 Figure 2 7 Back View of EKI 1122L Figure 2 8 Top View of EKI 1122L...

Page 17: ...11 EKI 1121L 1122L 1124L User Manual Chapter 2 Getting Started EKI 1124L Figure 2 9 Front View of EKI 1124L Figure 2 10 Side View of EKI 1124L...

Page 18: ...EKI 1121L 1122L 1124L User Manual 12 Figure 2 11 Back View of EKI 1124L Figure 2 12 Top View of EKI 1224L...

Page 19: ...1121L 1122L 1124L 2 4 1 Choosing the Location Due to its versatility and innovative design the EKI 1122L 1122L 1124L can be Fixed to a panel mount Fixed to a DIN rail 2 4 1 1 Panel Wall Mounting The E...

Page 20: ...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 1121L 1122L 1124L please screw the DIN rail kit on the Modbus data gateway first Fi...

Page 21: ...12 to 48 VDC power inputs and a power fail relay output Below figure is the power terminal block pin assignments Please refer it to connect to the proper power and polarity Figure 2 16 Power Connector...

Page 22: ...nt transmission speed on the network and configure itself accordingly For normal operation the EKI 1121L 1122L 1124L can be connected to other hubs or switches through a twisted pair straight through...

Page 23: ...Chapter 3 3 Installation and Configuration...

Page 24: ...om on Linux third party application Netterm or kind of Use baud rate 115200 bps no parity 8 bits data length and 1 stop bit 4 Connect the power cord to the EKI 1121L 1122L 1124L and plug the other end...

Page 25: ...N MMDDhhmm CC YY ss FORMAT For example Tue Apr 10 15 39 12 UTC 2007 You can type in date 041015392007 12 to update system date Figure 3 2 Configure RTC In order to maintain the correct time when power...

Page 26: ...rnet when booting up by default 3 2 2 1 Using Static IP User can modify the etc rc var other1 init custom file like below to make system boot up using static IP etc rc var other1 init custom will be e...

Page 27: ...and Configuration 3 2 2 2 Using DHCP User can modify the etc rc var other1 init custom file like below to make system boot up using DHCP And user can obtain IP address with command line For example Fi...

Page 28: ...ted by default User can telnet to EKI 1121L 1122L 1124L by telnet client in another com puter After you telnet into the EKI 1121L 1122L 1124L all the other operations is the same as using console And...

Page 29: ...rvice is already started by default User can ftp to EKI 1121L 1122L 1124L by ftp client in another computer to get and put files Figure 3 6 FTP Client in Another Computer 172 21 73 77 is your EKI 1121...

Page 30: ...omputer Please look at get and put command line In get command line user must use full path of file that will be transmitted from EKI 1121L 1122L 1124L to a local file with the same name In put comman...

Page 31: ...3 Installation and Configuration If user wants to connect other computers by ftp client in EKI 1121L 1122L 1124L use command to put and get file like this Figure 3 8 FTP Client in EKI 1121 1122 1124 1...

Page 32: ...d Client When boot up the EKI 1121L 1122L 1124L the tftp service is already started by default User can tftp to EKI 1121L 1122L 1124L by tftp client in another computer Use command to get and put file...

Page 33: ...mmand line user must use full path of file of EKI 1121L 1122L 1124L and file name must be the same as that will be put If user wants to connect another computer by tftp client in EKI 1121L 1122L 1124L...

Page 34: ...21L 1122L 1124L provided by another computer with NFS service Use mount command like this Figure 3 11 NFS Client in EKI 1121L 1122L 1124L 172 21 73 101 is another computer s IP address home jinxin tes...

Page 35: ...ter 3 Installation and Configuration 3 2 7 NTP Client User can synchronize time on EKI 1121L 1122L 1124L by using ntp client Use msntp command like this Figure 3 12 NTP Client in EKI 1121L 1122L 1124L...

Page 36: ...Simple Network Management Proto col v1 and v2c agent software When boot up the EKI 1121L 1122L 1124L the snmp client is not started by default user must start snmp serveice like this Figure 3 13 SNMP...

Page 37: ...lation and Configuration Then user can manage EKI 1121L 1122L 1124L by snmp service in another com puter use snmpwalk command like this Figure 3 14 SNMP Message in Manage Computer And user can modify...

Page 38: ...4L the smtp client is already started by default User can send mail via smtp server Use mail command to send mail like this Figure 3 15 MAIL Client in EKI 1121 1122 1124 172 21 73 74 is smtp server s...

Page 39: ...ddress box If user wants to make your pages You can do it like this Firstly save your own homepage to the following directory var other1 www And then save your CGI page to the following directory var...

Page 40: ...ATZ INIT_MODEM ATL1M1V1S11 55S7 75 DIAL ATDT TELEPHONE chat ABORT ERROR ABORT BUSY ABORT NO ANSWER ABORT RING r n r nRING AT OK c OK HANGUP OK RESET_MODEM OK INIT_MODEM TIMEOUT 30 OK DIAL CONNECT var...

Page 41: ...following command to launch the pppoe connection After the connection is built a new Ethernet interface ppp will attach to system 3 3 Partition of Flash As mentioned before the flash has 4 partitions...

Page 42: ...EKI 1121L 1122L 1124L User Manual 36...

Page 43: ...Chapter 4 4 Development Guide...

Page 44: ...0121 bin to environment variant PATH and export it 3 Add following line into bash_profile According to the different shell you use the configuration file name maybe different 4 Re login the account 5...

Page 45: ...ted device file To access a serial port you simply open the corresponding device file Port configuration is done using the POSIX termios interface Developing in C you will first need to include the te...

Page 46: ...TCSANOW PortTermios For a complete example of serial port configuration please see the provided seria lecho c example 4 3 2 RTC APIs To access a RTC device you simply open the corresponding device fil...

Page 47: ...ter 4 Development Guide else flag 1 cmd LEDMAN_CMD_OFF your action if ioctl devfp cmd LEDMAN_HEARTBEAT 0 ioctl devfp cmd LEDMAN_RESET 0 your action For a complete example of serial port configuration...

Page 48: ...EKI 1121L 1122L 1124L User Manual 42...

Page 49: ...Chapter 5 5 Troubleshooting...

Page 50: ...led because it only had 12288 bytes to start with In this case you need fis load and fis write but not fis create the jffs2fs img again under redboot For examples redboot load r v h 172 21 73 101 b 0x...

Page 51: ...Appendix A A Restore the Platform Kernel...

Page 52: ...errors jffs2_get_inode_nodes Node header CRC failed at 0x06add4 df0e e002 df4edf4e df4edf4e This is because that part of flash space is not formatted according to the jffs2 format Generally speaking...

Page 53: ...Appendix B B Erase JFFS2 File System...

Page 54: ...o valid JFFS2 nodes mtdblock_release ok mount wrong fs type bad option bad superblock on dev mtdblock3 missing codepage or other error mtdblock_open ok mtdblock_release ok In some cases useful info is...

Page 55: ...Appendix C C Command Collection...

Page 56: ...on options 20 rmdir Remove the directory ies if they are empty 21 sync Write all buffered filesystem blocks to disk C 2 Editor 22 cat Concatenates FILE s and prints them to stdout 23 cmp Compare files...

Page 57: ...used for PPP and other processes that need to talk to modems 54 hostname Get or set the hostname or DNS domain name 55 ifconfig Configure a network interface 56 iproute Equivalent to selecting route...

Page 58: ...shutdown in the hard ware clock so the hardware will keep the correct time when Linux is _not_ run ning 73 mesg Mesg controls access to your terminal by others It is typically used to allow or disallo...

Page 59: ...53 EKI 1121L 1122L 1124L User Manual Appendix C Command Collection...

Page 60: ...ations 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 permis sion o...

Reviews: