8/16 port rs-232/422/485 serial device server (rackmount) (107 pages)
Summary of Contents for Advantech EKI-1121L
Page 1
User Manual EKI-1121L, EKI-1122L, EKI-1124L 1/2/4-port Programmable Serial Device Servers...
Page 2
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.
Whether your new Advantech equipment is destined for the laboratory or the factory floor, 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.
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.
LED Indicators ................6 Table 2.1: EKI-1121L/1122L/1124L LED Indicators ....6 Dimensions (Units: mm)................7 Figure 2.1 Front View of EKI-1121L ..........7 Figure 2.2 Side View of EKI-1121L..........7 Figure 2.3 Back View of EKI-1121L..........8 Figure 2.4 Top View of EKI-1121L..........8 Figure 2.5 Front View of EKI-1122L ..........
Page 6
3.2.5 TFTP Service and Client............. 26 Figure 3.9 TFTP Server in EKI-1121L/1122L/1124L ....26 Figure 3.10TFTP Client in EKI-1121L/1122L/1124L ....27 3.2.6 NFS Client .................. 28 Figure 3.11NFS Client in EKI-1121L/1122L/1124L ....28 3.2.7 NTP Client .................. 29 Figure 3.12NTP Client in EKI-1121L/1122L/1124L ....29 3.2.8...
The EKI-1121L/1122L/1124L is a Linux-based RISC-grade embedded platform that offers 2 LAN and 1/2/4 serial ports. EKI-1121L/1122L/1124L could operate well under 0~60°C. Its compact size and light weight could fit in industrial robust environment. With these advantages, EKI-1121L/ 1122L/1124L is suitable for communication gateway for converting communication protocol.
Network: Link, Active – 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 mounting hardware Serial protection: 15KV ESD Ethernet protection: Built-in 1.5 KV magnetic isolation...
In this chapter, you will be given an overview of the EKI-1121L/1122L/1124L hard- ware installation procedures. As mentioned in the previous chapter, the EKI-1221L/ 1222L/1224L comes ready with all network connections, including Ethernet and RS- 232/422 /485 port connections. Understanding the EKI-1121L/1122L/1124L Networks have become increasingly vital for industrial automation applications.
Connecting Hardware This section will explain how to find a proper location for your EKI-1121L/1122L/ 1124L and how to connect to the network, hock up the power cable and connect to the EKI-1121L/1122L/1124L. 2.4.1 Choosing the Location Due to its versatility and innovative design, the EKI-1122L/1122L/1124L can be:...
2.4.1.2 DIN-rail Mounting The EKI-1121L/1122L/1124L 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 EKI-1121L/1122L/1124L, please screw the DIN-rail kit on the Modbus data gateway first.
Figure 2.15 Din-rail Step2 2.4.2 Connecting Power The EKI-1121L/1122L/1124L supports dual 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.
Ethernet cable. For configuration or troubleshooting purposes, user may need to con- nect the EKI-1121L/1122L/1124L directly to the host PC. In this operation mode, user can use a crossover Ethernet cable to connect the EKI-1121L/1122L/1124L to the host PC's Ethernet connector.
Use baud rate 115200 bps, no parity, 8 bits data length and 1 stop bit. Connect the power cord to the EKI-1121L/1122L/1124L and plug the other end of the cord into the power outlet. Then boot the EKI-1121L/1122L/1124L immedi- ately.
'hwclock -s' to read the real time clock into system. Now if you reboot the EKI-1121L/1122L/1124L, the time is still correct. Because com- mand 'hwclock -s' in /etc/rc(/var/other1/init.custom) executes by default.
IP. /etc/rc(/var/other1/init.custom) will be executed when system boot up if the file exists. ifconfig eth0 10.0.0.1 broadcast 10.0.0.255 netmask 255.255.255.0 And user can configure IP address with command line. For example: Figure 3.3 Configure Ethernet Interface Using Static IP EKI-1121L/1122L/1124L User Manual...
Using DHCP User can modify the /etc/rc(/var/other1/init.custom) file like below to make system boot up using DHCP. dhcpcd eth0 & And user can obtain IP address with command line. For example: Figure 3.4 Configure Ethernet Interface Using DHCP EKI-1121L/1122L/1124L User Manual...
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 you can telnet to other computer by telnet client in EKI- 1121L/1122L/1124L as well.
FTP Service and Client When boot up the EKI-1121L/1122L/1124L, the ftp service 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-1121L/1122L/1124L's IP address.
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' command line, user must use full path of file of EKI-1121L/1122L/ 1124L and the file name must be same as that will be put.
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 '172.21.73.101' is another computer's IP address. EKI-1121L/1122L/1124L User Manual...
3.2.5 TFTP Service and 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 like this: Figure 3.9 TFTP Server in EKI-1121L/1122L/1124L...
'172.21.73.77' is your EKI-1121L/1122L/1124L's IP address. In 'get' command line, user must use full path of file that will be received from EKI-1121L/1122L/1124L. In 'put' command 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.
3.2.6 NFS Client User can mount file system to EKI-1121L/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/test' is file system supported by another computer. User can mount it to EKI-1121L/1122L/1124L.
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 '172.21.73.74' is NTP server's IP address. EKI-1121L/1122L/1124L User Manual...
The EKI-1121L/1122L/1124L has built-in SNMP (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 Client in EKI-1121L/1122L/1124L Note! "/etc/snmp/snmpd.conf"...
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 configurable file snmpd.conf to change configuration. EKI-1121L/1122L/1124L User Manual...
3.2.9 Mail Client EKI-1121L/1122L/1124L use smtpclient to send mail which is a minimal SMTP client that takes an email message body and passes it on to an SMTP server. When boot up the EKI-1121L/1122L/1124L, the smtp client is already started by default.
NAME=USERNAME DIAL_SCRIPT=/var/other1/ppp-on-dialer pppd lock modem crtscts asyncmap 20A0000 escape FF $DEV $BAUDRATE noipdefault defaultroute noauth name $NAME connect $DIAL_SCRIPT Please replace '/dev/ttyS3' and '115200' with correct serial port and baud rate. And replace 'USERNAME' with login account. EKI-1121L/1122L/1124L User Manual...
Install the Cross Compile Tool Chain Install Linux distribution on your host computer. Use root account to login system. Put arm-uclinux-tool-20080121-advantech.tar.bz2 under "\" path. You can find the file at release\toolchain\linux\. Use "tar jxvf arm-uclinux-tool-20080121-advantech.tar.bz2" to uncompress the tool chain.
4.2.2 User Space via FTP Sometimes, user wants to execute applications in file system of EKI-1121L/1122L/ 1124L. Please use the following commands to get and execute the files. Figure 4.1 How to Get Applications via FTP 4.2.3 Root File-system we support jffs2 file system in current version.
<unistd.h> and "ledman.h" header file to use the required functions. Then, use the following program to set the command, followed by the ioctl function to control leds. if(flag) flag = 0; cmd = LEDMAN_CMD_ON; /*your action*/ EKI-1121L/1122L/1124L User Manual...
Page 47
= 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, please see the provided lmtest.c example. EKI-1121L/1122L/1124L User Manual...
Troubleshooting After restart the EKI-1121L/1122L/1124L, You may encounter following or similar warnings: JFFS2 warning: (270) jffs2_do_read_inode_internal: Truncating ino #30 to 23732 bytes failed 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.
Just in case if the kernel or flash is corrupted, follow the below steps to recover the kernel and root file system. Connect the EKI-1121L/1122L/1124L with console. Press Ctrl + C when power on the EKI-1121L/1122L/1124L. You should see the following messages. Start your TFTP server and put the kernel.lzo and jffs2fs.img under the TFTP directory.
Checks file types and compares values returning an exit code determined by the value of an expression. top : touch: Update the last-modified date on the given file[s]. tr: Translate, squeeze, and/or delete characters from standard input,writing to standard output. vi: Visual file editor. EKI-1121L/1122L/1124L User Manual...
Print the route packets take to a network host. wget: Retrieves files via HTTP or FTP. Process kill: Send a signal to the specified process(es). killall: Send a signal to the specified process(es) ps:Report process status. This version of ps accepts no options. EKI-1121L/1122L/1124L User Manual...
TTY: Print the file name of the terminal connected to standard input. uname: Print certain system information. uptime: Display the time since the last boot. usleep: Pause for N microseconds. yes: Repeatedly outputs a line with all specified string(s), or 'y'. EKI-1121L/1122L/1124L User Manual...
Need help?
Do you have a question about the EKI-1121L and is the answer not in the manual?
Questions and answers