UPort 1100 Series User’s Manual Fourth Edition, April 2009 www.moxa.com/product © 2009 Moxa Inc. All rights reserved. Reproduction without permission is prohibited.
UPort 1100 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 © 2009 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 ADDC™ (Automatic Data Direction Control) for RS-485..................................... 1-2 ARDC (Automatic Recovery Data Communication).............................................. 1-2 Package Checklist .............................
1 Chapter 1 Introduction The UPort 1100 Series of USB-to-serial converters provide an easy way to add COM ports to your computer. The UPort 1110 provides one RS-232 port, the UPort 1130 provides one RS-422/RS-485 port, and the UPort 1150 and UPort 1150I each provide one RS-232/422/485 port. As a plug and play USB device, the converters are perfect for mobile, instrumentation, and point-of sale applications.
UPort 1100 Series User’s Manual Introduction Overview The UPort 1110, UPort 1130, and UPort 1150/1150I are part of Moxa’s UPort line of USB-to-serial converters. The UPort line provides a range of easy-to-use solutions for adding COM ports through a PC’s USB port. Simply install the drivers, connect the UPort to your computer, plug in your serial devices, and you’re ready to go.
UPort 1100 Series User’s Manual Introduction Product Features The UPort converter has the following features: y Full-Speed USB operation at up to 12 Mbps y Additional I/O or IRQ not required y Serial transmission speed up to 921.
UPort 1100 Series User’s Manual Material Gross Weight Environmental Operating Temperature Storage Temperature Operating Humidity Regulatory Approvals Introduction UPort 1110/1130/1150: ABS + PC UPort 1150I: Metal UPort 1110/1130/1150: 60 g (0.13 lb) UPort 1150I: 80 g (0.
UPort 1100 Series User’s Manual Introduction LED Indicators Active Active Active TxD TxD TxD RxD RxD RxD 1110 1130 USB-to-Serial Adaptor UPort 1150 I UPort 1150 UPort 1130 UPort 1110 1150 RS-232/422/485 USB-to-Serial Adaptor USB-to-Serial Adaptor UPort 1110/1130/1150 LED description: Name Color Description This LED indicates normal operation. Steady: The UPort is operational. Active Red TxD Green Blinking: Serial device is transmitting data.
UPort 1100 Series User’s Manual 1K Introduction TR ON DIP 1 2 3 150 KX Adjustable Pull High/low, Terminator Resistors for the RS-485 Port In some critical environments, you may need to add termination resistors to prevent the reflection of serial signals. When using termination resistors, it is important to set the pull high/low resistors correctly so that the electrical signal is not corrupted. The UPort uses DIP switches to set the pull high/low resistor values for each serial port.
2 Chapter 2 Installation and Configuration Installation of the converter is a simple process. First install the driver, then plug the converter into a USB port. When the converter is plugged in, Windows will load the correct drivers for the converter and the new COM port. In this chapter, basic installation and configuration procedures are explained. Although the installation screens will be for Windows 2000, the procedures are essentially the same for Windows 98 and later versions.
UPort 1100 Series User’s Manual Installation and Configuration Initial Driver Installation The Documentation and Software CD contain the drivers for the converter. You may also download the drivers at www.moxa.com. The installation procedure is the same for all Windows operating systems. Use Windows Explorer to locate the driver installation file, which will be Setup or Install. On the Documentation and Software CD, this file will be located in the UPort 1100/Software folder, filed by operating system.
UPort 1100 Series User’s Manual Installation and Configuration 2. Click Next to install the driver in the indicated folder, or use the drop-down folder list to locate a different folder. 3. Click Install to proceed with the installation.
UPort 1100 Series User’s Manual Installation and Configuration 4. A window will pop up cautioning you that this software has not passed Windows logo testing. This is a standard warning, and Moxa has thoroughly tested the driver for safe Windows operation. Please click STOP Installation to proceed. 5. Click Finish to complete the installation of the driver.
UPort 1100 Series User’s Manual Installation and Configuration Hardware Installation After installing the driver, plug the converter into any upstream USB port, such as a USB port on your computer. Windows will automatically detect the converter and begin installing the driver. When the Windows finishes installing the driver for the converter, it will then detect a new COM port, and will then install another driver for the new COM port.
UPort 1100 Series User’s Manual 3. Installation and Configuration Windows will automatically detect and install the new serial port. No further action is required Windows XP, Windows 2003, and Windows Vista (32-bit and 64-bit) The following instructions are for Windows XP, Windows 2003, and Windows Vista systems. 1. After plugging the converter into a USB port, Windows will automatically detect the new device. The Found New Hardware balloon will appear in the bottom right corner of the Windows desktop.
UPort 1100 Series User’s Manual Installation and Configuration 3. On the next window that appears, select Install the software automatically (Recommended), then click Next. 4. The installation wizard will search for the correct drivers. After a moment, a window will pop up cautioning you that this software has not passed Windows logo testing. This is a standard warning, and Moxa has thoroughly tested the driver for safe Windows operation. Please click Continue Anyway to proceed.
UPort 1100 Series User’s Manual Installation and Configuration 5. Windows will spend a few moments installing the UPort driver. 6. The next window indicates that Windows has completed the installation. Click Finish to continue with installation procedure. 7. After Windows has completed installing the converter, it will automatically detect the new COM port. The Found New Hardware balloon will appear in the bottom right corner of the Windows desktop.
UPort 1100 Series User’s Manual Installation and Configuration 8. The Found New Hardware Wizard will open. If you see the following screen, select No, not this time, then click Next. 9. After a moment, the Found New Hardware Wizard will open. Select Install the software automatically (Recommended), then click Next.
UPort 1100 Series User’s Manual Installation and Configuration 10. The installation wizard will search for the correct drivers. After a moment, a window will pop up cautioning you that this software has not passed Windows logo testing. This is a standard warning, and Moxa has thoroughly tested the driver for safe Windows operation. Please click Continue Anyway to proceed. 11. Windows will spend a few moments installing the driver.
UPort 1100 Series User’s Manual Installation and Configuration 12. The next window indicates that Windows has completed the installation. Click Finish to proceed with installation procedure. 13. The Found New Hardware balloon will reappear, indicating that the installation was successful.
UPort 1100 Series User’s Manual Installation and Configuration Configuring the COM Port After the driver and hardware have been successfully installed, the new COM port will have a COM number and can be accessed and controlled just like your PC’s built-in COM ports. If you need to change the baud rate, parity, or other COM port settings, you may use your serial communication application to make those changes.
UPort 1100 Series User’s Manual Installation and Configuration Configuring the Converter If you need to change the COM number that the converter assigns to the COM port, or adjust other advanced settings, you may go to Device Manager and right-click the UPort converter, which will be listed under Multi-port serial adaptors. In the context menu that pops up, you may select Properties in order to modify the COM port settings.
UPort 1100 Series User’s Manual Installation and Configuration In the Port Configuration tab, you will see the new COM port listed. Click Port Setting to modify the COM number and other parameters. ATTENTION Before modifying these settings, make sure that you have closed any applications that may be accessing the COM port, such as HyperTerminal.
UPort 1100 Series User’s Manual Installation and Configuration You may change the Port Number and enable or disable the Fast Flush function. For the UPort 1130, you may also select between RS-422, 2-wire RS-485, and 4-wire RS-485 modes. Please note that Auto Enumerating COM Number and Set the change to all ports are not available for this model of UPort. * The UPort 1100 only supports RS-232. For this reason, when using the UPort 1100, the Interface drop-down box will be inactive.
UPort 1100 Series User’s Manual Installation and Configuration Removing the Converter The converter is a plug and play device. No special procedures are required to remove the converter; you may simply pull the converter out of the USB port. You should verify that no data is being transmitted before removing the converter. Removing the converter does not remove the drivers. The drivers remain in place so that the converter can be automatically detected and installed if it is pluged back into the USB port.
UPort 1100 Series User’s Manual Installation and Configuration Uninstalling the Driver The UPort driver may be removed through Add/Remove Programs in the Windows Control Panel. Click Remove next to MOXA UPort 1110/1130/1150 Windows Driver Ver1.5.
UPort 1100 Series User’s Manual Installation and Configuration Install Linux Driver Linux Kernel 2.4.20 and above The Linux driver for the Moxa UPort 1000 Series converters will map Linux host ttyUSBxx ports to UPort device ports. Once the mapping has been set up, Linux users and applications can connect to a device port as if it were a ttyUSBxx port. These drivers have been designed and tested for the majority of Linux distributions, including Linux kernel version 2.4.20 and above.
UPort 1100 Series User’s Manual Installation and Configuration Unloading the Moxa Driver The driver will not be unloaded when you remove the MOXA UPort 1100 from the PC. The Moxa driver must be unloaded manually. #rmmod mxuport1100_24 You can verify that the driver has loaded by entering the following command: # lsmod For additional information, please refer to readme.txt in the mxuport1100_24 directory.
UPort 1100 Series User’s Manual Installation and Configuration In this section, we provide four procedures to introduce the Moxa Linux Driver. 1. Installing Linux Driver File 2. Loading/Unloading the Moxa Driver 3. Setting the Serial Parameters 4. Removing the Moxa Linux Driver Installing Linux Driver Files Obtain the driver file from the Document and Software CD, or from the Moxa website at http://www.moxa.com.
UPort 1100 Series User’s Manual Installation and Configuration Setting the Serial Parameters The UPort 1130 supports three interfaces (RS-485 2W, RS-485 4W, RS-422) and the UPort 1150/1150I supports four interfaces (RS-232, RS-485 2W, RS-485 4W, RS-422). If you want to switch to a different interface, execute the setserial command to set the port's interface. The supported parameters are listed below.
UPort 1100 Series User’s Manual Installation and Configuration Installation with an installation package for Win CE 6.0 Installation procedure Copy the UPort 1200/1400/1600 WinCE 6.0 driver package onto your computer and extract. Double click on the installation package and it will automatically copy the Mxser folder to C:\MOXAUPORT\wince600\Uport. Step 1: Launch Visual Studio 2005 with Platform Builder WinCE6.0. Open the OSDesign that you want to install.
UPort 1100 Series User’s Manual Installation and Configuration Step 2: The WinCE 6.0 OS Design Wizard will start, click “Next” to continue. In the “Board Support Packages” page, select the “CEPC: x86.” Click “Next.
UPort 1100 Series User’s Manual Installation and Configuration Step 3: Under Design Templates and Design Template Variants, select your environment, such as PDA Device or Mobile Handheld, and then click Next. In Application & Media and Networking & Communication, also select your environment, such as .NET Compact Framework 2.0, ActiveSync, Quarter VGA Resources-Portrait Mode, or TCP/IPv6 Support.
UPort 1100 Series User’s Manual Installation and Configuration 2-25
UPort 1100 Series User’s Manual Installation and Configuration Step 4: When the OS Design Project Wizard Complete screen appears, click Finish. The notification will pop up. Click “Acknowledge” to finish the project.
UPort 1100 Series User’s Manual Installation and Configuration Step 5: Open the project you created. Click Project on top of the screen, and then select Add Existing Subproject. Switch the folder to “C:\MOXAUPORT\wince600\Uport” and add subprojects into your OS Design. Assign the pbpxml file to a different folder (i.e.mxupce6.pbpxml).
UPort 1100 Series User’s Manual Installation and Configuration Step 6: After the subproject is added, you may configure the “mxupce6.reg” registry file with the location [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\MXU_PORT]. Step 7: Open “Build”, select “Advanced Build Commands” and “Build Sysgen”. This operation will take you a few minutes.
UPort 1100 Series User’s Manual Installation and Configuration Step 8: After building sysgen, select “Build” and “Make Run-Time Image” to create the WinCE OS image. Finally, copy your image file to the target Host. Step 9: Configure the interface on the target device using the configuration tool found in “Start Æ Programs Æ MOXA UP Configuration Panel\UPort Configuration Utility”.
UPort 1100 Series User’s Manual Installation and Configuration Installation with an installation package for Win CE 5.0 In this section, we show how to install the Moxa WinCE 5.0 driver on a Windows CE 5.0 operating system directly. Step 1: Obtain a copy of the UPort 1110/1130/1150 WinCE 5.0 driver package and extract it to your computer. Double click the installation package to copy the files automatically to the UPort folder \WINCE500\PLATFORM\ (e.g.
UPort 1100 Series User’s Manual Installation and Configuration 2-31
UPort 1100 Series User’s Manual Installation and Configuration Removing the Moxa WinCE 5.0 / CE 6.0 Driver For WinCE 6.0 Driver: Step 1: Select driver to Remove. Step 2: Switch the folder to C:\ MOXAUP1100 \ and double click “unins000.exe” to remove installation folder.
UPort 1100 Series User’s Manual Installation and Configuration For WinCE 5.0 Driver: Step 1: In the “OSDesign_View”, delete “USB to Serial Adaptors (Prefix XXX)”. Step 2: Remove driver from control panel. Step 3: Check “clean before building” Step 4: Use “build and sysgen” to rebuild the image. Installation with a CAB File Install the UPort 1100 series WinCE driver to target host. Step 1: First install Microsoft ActiveSync on the source PC.
UPort 1100 Series User’s Manual Installation and Configuration 2-34
UPort 1100 Series User’s Manual Installation and Configuration Step 3: Click on the “Explore” button in the ActiveSync window, and then copy the UP1100_COM_v1.0_Setup.CAB (For WinCE 6.0) or UP1100_COM_v1.1_Setup.CAB (For WinCE 5.0) file to the Mobile/Target Device. Step 4: Double click on the CAB file to start installing the UPort 1100 series WinCE driver. After installing the driver, plug the UPort 1100 series device into the USB port of the WinCE Device. The driver will be loaded automatically.
3 Chapter 3 Pin Assignment UPort DB9 Pin Assignments The UPort 1100 series uses male DB9 connectors.