Streszczenie treści zawartej na stronie nr. 1
UC-7110 Series User’s Manual
www.moxa.com/product
Second Edition, July 2005
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
Streszczenie treści zawartej na stronie nr. 2
UC-7110 Series 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
Streszczenie treści zawartej na stronie nr. 3
Table of Contents Chapter 1 Introduction ..................................................................................................1-1 Overview.................................................................................................................................. 1-2 Package Checklist .................................................................................................................... 1-2 Product Features ....................................................
Streszczenie treści zawartej na stronie nr. 4
Configuring Dial-in/Dial-out Service ...................................................................................... 4-8 Dial-out Service............................................................................................................ 4-8 Dial-in Service.............................................................................................................. 4-9 Configuring PPPoE...........................................................................................
Streszczenie treści zawartej na stronie nr. 5
1 1 Chapter 1 Introduction The MOXA UC-7110 Series of RISC-based Communication Platforms features two RS-232/422/485 serial ports, and dual 10/100 Mbps Ethernet ports, making these products ideal for embedded OS applications. This chapter covers the following topics: Overview Package Checklist Product Features Product Specifications Hardware Block Diagram Appearance Dimensions Installing UC-7110 LED Indicators Wiring Requirements Connecting the Power Grounding UC-
Streszczenie treści zawartej na stronie nr. 6
UC-7110 Series User’s Manual Introduction Overview The UC-7110 Series of RISC-based Communication Platforms are ideal for your embedded applications. UC-7110 comes with two RS-232/422/485 serial ports and dual 10/100 Mbps Ethernet LAN ports to provide users with a versatile communication platform. UC-7110 uses the ARM9 166 Mhz RISC CPU. Unlike the X86 CPU, which uses a CISC design, the ARM9’s RISC design architecture and modern semiconductor technology provide UC-7110 with a powerful comp
Streszczenie treści zawartej na stronie nr. 7
UC-7110 Series User’s Manual Introduction Product Specifications Hardware Specifications (UC-7110-LX) CPU ARM9-based 32-bit RISC CPU, 166 Mhz RAM 16 MB (12 MB of user programmable space) 8 MB (4 MB of user programmable space) Flash LAN Auto-sensing 10/100 Mbps x 2 LAN Protection Built-in 1.5 KV magnetic isolation The two RS-232/422/485 ports support: RS-232 signals: TxD, RxD, DTR, DSR, RTS, CTS, DCD, GND Serial Ports RS-422 signals: TxD+, TxD-, RxD+, RxD-, GND 4-wire RS-485 signals:
Streszczenie treści zawartej na stronie nr. 8
UC-7110 Series User’s Manual Introduction Software Specifications (UC-7110-LX) µClinux Kernel 2.4.22 Kernel ARP, ICMP, IPV4, TCP, UDP, FTP, Telnet, NTP, SNMP V1, Protocol Stack HTTP, PPP, CHAP, PAP, NFS JFFS2 File System User Directory (Read / Write) ROMFS Kernel, Root File System (Read Only) Sash (V1.1.1) Simple OS shell command Pppd (V1.13) dial in/out over serial port daemon snmpd SNMP V1 Agent daemon busybox (V0.60.4) Linux normal command utility Tinylogin (V0.80) login and user
Streszczenie treści zawartej na stronie nr. 9
UC-7110 Series User’s Manual Introduction Hardware Block Diagram Ethernet LAN1 LAN2 PHY PHY S3C2500 ARM940T 166MHz Power 8MB Flash RTC Circuit 16MB SDRAM MOXA MOXA MU150 MU150 Port 1 Port 2 RS-232/422/485 Appearance Ethernet x 2 (10/100BaseTx) 12- 48 VDC V+ RESET LAN1 LAN2 12-48V Ready TX P1 RX RS-232 TX P2 Console Terminal RX UC-7110 Universal Communicator RS-232/422/485 P1 P2 Serial Port 1 Serial Port 2 (RS-232/422/485) (RS-232/422/485) 1-5
Streszczenie treści zawartej na stronie nr. 10
UC-7110 Series User’s Manual Introduction Dimensions V+ RESET LAN1 LAN2 6 (0.24) 12-48V 4 (0.16) Ready TX 12.5 (0.49) P1 RX TX P2 RX 25 (0.98) UC-7110 Universal Communicator 21.3 7 (0.28) (0.8) RS-232/422/485 P1 P2 47.3 (1.56) 26 (1.02) unit = mm (inch) 77 (3.03) 88 (3.46) 100 (4.18) 1-6 111 (4.31)
Streszczenie treści zawartej na stronie nr. 11
UC-7110 Series User’s Manual Introduction Installing UC-7110 Top-End View Reset Button Terminal Block RJ45 10/100 Mbps Ethernet Ports Power Input Nameplate View V+ RESET LAN1 LAN2 12-48V Ready TX P1 DIN-Rail RX screw hole TX P2 RX UC-7110 Universal Communicator Wallmount screw hole RS-232/422/485 P1 P2 Bottom-End View DB9 (male) Serial Ports 1-7
Streszczenie treści zawartej na stronie nr. 12
UC-7110 Series User’s Manual Introduction LED Indicators The following table explains the function of the five LED indicators located on UC-7110’s top panel. LED Name LED Color LED Function Ready Green Power is on and functioning normally. Serial port 1/2 is transmitting data. Green P1/P2 (Tx) Serial port 1/2 is not transmitting data. Off Serial port 1/2 is receiving data. Yellow P1/P2 (Rx) Serial port 1/2 is not receiving data. Off Wiring Requirements This section describes h
Streszczenie treści zawartej na stronie nr. 13
UC-7110 Series User’s Manual Introduction Connecting the Power Connect the “live-wire” end of the 12-48 VDC power adaptor to UC-7110’s terminal block. If the power is properly supplied, the “Ready” LED will show a solid green color after a 25 to 30 second delay. Grounding UC-7110 Grounding and wire routing helps limit the effects of noise due to electromagnetic interference (EMI). Run the ground wire from the ground screw to the grounding surface prior to connecting devices. ATTENTION
Streszczenie treści zawartej na stronie nr. 14
UC-7110 Series User’s Manual Introduction The 10/100 Mbps Ethernet LAN 1 and LAN 2 ports use 8-pin RJ45 connectors. Pinouts for these ports are given in the following diagram. 8-pin RJ45 10 Mbps 100 Mbps Pin Signal indicator indicator 1 ETx+ 2 ETx- 3 ERx+ 4 --- 5 --- 6 ERx- 1 8 7 --- 8 --- Connecting to a Serial Device Connect the serial cable between UC-7110 and the serial device(s). Serial ports P1 and P2 use male DB9 connectors, and can be
Streszczenie treści zawartej na stronie nr. 15
UC-7110 Series User’s Manual Introduction Additional Functions Reset Button Press the “RESET” button continuously for more than 5 seconds to load the factory default configuration. After loading the factory default, the system will reboot automatically. The System Ready LED will be blinking for the first 5 seconds. We recommend that you only use this function if the software is not working properly. To reset the µClinux system software, always use the software reboot command />reboot to p
Streszczenie treści zawartej na stronie nr. 16
UC-7110 Series User’s Manual Introduction Real Time Clock UC-7110’s real time clock is powered by a lithium battery. We strongly recommend that you do not replace the lithium battery without the help of Moxa’s support team. If the battery needs to be changed, contact the Moxa RMA service team for RMA service. ATTENTION The battery may explode if replaced by the incorrect type. To avoid this potential danger, always be sure to use the correct type of battery. 1-12
Streszczenie treści zawartej na stronie nr. 17
2 2 Chapter 2 Getting Started In this chapter, we explain the basic procedure for getting UC-7110 connected. This chapter covers the following topics: Powering on UC-7110 Connecting UC-7110 to a PC Configuring the Ethernet Interface Developing Your Applications Installing the UC-7110 Tool Chain Compiling Hello.c Uploading “Hello” to UC-7110 Running “Hello” on UC-7110 Make File Sample Code
Streszczenie treści zawartej na stronie nr. 18
UC-7110 Series User’s Manual Getting Started Powering on UC-7110 Connect the SG wire to the Shielded Contact located on the upper left corner of the UC-7110, and then power on UC-7110 by connecting the power adaptor. It takes about 16 seconds for the system to boot up. Once the system is ready, the Ready LED will light up. ATTENTION After connecting UC-7110 to the power supply, it will take about 16 seconds for the operating system to boot up. The green Ready LED will not turn on until
Streszczenie treści zawartej na stronie nr. 19
UC-7110 Series User’s Manual Getting Started Telnet If you know at least one of the Default IP Address Default Netmask two IP addresses and netmasks, LAN 1 192.168.3.127 255.255.255.0 then you can use Telnet to connect to UC-7110’s console. LAN 2 192.168.4.127 255.255.255.0 Telnet can be used locally by using a cross-over Ethernet cable to connect your computer to UC-7110, or over a LAN or the Internet. The default IP addresses and netmasks are shown above. To login, type the Login
Streszczenie treści zawartej na stronie nr. 20
UC-7110 Series User’s Manual Getting Started Configuring the Ethernet Interface In this section we use the serial console to explain how to modify UC-7110’s network settings. 1. Change directories by issuing the command cd /mnt/etc. 2. Type the command vi rc to use VI Editor to edit the configuration file. The IP addresses for UC-7110’s LAN1 and LAN2 are given as ifconfig eth0 192.168.3.127 ifconfig eth1 192.168.4.127 as shown in the following figure. Edit these two lines to modify t