DA-683 Series WinXP Embedded User’s Manual First Edition, January 2011 www.moxa.com/product © 2011 Moxa Inc. All rights reserved. Reproduction without permission is prohibited.
DA-683 Series WinXP Embedded 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 ©2011 Moxa Inc. All rights reserved. Reproduction without permission is prohibited. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents 1. Introduction...................................................................................................................................... 1-1 Overview ...........................................................................................................................................1-2 Software Specifications .......................................................................................................................1-2 Application Development Environment ....
1 1. Introduction Thank you for purchasing Moxa’s DA-683 series of x86 ready-to-run embedded computers. This manual introduces the software configuration and management of DA-683 computers running the Windows Embedded Standard 2009 operating system. For hardware installation, connector interfaces, setup procedures, and upgrading the BIOS, please refer to the DA-683 Series Hardware User’s Manual.
DA-683 XPE User's Manual Introduction Overview DA-683 industrial computers excel in a wide array of power automation applications. The DA-683 series is based on the Intel x86 processor and supports DVI-I, 6 Gigabit Ethernet ports, 2 RS-232 serial ports, CompactFlash, and USB. They come standard in a 19-inch, 2U high form factor.
DA-683 XPE User's Manual • Introduction Distributed Transaction Coordinator (MSDTC)—A distributed transaction facility for Microsoft Windows systems, which uses transaction-processing technology. MSDTC exploits loosely coupled systems to provide scalable performance. • Enhanced Write Filter—An upper filter in the storage device driver stack that redirects disk write operations to volatile (RAM) or non-volatile (disk) storage. • Event Log—A dynamic-link library (DLL) that runs as part of Services.exe.
DA-683 XPE User's Manual • Introduction TCP/IP Networking—Implements the core TCP/IP protocol stack, which includes the IPv4 version for the following protocols: Transmission Control Protocol (TCP), User Datagram Protocol (UDP), raw, Internet Control Message Protocol (ICMP), Internet Group Membership Protocol (IGMP), and Address Resolution Protocol (ARP). The component also includes Wshtcpip.dll, which is the Winsock provider for TCP/IP to enable socket-level communication over TCP/IP.
DA-683 XPE User's Manual Introduction Inserting a USB Mass Storage Device into the Computer Inserting a USB mass storage device will generate a new drive on the DA-683-XPE. The new drive should be visible in the File Explorer. Insert a Compact Flash Card Storage into a DA-683-XPE Computer There is a Compact Flash slot in the side of DA-683-XPE computer. The Compact Flash slot is designed for storage expansion. Please note that it does not support “Plug and Play” and “Hot swap”.
DA-683 XPE User's Manual Introduction Inserting a SATA Hard Disk into a DA-683-XPE Computer Inserting a SATA hard disk device will generate a new disk that should appear in the File Explorer. NOTE The DA-683-XPE computer supports only 5 VDC power for a 2.5-inch SATA hard disk. If you would like to use a 3.5-inch hard disk, you will need to use external power supply for your SATA hard disk. Otherwise, it may not be detected by the DA-683-XPE computer.
2 2. Software Configuration In this chapter, we explain how to operate a DA-683-XPE computer directly or from a PC. Instructions are given on how to adjust the system time, troubleshoot network connectivity, and manage other functions. Some of these operations can be done with system commands after gaining access to the computer, and others can be done from the “Control Panel,” which is described in a later chapter.
DA-683 XPE User's Manual Software Configuration Starting Your DA-683-XPE Computer Connect the CRT monitor or LCD monitor to the target computer, and then power it up by connecting it to the power adaptor. It takes about 30 to 40 seconds for the system to boot up. Once the system is ready, the Desktop will appear on your monitor. Resetting Your DA-683-XPE Computer • Reset Button A Reset button is located on the front panel of DA-683-XPE.
DA-683 XPE User's Manual Software Configuration Operating Your DA-683-XPE Computer with a Telnet Client Use a crossover Ethernet cable to connect your development workstation directly to the target computer, or use a straight-through Ethernet cable to connect the computer to a LAN hub or switch. Next, use a telnet client on your development workstation to connect to the Telnet console utility of the target computer.
DA-683 XPE User's Manual Software Configuration 1. Click on Start Control Panel. Double-click on Windows Firewall. 2. Click the Exceptions tab.
DA-683 XPE User's Manual Software Configuration 3. Click Add Port. 4. Enter the name, for example, TCP, and Port number 23. Click OK to continue.
DA-683 XPE User's Manual Software Configuration 5. When finished, check if TCP is in the Programs and Services list. 6. Now you can run Telnet to connect to the DA-683-XPE.
DA-683 XPE User's Manual Software Configuration Adjusting the System Time • Setting the System Time Manually: Use the date/time command line utility to query the current system date/time or set a new system date/time. • Date/Time Control panel: Go to the Control Panel and double click the Date and Time icon. • SNTP: In the Date and Time Properties window, you can see the NTP server setting.
DA-683 XPE User's Manual Software Configuration Starting and Stopping Services Select Start Control Panel Administrative Tools and double click Services. Select and right-click on the service name, and then choose to stop or start. Simple Network Management Protocol (SNMP) To check SNMP agent capabilities on a target DA-683-XPE (e.g., suppose the network IP is 192.168.3.127) computer, log on to the workstation computer on which the SNMP manager resides and then type: \> snmpwalk -v 2c -c public 192.
DA-683 XPE User's Manual Software Configuration Make sure that the Allow users to connect remotely to this computer checkbox is selected. Next, click Select Remote Users, and add the users allowed to connect to your desktop. When finished, click OK.
DA-683 XPE User's Manual Software Configuration Configuring Serial Ports The DA-683-XPE has 2 RS-232 serial ports with DB9 connectors. The ports are located on the rear panel of the computer. To configure the 2 RS-232 serial ports, first right-click the My Computer icon on the desktop and then select Properties. From the System Properties screen, select the Hardware tab, and then select Device Manager. Next, select Ports (COM & LPT) to see Communication Ports COM1 and COM2.
DA-683 XPE User's Manual Software Configuration You can configure the parameters of these serial ports. Note that they support the bit rates up to 115,200 bps. Click OK to finish. The DA-683-XPE also has 2 expansion slots that can be used with Moxa’s DA Series Expansion Modules, such as a serial port module, LAN module, switch module, or a PCI development kit.
DA-683 XPE User's Manual Software Configuration Click the Port Configuration tab and select the COM port you would like to configure, and then click Port Setting. Uncheck Auto Enumerating COM Number if you would like to select the COM number yourself. From the Port Number drop-down list, select the port number for a specific COM port. Click OK to finish.
DA-683 XPE User's Manual Software Configuration You may also configure Rx FIFO Level and Tx FIFO Level from the drop-down lists on the same screen, and then click OK. To avoid configuration errors, make sure each port name is unique and has not been used by another port. Click No to re-configure, or Yes to continue. You may now check the configuration. In this case, we have re-assigned the port numbers from 17 to 24. Click OK to complete.
DA-683 XPE User's Manual Software Configuration Return to Device Manager to view the COM ports have been re-named. To configure these COM ports, right-click the COM port, and then select Properties.
DA-683 XPE User's Manual Software Configuration You can configure this COM port from the drop-down lists, and then click OK to finish. You can also use program code to set the operation mode. The example “UartMode” is under \examples\DA-683-XPE\C++\ of Software DVD. The code snippet is as follows: * port[n]: 3 ; Port 3 4 ; Port 4 .... mode[n]: 0 ; RS232 1 ; RS485-2W 2 ; RS422 3 ; RS485-4W */ #include "stdafx.h" #include #include "..\release\devices.
DA-683 XPE User's Manual Software Configuration int port=0,mode=0; int n=0; WCHAR sin; WCHAR wcs_port[3],wcs_mode[3]; printf("UART Mode Test Program\n"); printf("\t (0) Exit Program\n"); printf("\t (1) Display UART Mode\n"); printf("\t (2) Set UART Mode\n"); sin=getwchar(); n=_wtoi(&sin); do { switch (n) { // if char == '1', display the UART Mode case 1: printf("Input the Port Number (3,4...
DA-683 XPE User's Manual Software Configuration //Set UART Mode if(uart_setmode(port,mode)==-1) { printf("Set UART Mode Fail!!\n"); } else { printf("COM%d=%s\n",port,mode_array[mode]); } break; } getwchar(); sin = getwchar(); n = _wtoi(&sin); } while (n != 0); return 0; } Enhanced Write Filter The “Enhanced Write Filter” protects the contents of a volume on the target media volume by redirecting all writes to another storage location called on overlay.
DA-683 XPE User's Manual Software Configuration File Based Write Filter File-Based Write Filter (FBWF) allows Windows Embedded Standard 2009 to maintain the appearance of read and write access to write sensitive or read only storage. FBWF makes read and write access transparent to applications. Writing to storage media may be undesirable or impossible in embedded devices. FBWF redirects all writes targeted for protected volumes to a RAM cache called an overlay.
DA-683 XPE User's Manual Software Configuration C:\> fbwfmgr /displayconfig File-based write filter configuration for the current session: filter state: enabled. overlay cache data compression state: disabled. overlay cache threshold: 64 MB. overlay cache pre-allocation: disabled. size display: actual mode.
3 3. Management Tools The DA-683-XPE ready-to-run embedded computers are shipped with the Windows Embedded Standard 2009 operating system already installed. This network-centric platform is designed to serve as a front-end for data acquisition and industrial control applications. A set of Windows XP management tools are installed on the DA-683-XPE computer to resolve management issues.
DA-683 XPE User's Manual Management Tools Computer Management [Control Panel] [Administrative Tools] Computer Management. You can use the tools for a variety of tasks, such as disk partition, disk mount/dismount, and create/remove users. You can also check services in the Computer Management window. Component Services [Control Panel] [Administrative Tools] Component Services. You can install/view/remove COM components with this tool.
DA-683 XPE User's Manual Management Tools Internet Information Services (Web/FTP) [Control Panel] [Administrative Tools] Internet Information Services. If you need to set up Web or FTP, you must use this tool for configuration purposes, and you can also start/stop HTTP/FTP services. A default web page is located in the directory c:\Inetpub. Use this default page to test your web server. Follow the steps shown below to create the virtual directory. 1.
DA-683 XPE User's Manual Management Tools 2. Follow the virtual directory creation wizard and complete the steps to create the virtual directory c:\Inetpub.
DA-683 XPE User's Manual Management Tools Type the alias, for example web, into the text box. Click Next to continue.
DA-683 XPE User's Manual Management Tools 3-6
DA-683 XPE User's Manual Management Tools 3. When you complete the steps, the virtual directory WEB will appear under Default WEB Site. 4. On your desktop, type [IP Address]/WEB/Default.htm (e.g., 192.168.1.127/WEB/Default.htm). The following message will appear. The steps are indicated in the following sequence of diagrams. If you need to use the FTP server, you must create the default password for your account and turn on the write permission on your home directory located in c:\intepub\ftproot.
DA-683 XPE User's Manual Management Tools ODBC Data Source Administrator [Control Panel] [Administrative Tools] Data Sources (ODBC) This database source configuration tool is for users to add, delete, or set up the data source, and then display information about the installed ODBC drivers. You can create a new data source or trace the calls to ODBC functions.
DA-683 XPE User's Manual Management Tools 1. Click Add to continue. 2. Select the driver to set up a data source (in this case, we select Driver do Microsoft Access (*.mdb) ).
DA-683 XPE User's Manual Management Tools 3. Select the database and then click OK. 4. Type Data Source Name and Description and then click 3-10 OK.
DA-683 XPE User's Manual Management Tools 5. A user data source has been successfully established. Click OK to finish. Performance Monitor [Control Panel] [Administrative Tools] Performance. You can use this tool to monitor system and network resources.
DA-683 XPE User's Manual Management Tools Services [Control Panel] [Administrative Tools] Services You can use this utility to start/stop/restart services. (e.g. If you do not need telnet service you can stop it and set the “startup option” to “manual”.
4 4. System Recovery The DA-683-XPE ready-to-run embedded computers are a Windows Embedded Standard 2009 platform. This chapter describes the recovery process in the event of system instability.
DA-683 XPE User's Manual System Recovery Recovery Environment The environment includes a DA-683-XPE embedded computer and a bootable USB disk with the recovery programs and system image file. Hardware The hardware used includes a PC, a DA-683-XPE computer and a USB disk with the recovery programs. (Note: The USB disk should be at least 2GB.).
DA-683 XPE User's Manual System Recovery Click Browse and select the folder you wish to install to and then click Next. Click Next to start the installation.
DA-683 XPE User's Manual System Recovery Click Close to finish. Step 2: Extract Recovery Image from PC to USB disk After the installation is complete, you will see the XPeRecovery shortcut on your desktop. You can start the USB disk recovery utility by opening this shortcut. Double-click the shortcut then click OPEN to select the image file. This file is located on the software CD in the recovery folder, and the filename is da683_V1.0_Build_11010520.wim. You may also copy this file to your PC.
DA-683 XPE User's Manual System Recovery Click the drop-down list and select your USB disk drive letter (in this example, it is the E drive), and check Format USB Disk. Click Apply to start the process; the utility will display the progress and time remaining This message will appear when the process is complete. Click OK.
DA-683 XPE User's Manual System Recovery Step 3: Change the BIOS Settings NOTE If you have already installed a CompactFlash card in the DA-683-XPE, remove this CompactFlash card before starting recovery. Insert the USB disk on any USB port of the DA-683-XPE, and then you need to change the BIOS settings to boot from USB disk. Turn on the computer and press DEL to enter the BIOS setup menu. Select Hard Disk Boot Priority and press Enter.
DA-683 XPE User's Manual System Recovery Press F10 and then press Enter to save and leave the BIOS setup. Step 4: Reboot the Computer and Start Recovery The system will boot from the USB disk and then enter Windows Pre-installation Environment. The recovery utility window will appear as below. Click Recover to start system recovery.
DA-683 XPE User's Manual System Recovery Click OK when the recovery process is complete and system will reboot. Step 5: Change the BIOS Setting to Boot from Original Disk. Now, you need to change the boot priority so that it can boot from the original disk. As the system reboots, press DEL to enter BIOS setup menu. Select Hard Disk Boot Priority and press Enter. Make sure that the hard disk has first boot priority. Press F10 and then press Enter to save and leave the BIOS settings.
DA-683 XPE User's Manual System Recovery Uninstalling Recovery Utility To uninstall the recovery utility, double-click Add or Remove Programs from Start Control Panel.
DA-683 XPE User's Manual System Recovery Click XPeRecovery from program list, and then click Remove to continue. Click Yes to uninstall. Once complete, the recovery utility will be removed from the system.