Inhaltszusammenfassung zur Seite Nr. 1
UC-7420/7410 User’s Manual
Third Edition, June 2005
www.moxa.com/product
Moxa Technologies Co., Ltd.
Tel: +886-2-8919-1230
Fax: +886-2-8919-1231
Web: www.moxa.com
MOXA Technical Support
Worldwide: support@moxa.com.tw
The Americas support@moxa.com
Inhaltszusammenfassung zur Seite Nr. 2
UC-7420/7410 User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2005 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of The Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers. Disclaimer
Inhaltszusammenfassung zur Seite Nr. 3
Table of Contents Chapter 1 Introduction ..................................................................................................1-1 Overview.................................................................................................................................. 1-2 Package Checklist....................................................................................................... 1-2 Product Features...................................................................
Inhaltszusammenfassung zur Seite Nr. 4
Compiling tcps2.c..................................................................................................... 2-16 Uploading tcps2-release and Running the Program ................................................. 2-17 Testing Procedure Summary .................................................................................... 2-19 Chapter 3 Managing Embedded Linux ........................................................................3-1 System Version Information...............
Inhaltszusammenfassung zur Seite Nr. 5
Windows UC Finder ................................................................................................................ 6-2 Installing the Software................................................................................................ 6-2 Broadcast Search ........................................................................................................ 6-4 Linux ucfinder................................................................................................
Inhaltszusammenfassung zur Seite Nr. 6
1 1 Chapter 1 Introduction Welcome to MOXA UC-7420/7410 RISC-based Communication Platforms. Available features include eight RS-232/422/485 serial ports, dual 10/100 Mbps Ethernet ports, a PCMCIA interface for wireless LAN communication, and CompactFlash and USB ports for mass storage disk expansion, making UC-7420/7410 ideal for your embedded applications. The following topics are covered in this chapter: Overview Package Checklist Product Features Product Hardware Specificatio
Inhaltszusammenfassung zur Seite Nr. 7
UC-7420/7410 User’s Manual Introduction Overview UC-7420/7410 RISC-based Communication Platforms are ideal for embedded applications. UC-7420/7410 has eight RS-232/422/485 serial ports, dual 10/100 Mbps Ethernet ports, a PCMCIA interface for wireless LAN communication, and CompactFlash and USB port for mass storage flash disk expansion. UC-7420/7410 uses an Intel XScale IXP-422 266 Mhz RISC CPU. Unlike the X86 CPU, which uses a CISC design, the IXP-422’s RISC design architecture and moder
Inhaltszusammenfassung zur Seite Nr. 8
UC-7420/7410 User’s Manual Introduction PCMCIA/CompactFlash expansion (UC-7420 only) USB Host for mass storage device (UC-7420 only) LCM display and Keypad for HMI Linux-ready communication platform DIN-Rail or wall mounting installation Robust fanless design Product Hardware Specifications UC-7410-LX UC7420-LX CPU Intel Xscale IXP-422, 266 MHz RAM 128 MB Flash 32 MB LAN Auto-sensing 10/100 Mbps x 2 LAN Protection Built-in 1.5 KV magnetic isolation Serial Ports Eight RS-232/
Inhaltszusammenfassung zur Seite Nr. 9
UC-7420/7410 User’s Manual Introduction Hardware Introduction Appearance and Dimensions Appearance UC-7410/7420 Rear View 12-48 VDC Power Input 10/100 Mbps Ethernet x 2 USB DC 12-48V PCMCIA LAN1 LAN2 Console USB 2.0 Host x 2, CF A Type Connector V+ V- USB 1.1 Client x 1, CF x 1 miniB Connector RS-232 PCMCIA x 1 PPP/Console UC-7410/7420 Top View Graphics LCM 128 x 64 Dots 5 Buttons UC-7410/7420 Front View RJ45 RS-232/422/485 Connectors x 8 RS-232/422/485 Reset to default P1 P
Inhaltszusammenfassung zur Seite Nr. 10
UC-7420/7410 User’s Manual Introduction Dimensions 197 mm [7.76"] 1-5 44 mm 125 mm [4.92"] [1.73"]
Inhaltszusammenfassung zur Seite Nr. 11
UC-7420/7410 User’s Manual Introduction Hardware Block Diagram The following block diagram shows the layout of UC-7420’s internal components (the layout for UC-7410 is slightly different). Ethernet USB PCMCIA & USB Console LAN2 LAN1 Power Host CompactFlash Client USB PCI to cardbus PHY PHY controller Bridge Power Xscale IXP-422 266 MHz circuit 32 MB Flash PCI Bus 128 MB SDRAM RTC Moxa UART ASIC LCM Display & Keypad 1 2 3 4 5 6 7 8 RS-232/422/485 LED Indicators UC-7420/7410 has 12 LED indi
Inhaltszusammenfassung zur Seite Nr. 12
UC-7420/7410 User’s Manual Introduction Reset-type Buttons UC-7420/7410 has two reset-type buttons. The button labeled Reset has the same effect as unplugging the power and then plugging the power back in. The button labeled Reset to default returns UC-7420/7410 to the factory default parameter configuration. Reset Button Pressing the Reset button initiates a hardware reboot. The button plays the same role as a desktop PC’s reset button. In normal use, you should NOT use the Reset Button
Inhaltszusammenfassung zur Seite Nr. 13
UC-7420/7410 User’s Manual Introduction Placement Options Wall or Cabinet The two metal brackets that come standard with UC-7420/7410 are used to attach UC-7420/7410 to a wall, or the inside of a cabinet. Use two screws per bracket first to attach the brackets to the bottom of the UC-7420/7410 (Fig. A). Next, use two screws per bracket to attach the UC-7420/7410 to a wall or cabinet (Fig. B). Figure A: UC-7420/7410 Universal Communicator —Wall Mounting Brackets (bottom view) Figu
Inhaltszusammenfassung zur Seite Nr. 14
UC-7420/7410 User’s Manual Introduction DIN-Rail Mounting The aluminum DIN-Rail attachment plate is included in the package. If you need to reattach the DIN-Rail attachment plate to UC-7420/7410, make sure the stiff metal spring is situated towards the top, as shown in the figures below. 1. Insert the top of the DIN-Rail into the 2. The DIN-Rail attachment unit will snap slot just below the stiff metal spring. into place as shown below. metal spring metal spring DIN-Rail DIN-Rail To
Inhaltszusammenfassung zur Seite Nr. 15
UC-7420/7410 User’s Manual Introduction You can use the type of signal transmitted through a wire to determine which wires should be kept separate. The rule of thumb is that wiring that shares similar electrical characteristics can be bundled together. Keep input wiring and output wiring separate. Where necessary, it is strongly advised that you label wiring to all devices in the system. Connecting the Power Connect the 12-48 VDC power line with UC-7420/7410’s terminal block. If the po
Inhaltszusammenfassung zur Seite Nr. 16
UC-7420/7410 User’s Manual Introduction Connecting to a Serial Device Use properly wired serial cables to connect UC-7420/7410 to serial devices. UC-7420/7410’s serial ports (P1 to P8) use 8-pin RJ45 connectors. The ports can be configured by software for RS-232, RS-422, or 2-wire RS-485. The precise pin assignments are shown in the following table: Pin RS-232 RS-422 RS-485 1 DSR --- --- 18 2 RTS TXD+ --- 3 GND GND GND 4 TXD TXD- --- 5 RXD RXD+ Data+ 6 DCD RXD- Data- 7 CTS --- ---
Inhaltszusammenfassung zur Seite Nr. 17
UC-7420/7410 User’s Manual Introduction Software Introduction Software Architecture The Linux operating system that is pre-installed in UC-7420/7410 follows the standard Linux architecture, making it easy to port programs that follow the POSIX standard to UC-7420/7410. Porting is done with the GNU Tool Chain provided by Moxa. In addition to the Standard POSIX API, device drivers for the LCM, buzzer and Keypad controls, USB/CompactFlash mass storage, UART, and Wireless LAN PCMCIA card are
Inhaltszusammenfassung zur Seite Nr. 18
UC-7420/7410 User’s Manual Introduction services and daemons. During this time, the kernel will start searching for system configuration parameters via rc or inittab. Normally, the kernel uses the User Root File System to boot up the system. The Mini Root File System is protected, and cannot be changed by the user, providing a “safe” zone. The kernel will only use the Mini Root File System when the User Root File System crashes. For more information about the memory map and programming, re
Inhaltszusammenfassung zur Seite Nr. 19
UC-7420/7410 User’s Manual Introduction OS shell command bash Busybox Linux normal command utility collection Utilities tinylogin login and user manager utility telnet telnet client program ftp FTP client program smtpclient email utility scp Secure file transfer Client Program Daemons pppd dial in/out over serial port daemon snmpd snmpd agent daemon telnetd telnet server daemon inetd TCP server manager program ftpd ftp server daemon apache web server daemon sshd secure shell serv
Inhaltszusammenfassung zur Seite Nr. 20
UC-7420/7410 User’s Manual Introduction Protocol stacks and utilities Arp (utility) N/A Yes Yes iptable N/A N/A Yes Open VPN N/A N/A Yes WatchDog API N/A N/A Yes Crontable N/A N/A Yes upfirm N/A N/A Yes backupuf N/A N/A Yes backupfs, bf Yes Yes N/A minicom Yes Yes Replace by tip Directory Change User File /var User File System Change to ramdisk System Apache root document /usr/html /usr/html /usr/www 1-15