UC-7400-CE User’s Manual Fourth Edition, June 2008 www.moxa.com/product © 2008 Moxa Inc., all rights reserved. Reproduction without permission is prohibited.
UC-7400-CE 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 © 2008 Moxa Inc. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction ..................................................................................................1-1 Overview.................................................................................................................................. 1-2 Model Descriptions and Package Checklist.................................................................. 1-2 UC-7400 Product Features .........................................................................................
1 Chapter 1 Introduction Microsoft® Windows® CE 5.0 is an open, scalable, 32-bit operating system (OS) that is used to build a wide range of innovative, small footprint devices. Windows® CE-based devices are often designed for specific uses that run independently of other computers, or as a distributed front-end to a centralized host. Examples include enterprise tools, such as industrial controllers, communications hubs, and point-of-sale terminals.
UC-7400-CE User’s Manual Introduction Overview The Moxa UC-7400-CE Series (referred to in this manual as the UC-7400-CE) includes the UC-7420-CE, UC-7410-CE, and UC-7408-CE. These RISC-based ready-to-run embedded computers are ideal for embedded applications.
UC-7400-CE User’s Manual Introduction UC-7400 Product Features y y y y y y y y y y y y Intel XScale IXP-422 266 MHz Processor On-board 128 MB RAM, 32 MB Flash ROM Eight RS-232/422/485 serial ports 8 digital input channels and 8 digital output channels (UC-7408 only) Dual 10/100 Mbps Ethernet ports USB 2.0 host for mass storage devices (UC-7420 only) PCMCIA, wireless LAN expansion (supports 802.11b/802.
UC-7400-CE User’s Manual Introduction Product Hardware Specifications CPU RAM Flash LAN Serial Ports Serial Protection Data Bits Stop Bits Parity Flow Control Speed Serial Console DI/DO USB 2.0 Hosts USB 1.
UC-7400-CE User’s Manual Introduction UC-7400-CE Software Features The UC-7400-CE ready-to-run embedded computers are network-centric, head-less computers that are designed for programmed, embedded communication applications. The software features of the UC-7400-CE are described in the following subsections: Application Development Environment The Windows® CE environment of the UC-7400-CE provides users with a convenient, easy-to-use programming environment.
UC-7400-CE User’s Manual Introduction Networking and Communication Capabilities For network-centric embedded application usage, the UC-7400-CE not only provides powerful communication hardware interfaces, including dual Ethernet ports and 3-in-1 serial ports, but also supports the networking and communications capabilities that are built into the Windows® CE 5.0 OS. The following features are supported: y Simple Network Management Protocol (SNMP)—Monitors remote connections to the network.
UC-7400-CE User’s Manual Introduction Memory and File Systems The UC-7400-CE file system allows file storage on the system RAM or on the onboard flash memory. Files can also be stored on external media such as a USB drive or CompactFlash card. RAM-based Storage About 20 MB of the 128 MB SDRAM is available for user applications and data. The operating system and kernel image occupy the rest of the space.
UC-7400-CE User’s Manual Introduction Storing Data in RAM vs. Flash Memory Although data saved in RAM will be deleted when the system shuts down, RAM storage has the advantage of faster read/write access and no life cycle issue. For applications where important data is transmitted immediately and directly to a host, you can store the necessary log data in RAM. After the host receives the data, the data does not need to be retained and can be deleted.
UC-7400-CE User’s Manual Introduction Installing a USB Mass Storage Device When an empty USB drive is installed on the UC-7420-CE, it will automatically be formatted using the FAT file system rather than the TFAT system. This is because USB drives are most often used to share data with PCs. Each USB drive will appear as a directory under the root directory, with the first device named “USBDisk” and the second device named “USBDisk2”.
2 Chapter 2 Getting Started In this chapter, we show how to use a PC to operate your UC-7400-CE embedded computer. For clarity, the PC you use to connect to the embedded computer is called a development workstation, and the UC-7400-CE embedded computer is called a target computer. In addition, we explain operations such as system time adjustment, troubleshooting network connectivity, etc.
UC-7400-CE User’s Manual Getting Started Starting the UC-7400-CE Connect the SG wire to the shielded contact located in the upper left corner of the target computer, and then power it on by connecting it to the power adaptor. It takes about 30 to 60 seconds for the system to boot up. Once the system is ready, the “Ready” LED will light up and remain lit until you shut down the computer. For a computer with an LCM display, the network address settings and other system information will appear on the LCM.
UC-7400-CE User’s Manual Getting Started Changing the Network Settings The UC-7400-CE computer comes with two network interfaces. The default IP addresses and netmasks of the network interfaces are as follows: Default IP Address Netmask 192.168.3.127 255.255.255.0 LAN 1 192.168.4.127 255.255.255.0 LAN 2 For most applications, you will need to change the IP addresses and netmasks to accommodate the network environment. Use the netconfig utility to update the IP addresses and netmasks.
UC-7400-CE User’s Manual Getting Started NORFlash My Documents Program Files Temp Windows User/Group Management User Group: You should assign specific services, such as ftp and telnet, to defined user groups so that these services are accessible only by the users within the permissible user group. Three user groups, namely “ftpd”, “telnetd”, and “httpd”, are already created by default for your convenience. Adding a Group: Use the command useradd –g to create a user group.
UC-7400-CE User’s Manual Getting Started Adjusting the System Time and RTC Time The UC-7400-CE computer has two time settings: the system time (or CPU clock) and the RTC (Real Time Clock) time. The system time regulates the execution of instructions and the RTC keeps track of the time even when the computer is turned off. RTC time runs on a special battery that is not connected to the normal power supply. Do not confuse a computer’s real-time clock with its CPU clock.
UC-7400-CE User’s Manual Getting Started Troubleshooting Network Connectivity The ipconfig tool prints the TCP/IP-related configuration data of a host, including the IP addresses, gateway, and DNS servers. \> ipconfig /all Windows IP configuration Ethernet adapter Local Area Connection: IP Address: 192.168.4.127 Subnet Mask: 255.255.255.
UC-7400-CE User’s Manual Getting Started Simple Network Management Protocol (SNMP) SNMP belongs to the TCP/IP protocol suite and is the Internet standard protocol for network management. SNMP was developed to monitor and manage networks. It uses a distributed architecture that consists of agents and managers: y The SNMP agent is an application that monitors network traffic. It responds to queries from SNMP manager applications. It also sends traps to notify the manager of significant events.
3 Chapter 3 Web-based Management System Note: Internet Explorer 5.5 and above is required to use the web-based management system. The UC-7400-CE ready-to-run embedded computers are network-centric platforms designed to be used as front-end computers for data acquisition and industrial control. Due to the distributed characteristics of the devices that these computers control, they often reside in harsh environments away from the system administrator.
UC-7400-CE User’s Manual Web-based Management System Logging Onto Web-based Management System A web-based management system is provided for the UC-7400-CE for easier management and system administration. The web-based management system uses a menu bar and CGI pages to provide access to commonly-used features. Before using the web-based management system, your PC must have a web browser installed and a network connection to the UC-7400-CE. To open the web-based management system, follow these steps: 1.
UC-7400-CE User’s Manual Web-based Management System Networking/Server Configuration The UC-7400-CE computer has two network interfaces. To view or change the interface settings, click the Networking link in the left menu bar. After the page loads, type the network parameters in the text input boxes and then click Update to activate the changes. Serial Port Configuration The embedded computer has multiple high-performance serial ports that can be set for RS-232, RS-422, or RS-485 operation.
UC-7400-CE User’s Manual Web-based Management System Process (Thread) Monitoring/Control At runtime, the UC-7400-CE computer manages up to 32 applications. You can use the management system to monitor and control the applications. To view current processes, click the Processes item on the main menu bar. The processes that are running will be displayed. You can kill a process by clicking the “kill” button next to the process name.
UC-7400-CE User’s Manual Web-based Management System Services Monitoring/Control Some services run in the background to provide services, such as ftp or telnet, for user requests. To monitor and control these services, do the following: Step 1: Click the “Services” item on the main menu bar. The services that are running will be displayed. Step 2: Click on the appropriate check box to toggle a start/stop operation for a service.
UC-7400-CE User’s Manual Web-based Management System In addition, the management system offers a mechanism for file upload. This mechanism helps you transfer files from your workstation to the target computer easily. For instance, after you have built an application on the development workstation, you can use this mechanism to upload the application to the current directory of the target computer. Step 1: Click “Upload File”. A browser window pops up.
A Appendix A Programmable Function Keys and LCM Notice: Only the UC-7420 and UC-7410 support LCM and Keypad functions In this appendix, we describe an internal service that is built around the function keys. This mechanism is designed to aid your applications in accessing these I/Os, but without needing to understand the complexity of I/O controls. Though this service gains controls on these programmable I/Os, it does not prevent you from developing them.
UC-7400-CE User’s Manual Programmable Function Keys and LCM Step 1: Log on to the web-based management system and select the “keypad-LCM” in the function area. The browser opens a page that shows five current sets of action items. Step 2: From the 5 sets of action items, choose one associated with a function key. Select the “Plain Text” option and then type the plain text into the text area. Step 3: Save the item by clicking the disk icon.
B Appendix B Firmware Upgrade Procedure Software features for Moxa embedded computers continue to be developed, improving quality and enhancing functionality. Firmware updates will be made available in the Moxa download center. When updating the firmware for your embedded computer, follow these instructions: 1. 2. 3. 4. Visit the Moxa download center at http://web4.moxa.com/support/download_center.asp to download the appropriate firmware update file for your embedded computer.
UC-7400-CE User’s Manual 5. Firmware Upgrade Procedure The upgrade proves should take about five minutes. When the process is complete, you will be asked if you wish to keep the current network settings. Press “Y” to keep the current network settings.
UC-7400-CE User’s Manual 6. Firmware Upgrade Procedure Enter “Y” when prompted to reboot the embedded computer. The system will be restarted with the new firmware in effect.
C Appendix C Frequently Asked Questions Q: Can the connection port for the web server (HTTPD) be changed to something other than 80? A: Yes, you can change the connection port for the web server. This is accomplished by changing a registry setting. The following instructions show how to change the HTTPD port to 81 instead of 80. In this example, the embedded computer is assigned an IP address of 192.168.3.127. Adapt the procedure as necessary for your embedded computer’s IP settings. Step 1.
UC-7400-CE User’s Manual Frequently Asked Questions Step 7. Change the value of “SockAddr” to “02 00 00 51 00 00 00 00 00 00 00 00 00 00 00 00”. For “Modified Value:”, enter “02 00 00 51 00 00 00 00 00 00 00 00 00 00 00 00” Go to the display position for “SockAddr” and click “Modify”. Step 8. Log onto the embedded computer from a Telnet client and restart the web server. /> services stop HTP0: /> services start HTP0: Step 9. Try the new URL to verify that the change was successful: http://192.168.3.
UC-7400-CE User’s Manual Frequently Asked Questions Q: If I accidentally delete system files or corrupt the operating system, is there any way to recover the system or reset the embedded computer to factory defaults? A: If the embedded computer is behaving strangely or not working properly, you may reset it back to factory default settings. While the embedded computer is powered on, use a paper clip or pin to hold the “Reset to Default” button down for five seconds.
UC-7400-CE User’s Manual Frequently Asked Questions Step 2. In the first text field, enter the full path of the application. In the second text field, enter any arguments, if required. Click “Add” Step 3. Repeat steps 1 and 2 to set up additional applications that will start automatically upon bootup.
UC-7400-CE User’s Manual Frequently Asked Questions Q: How do I monitor processes on Moxa embedded computers? A: In the Telnet or serial console, you can execute “ps” to monitor current processes. In the web console, there is a “Processes” page. You can monitor processes and “kill” a pending application on the system.