Moxa Technologies UC-7110 User Manual

Browse online or download User Manual for Water pumps Moxa Technologies UC-7110. Moxa Technologies UC-7110 User's Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 64
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
UC-7110 Series Users 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:
The Americas
support@moxa.com
Page view 0
1 2 3 4 5 6 ... 63 64

Summary of Contents

Page 1 - UC-7110 Series User’s Manual

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-

Page 2

UC-7110 Series User’s Manual Introduction 1-6Dimensions P1 P2TXRXP1P2TXRXReadyV+ RESET12-48VLAN1RS-232/422/485LAN2UC-7110Universal Communicator6 (0.

Page 3 - Table of Contents

UC-7110 Series User’s Manual Introduction 1-7Installing UC-7110 P1 P2TXRXP1P2TXRXReadyV+12-48VLAN1 LAN2UC-7110Universal CommunicatorRESETRS-232/422

Page 4

UC-7110 Series User’s Manual Introduction 1-8LED Indicators The following table explains the function of the five LED indicators located on UC-7110’

Page 5 - Introduction

UC-7110 Series User’s Manual Introduction 1-9Connecting the Power Connect the “live-wire” end of the 12-48 VDC power adaptor to UC-7110’s terminal b

Page 6 - Product Features

UC-7110 Series User’s Manual Introduction 1-10The 10/100 Mbps Ethernet LAN 1 and LAN 2 ports use 8-pin RJ45 connectors. Pinouts for these ports are

Page 7 - Product Specifications

UC-7110 Series User’s Manual Introduction 1-11Additional Functions Reset Button Press the “RESET” button continuously for more than 5 seconds to loa

Page 8

UC-7110 Series User’s Manual Introduction 1-12Real Time Clock UC-7110’s real time clock is powered by a lithium battery. We strongly recommend that

Page 9 - Appearance

22 Chapter 2 Getting Started In this chapter, we explain the basic procedure for getting UC-7110 connected. This chapter covers the following topi

Page 10 - Dimensions

UC-7110 Series User’s Manual Getting Started 2-2Powering on UC-7110 Connect the SG wire to the Shielded Contact located on the upper left corner of

Page 11 - Installing UC-7110

UC-7110 Series User’s Manual Getting Started 2-3Telnet If you know at least one of the two IP addresses and netmasks, then you can use Telnet to con

Page 12 - Wiring Requirements

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

Page 13 - Connecting to the Network

UC-7110 Series User’s Manual Getting Started 2-4Configuring the Ethernet Interface In this section we use the serial console to explain how to modif

Page 14 - Serial Console Port

UC-7110 Series User’s Manual Getting Started 2-53. You may also configure UC-7110 to request IP addresses from a DHCP server. In this case, use the

Page 15 - Additional Functions

UC-7110 Series User’s Manual Getting Started 2-6Developing Your Applications Step 1: Connect UC-7110 to a Linux PC. Step 2: Install Tool Chain (GNU

Page 16 - Real Time Clock

UC-7110 Series User’s Manual Getting Started 2-7Compiling Hello.c The Tool Chain path is: PATH=/usr/local/arm-elf/bin:$PATH The UC-7110 CD includes

Page 17 - Getting Started

UC-7110 Series User’s Manual Getting Started 2-8Uploading “Hello” to UC-7110 To use FTP to upload hello to UC-7110, issue the following commands fro

Page 18 - Connecting UC-7110 to a PC

UC-7110 Series User’s Manual Getting Started 2-9Running “Hello” on UC-7110 To run the “Hello” program issue the following commands from the UC-7110

Page 19

UC-7110 Series User’s Manual Getting Started 2-10Make File Example Code The following Makefile file example codes are copied from the Hello example

Page 20

UC-7110 Series User’s Manual Getting Started 2-11 ATTENTION There is another example that involves modifying the Makefile. If the target source code

Page 21

33 Chapter 3 Software Package This chapter includes information about the software that is used with UC-7110 Series products. This chapter covers

Page 22 - Compiler

UC-7110 Series User’s Manual Software Package 3-2UC-7110 Software Architecture The pre-installed µClinux Operating System used by UC-7110 follows th

Page 23 - Compiling Hello.c

Table of Contents Chapter 1 Introduction ...1-1 Overv

Page 24 - Uploading “Hello” to UC-7110

UC-7110 Series User’s Manual Software Package 3-3and uses JFFS2 for the User Directory. The partition sizes are hard coded into the kernel binary. Y

Page 25 - Running “Hello” on UC-7110

UC-7110 Series User’s Manual Software Package 3-4Although JFFS2 is a journaling file system, this does not preclude the loss of data. The file syste

Page 26 - Make File Example Code

UC-7110 Series User’s Manual Software Package 3-5bin dev busybox boa bf backupfs downramdisk upramdisk ttyS0 tty3 tty2 tty1 tty0 rom1 rom0 ptypf pt

Page 27

44 Chapter 4 Configuring UC-7110 In this chapter, we describe how to configure UC-7110 Series products. The following topics are covered in this c

Page 28 - Software Package

UC-7110 Series User’s Manual Configuring UC-7110 4-2Enabling and Disabling Daemons The following daemons are enabled when UC-7110 boots up for the f

Page 29

UC-7110 Series User’s Manual Configuring UC-7110 4-3Adding a Web Page Default Home Page address: /home/httpd/index.html You may change the default h

Page 30

UC-7110 Series User’s Manual Configuring UC-7110 4-4OUTPUT chain—produces local packets sub-tables Source NAT (SNAT)—changes the first source packet

Page 31 - UC-7110 Software Package

UC-7110 Series User’s Manual Configuring UC-7110 4-5 UC-7110 supports the following sub-modules. Be sure to use the module that matches your applica

Page 32

UC-7110 Series User’s Manual Configuring UC-7110 4-6NOTE IPTABLES plays the role of packet filtering or NAT. Take care when setting up the IPTABLES

Page 33 - Configuring UC-7110

UC-7110 Series User’s Manual Configuring UC-7110 4-7Append or delete rules: Usage: # iptables [-t table] [-AI] [INPUT, OUTPUT, FORWARD] [-io interfa

Page 34

Configuring Dial-in/Dial-out Service ... 4-8 Dial-out Service...

Page 35 - IPTABLES

UC-7110 Series User’s Manual Configuring UC-7110 4-8the module ipt_MASQUERADE): UC-7110PC1 (Linux or Windows)IP/Netmask:Gateway:192.168.3.100/24192.

Page 36

UC-7110 Series User’s Manual Configuring UC-7110 4-9 ATTENTION If dial out fails, the pppd connection will be blocked, and the user will need to shu

Page 37

UC-7110 Series User’s Manual Configuring UC-7110 4-101. First, the NFS server must open an export directory and allow access to the IP address. Edi

Page 38

UC-7110 Series User’s Manual Configuring UC-7110 4-11ftp> bin ftp> get uc7110-1.x.x.bin And then use the upkernel command to upgrade the kern

Page 39 - NAT Example

UC-7110 Series User’s Manual Configuring UC-7110 4-12To enable the RAM disk, use the commands given below: />upramdisk />cd ramdisk Use the b

Page 40 - Dial-out Service

UC-7110 Series User’s Manual Configuring UC-7110 4-13 User Directory Backup—UC-7110 to PC To enable the RAM disk, follow the commands given below: /

Page 41 - Configuring PPPoE

UC-7110 Series User’s Manual Configuring UC-7110 4-14Loading Factory Defaults The easiest way to “Load Factory Default” is with “Upgrade User direct

Page 42

55 Chapter 5 UC-7110 Device API In this chapter, we discuss the Device API for the UC-7110 Series. We introduce the APIs for the following functio

Page 43 - Upgrading the User Directory

UC-7110 Series User’s Manual UC-7110 Device API 5-2RTC (Real Time Clock) The device node is located at /dev/rtc. UC-7110 supports µClinux standard

Page 44

66 Chapter 6 UC Finder UC-7110 comes with a UC Finder utility, which has the sole purpose of searching the LAN or intranet for UC-7110 units. For

Page 45

11 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

Page 46 - Loading Factory Defaults

UC-7110 Series User’s Manual UC Finder 6-2Windows UC Finder The following steps describe how to install UC Finder on a Windows PC. 1. Double click

Page 47 - UC-7110 Device API

UC-7110 Series User’s Manual UC Finder 6-34. Check the Launch UC Finder checkbox to use UC Finder immediately after the installation has finished,

Page 48 - UART Interface

UC-7110 Series User’s Manual UC Finder 6-46. The Searching window will show the Universal Communicators that have been located. You can click on S

Page 49 - UC Finder

UC-7110 Series User’s Manual UC Finder 6-5Linux ucfinder To use the Linux ucfinder utility, copy ucfinder from the CD-ROM to your Linux PC, and the

Page 50 - Windows UC Finder

AA Appendix ASystem Commands busybox (V0.60.4): µClinux normal command utility collection File manager cp copy file ls list file ln make symbolic l

Page 51

UC-7110 Series User’s Manual System Commands A-2Network ping ping to test network route routing table manager netstat display network status ifconfi

Page 52

BB Appendix BSNMP Agent with MIB II & RS-232 Like Group UC-7110 has a built-in SNMP (Simple Network Management Protocol) agent that supports RF

Page 53 - Linux ucfinder

UC-7110 Series User’s Manual SNMP Agent with MIB II & RS-232 Like Group B-2 ip MIB tcp MIB udp MIB ipForwarding ipDefaultTTL ipInReceives ipIn

Page 54 - System Commands

UC-7110 Series User’s Manual SNMP Agent with MIB II & RS-232 Like Group B-3 snmp MIB snmpInPkts snmpOutPkts snmpInBadVersions snmpInBadCommunity

Page 55 - MOXA Special Utilities

CC Appendix CFAQ for UC-7110 FAQ 1 Why can I only use vfork( ),and am unable to use fork( )? Answer 1 uClinux only supports vfork( ). It does not

Page 56

UC-7110 Series User’s Manual Introduction 1-2Overview The UC-7110 Series of RISC-based Communication Platforms are ideal for your embedded applicati

Page 57

UC-7110 Series User’s Manual FAQ for UC-7110 C-2FAQ 5 How do I compress an application program? Answer 5 UC7110’s kernel supports ZFLAT format f

Page 58

DD Appendix DService Information This appendix shows you how to contact Moxa for information about this and other products, and how to report probl

Page 59 - FAQ for UC-7110

UC-7110 Series User’s Manual Service Information D-2MOXA Internet Services Customer satisfaction is our number one concern, and to ensure that cust

Page 60

UC-7110 Series User’s Manual Service Information D-3Problem Report Form MOXA UC-7110 Series Customer name: Company: Tel: Fax: Email: Date: 1. M

Page 61 - Service Information

UC-7110 Series User’s Manual Service Information D-4Product Return Procedure For product repair, exchange, or refund, the customer must:  Provid

Page 62 - MOXA Internet Services

UC-7110 Series User’s Manual Introduction 1-3Product Specifications Hardware Specifications (UC-7110-LX) CPU ARM9-based 32-bit RISC CPU, 166 Mhz RAM

Page 63 - MOXA UC-7110 Series

UC-7110 Series User’s Manual Introduction 1-4Software Specifications (UC-7110-LX) Kernel µClinux Kernel 2.4.22 Protocol Stack ARP, ICMP, IPV 4, TC P

Page 64 - Product Return Procedure

UC-7110 Series User’s Manual Introduction 1-5Hardware Block Diagram S3C2500 ARM940T 166MHz8MB Flash16MB SDRAMPHY PHYLAN1 LAN2RTCMOXA MU150MOXA MU15

Comments to this Manuals

No comments