background image

EKI-1121L/1122L/1124L User Manual

ii

Copyright

The documentation and the software included with this product are copyrighted 2010
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. However,
Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements
of the rights of third parties, which may result from its use.

Acknowledgements

Intel and Pentium are trademarks of Intel Corporation.

Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp.

All other product names or trademarks are properties of their respective owners.

Product Warranty (2 years)

Advantech warrants to you, the original purchaser, that each of its products will be
free from defects in materials and workmanship for two years from the date of pur-
chase. 

This warranty does not apply to any products which have been repaired or altered by
persons other than repair personnel authorized by Advantech, or which have been
subject to misuse, abuse, accident or improper installation. 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 customers never need to use our repair service. If an Advantech product is defec-
tive, it will be repaired or replaced at no charge during the warranty period. For out-
of-warranty repairs, you will be billed according to the cost of replacement materials,
service time and freight. Please consult your dealer for more details.

If you think you have a defective product, follow these steps:

1.

Collect all the information about the problem encountered. (For example, CPU 
speed, Advantech products used, other hardware and software used, etc.) Note 
anything abnormal and list any onscreen messages you get when the problem 
occurs.

2.

Call your dealer and describe the problem. Please have your manual, product, 
and any helpful information readily available.

3.

If your product is diagnosed as defective, obtain an RMA (return merchandize 
authorization) number from your dealer. This allows us to process your return 
more quickly.

4.

Carefully pack the defective product, a fully-completed Repair and Replacement 
Order Card and a photocopy proof of purchase date (such as your sales receipt) 
in a shippable container. A product returned without proof of the purchase date 
is not eligible for warranty service.

5.

Write the RMA number visibly on the outside of the package and ship it prepaid 
to your dealer.

Part No. 2003112200

Edition 1

Printed in Taiwan

July 2010

Содержание EKI-1121L

Страница 1: ...User Manual EKI 1121L EKI 1122L EKI 1124L 1 2 4 port Programmable Serial Device Servers...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 7: ...Chapter 1 1 Introduction...

Страница 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...

Страница 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...

Страница 10: ...EKI 1121L 1122L 1124L User Manual 4...

Страница 11: ...Chapter 2 2 Getting Started...

Страница 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...

Страница 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...

Страница 14: ...EKI 1121L 1122L 1124L User Manual 8 Figure 2 3 Back View of EKI 1121L Figure 2 4 Top View of EKI 1121L...

Страница 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...

Страница 16: ...EKI 1121L 1122L 1124L User Manual 10 Figure 2 7 Back View of EKI 1122L Figure 2 8 Top View of EKI 1122L...

Страница 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...

Страница 18: ...EKI 1121L 1122L 1124L User Manual 12 Figure 2 11 Back View of EKI 1124L Figure 2 12 Top View of EKI 1224L...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 23: ...Chapter 3 3 Installation and Configuration...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 42: ...EKI 1121L 1122L 1124L User Manual 36...

Страница 43: ...Chapter 4 4 Development Guide...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 48: ...EKI 1121L 1122L 1124L User Manual 42...

Страница 49: ...Chapter 5 5 Troubleshooting...

Страница 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...

Страница 51: ...Appendix A A Restore the Platform Kernel...

Страница 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...

Страница 53: ...Appendix B B Erase JFFS2 File System...

Страница 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...

Страница 55: ...Appendix C C Command Collection...

Страница 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...

Страница 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...

Страница 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...

Страница 59: ...53 EKI 1121L 1122L 1124L User Manual Appendix C Command Collection...

Страница 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...

Отзывы: