UPort 1200/1400/1600 Series User’s Manual Fifth Edition, March 2009 www.moxa.com/product © 2009 Moxa Inc. All rights reserved. Reproduction without permission is prohibited.
UPort 1200/1400/1600 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 Moxa UPort 1200/1400/1600 are advanced USB-to-serial converters that add 2, 4, 8, or 16 serial ports to a PC through the PC’s USB port. The UPort 1200/1400/1600 are compatible with both new and legacy RS-232 or RS-422/485 devices. These plug and play USB-to-serial converters are ideal for mobile, instrumentation, and point-of sale applications. In this manual, we refer to the products in the series collectively as the UPort 1200/1400/1600 Series, or simply as the UPort.
UPort 1200/1400/1600 Series User’s Manual Introduction Overview UPort 1200/1400/1600 Series products are easy to install and use. After installing the drivers on your PC, connect the UPort to your computer, plug in your serial devices, and you’re ready to go. Programming is NOT required, and you do not need to worry about IRQs, configuring a board, power requirements, or connection schemes. UPort 1200/1400/1600 Series products are compliant with USB 1.1, and 2.
UPort 1200/1400/1600 Series User’s Manual Introduction Product Features UPort 1200/1400/1600 Series products have the following features: y y y y y y y y y y y y y y Hi-Speed USB 2.0 supported (up to 480 Mbps) Additional I/O or IRQ not required Serial transmission speed up to 921.6 Kbps 128-byte FIFO and on-chip H/W, S/W flow control Built-in 15 KV ESD protection Windows 2000/XP/2003/Vista/2008 (x86, x64), Win CE5.0/CE6.0, Linux 2.4, 2.
UPort 1200/1400/1600 Series User’s Manual Serial Signals RS-232 RS-422 RS-485-4w RS-485-2w RS-485 Data Direction Driver Support Operating Systems Physical Characteristics Housing Weight Dimensions Environmental Limits Operating Temperature Operating Humidity Storage Temperature Regulatory Approvals Introduction TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND TxD+(B), TxD-(A), RxD+(B), RxD-(A), GND TxD+(B), TxD-(A), RxD+(B), RxD-(A), GND Data+(B), Data-(A), GND ADDC™ (Automatic Data Direction Control) Windows (20
UPort 1200/1400/1600 Series User’s Manual Power Requirements Power Consumption Warranty Warranty Period Details Introduction y Bus power: UPort™ 1250: 360 mA @ 5 VDC UPort™ 1410: 180 mA @ 5 VDC y 12 to 48 VDC external power: UPort™ 1250I: 200 mA @ 12 VDC UPort™ 1410: 180 mA @ 12 VDC UPort™ 1450: 260 mA @ 12 VDC UPort™ 1450I: 360 mA @ 12 VDC UPort™ 1610-8: 230 mA @ 12 VDC UPort™ 1650-8: 340 mA @ 12 VDC UPort™ 1610-16: 130 mA @ 100 VAC UPort™ 1650-16: 150 mA @ 100 VAC 5 years See www.moxa.
UPort 1200/1400/1600 Series User’s Manual Introduction Panel Layout UPort 1250 UPort 1250I UPort 1410/1450/1450I UPort 1610-8/1650-8 UPort 1610-16/1650-16 1-6
UPort 1200/1400/1600 Series User’s Manual Introduction Dimensions UPort 1250 UPort 1250I 77 mm (3.03 in) 111 mm (4.37 in) 77 mm (3.03 in) UPort 1410/1450/1450I 1-7 116.3 mm (4.58 in) 26 mm (1.02 in) 26 mm (1.02 in) 26 mm (1.02 in) 116.3 mm (4.58 in) 111 mm (4.
UPort 1200/1400/1600 Series User’s Manual Introduction UPort 1610-8/1650-8 UPort 1610-16/1650-16 1-8
2 Chapter 2 Driver Installation In this chapter, we use Windows XP to illustrate how to install the UPort 1200/1400/1600 USB-to-serial converters. The procedures for Windows 2000/2003 and Vista are essentially the same. We recommend installing the UPort driver first, before connecting the UPort to your computer’s USB port.
UPort 1200/1400/1600 Series User’s Manual Driver Installation UPort’s USB Usage Limitation 1. A maximum of 4 UPort converters can be connected to one PC host. Connecting more than 4 UPort converters will strain system resources and potentially destabilize the computer. 2. We recommend connecting the UPort directly to your PC’s USB port. 3. Although your UPort supports USB 1.1, we recommend using a USB 2.0 host controller or hub for the best and most stable performance.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 2. Click Next to install the driver in the indicated folder. 3. Click Next to create the program’s shortcuts in the indicated folder.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 4. Click Install to proceed with installation. 5. The next window that opens cautions you that although this software has not passed Windows logo testing, the driver has already been tested and shown that it can support the Windows operating system. Click Continue Anyway to proceed.
UPort 1200/1400/1600 Series User’s Manual 6. Driver Installation Click Finish to complete the driver installation. Hardware Description We recommend installing the driver before connecting the UPort to your PC. Some UPort models require an external power adaptor or cord, and other models support both external and bus power.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Connecting the Hardware Please install the driver before connecting the UPort series to your PC's USB port. See the previous section for details. Connecting to a Serial Device Use the proper serial cables to connect your serial devices to the UPort’s serial ports, which support the RS-232 and/or RS-422/485 interface. The UPort’s serial ports use DB9 male connector with standard pin assignment. Please see Chapter 3 for detail pin assignment.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Adjustable Pull High/low Resistors for the RS-485 Port The UPort uses DIP switches to set the pull high/low resistor values for each serial port. To set the pull high/low resistors to 150 KΩ, make sure both of the assigned DIP switches are in the OFF position. To set the pull high/low resistors to 1 KΩ, make sure both of the assigned DIP switches are in the ON position. This is the default setting.
UPort 1200/1400/1600 Series User’s Manual Driver Installation UPort 1600-8 DIP Switches P1 P8 Port1, Port 2, Port 3, Port 4, Port 5, Port 6, Port 7, Port 8 UPort 1600-16 DIP Switches P1 P16 Port1, Port 2, Port 3, Port 4, Port 5, Port 6, Port 7, Port 8, Port 9, Port 10, Port 11, Port 12, Port 13, Port 14, Port 15, Port 16 Installing the Driver for the Converter NOTE The operating system will automatically detect the UPort when you plug it into one of your computer’s USB ports.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Case 1: The UPort Driver is Certified If the UPort driver that you installed has been certified by Microsoft, the UPort and the UPort’s serial ports will be installed automatically when you plug the UPort into your computer’s USB port.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 3. Select Install the software automatically (Recommended), and then click Next to continue. 4. Wait while the installation wizard searches for the correct drivers. The next window that opens cautions you that although this software has not passed Windows logo testing, this driver has already been tested and shown that it can support the Windows operating system. Click Continue Anyway to proceed.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 5. The next window shows the model name of the board, and indicates that Windows has completed the driver installation. Click Finish to proceed with the rest of the installation procedure. 6. Open Windows Device Manager to check that the installation was successful. The UPort USB-to-serial converter should appear under Multi-port serial adapters.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Installing the Driver for the Ports 1. The Found New Hardware Wizard window will open to help you install the driver. This window will offer to connect to the Windows update site to search for a driver. Select No, not at this time and then click Next to continue. 2. Select Install the software automatically (Recommended), and then click Next to continue.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 3. Wait while the installation wizard searches for the correct drivers. The next window that opens cautions you that although this software has not passed Windows logo testing, this driver has already been tested and shown that it can support the Windows operating system. Click Continue Anyway to proceed. 4. Wait while the driver software is installed. 5.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 6. Repeat Step 1 through Step 5 for each of the remaining ports (once for the UPort 1200 series, 3 times for the UPort 1400 series, 7 times for the UPort 1600-8 series, 15 times for the UPort 1600-16 series). 7. The Found New Hardware balloon will reappear to inform you that the hardware was installed successfully. 8. Open Windows Device Manager to check that the installation was successful.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Configuring the Ports After the driver has been installed, use Windows’ Device Manager to configure the UPort serial ports. 1. With the System Properties window open, click on the Hardware tab, and then click on Device Manager.
UPort 1200/1400/1600 Series User’s Manual 2. Driver Installation Expand the Multi-port serial adapters tab, right click MOXA UPort 1250 Series, and then click Properties to open the UPort’s configuration panel. The Ports Configuration page settings are described below.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Port Settings Auto Enumerating COM Number If the “Auto Enumerating COM Number” checkbox is checked, COM numbers will be assigned automatically and in sequence to the ports. E.g., COM3 to Port 1, COM4 to Port 2, etc. If you do not enable this check box, only the first COM Number will be changed to new COM number list in the drop-down list box. Enable this function if you want to configure several ports with sequential numbers.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Fast Flush Setting Enable/Disable Factory Default Enable Necessity Required 1. For some applications, the user’s program will use the Win32 PurgeComm() function before it reads or writes data. With our design, after the program uses this PurgeComm() function, the UPort driver will keep querying the UPort’s firmware several times to make sure that no data is queued in the UPort’s firmware buffer, rather than just flushing the local buffer.
UPort 1200/1400/1600 Series User’s Manual Driver Installation View All Settings You can preview all ports settings with this function. Advanced Settings Serial transmission applications use names such as COM3 and COM4 to identify COM ports. Unfortunately, most USB-to-serial products are unable to use fixed COM names on the host PC.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Save Save all settings to the UPort. Restore Read all UPort settings as new settings. Click OK to activate. Clear Clear the UPort settings stored in the UPort. This operation is similar to resetting all settings to their factory defaults. The following settings will be saved to the UPort if you select Save: COM number, Friendly Name, Transmission Mode, FIFO settings, Fast Flush settings, and Interface.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Help Clicking Help will open the online help for the UPort. Locate Use this function to identify the UPort’s location, especially when two or more UPorts are installed in the same computer. This function will ask the UPort to flash the ready LED and turn on the Buzzer until you stop it.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Fixed-base COM Moxa’s UPort 1200/1400/1600 Series Utility gives users a convenient tool for configuring and maintaining products from the UPort series. In this section, we introduce the “Fixed-base COM Mode” function that enables user to set COM names on the host PC. We use the UPort 1250 as an example.
UPort 1200/1400/1600 Series User’s Manual Driver Installation If both UPorts are unplugged from the computer, and then UPort D2 is plugged back in, the computer will now assign COM10 and COM11 to the UPort’s serial ports. When UPort D1 is plugged back in, COM numbers COM12 and COM13 will be assigned the UPort’s serial ports.
UPort 1200/1400/1600 Series User’s Manual Driver Installation If you enable “Fixed-base COM Mode,” all parameters will be reset to their default values: At this point you can set serial parameters to the values needed for your application.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Uninstalling the UPort If you want to remove the UPort, you just need to remove the device from Device Manager. The UPort driver will still stay alive enabling other UPort devices to keep working. 1. To uninstall the UPort, click Start Æ Settings Æ Control Panel Æ System, select the Hardware tab, and then click Device Manager.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 2. Expand the Multi-port serial adapters tab, right click MOXA UPort 1250 Series, and then click Uninstall to uninstall this UPort. A window will pop up to confirm that you want to remove this UPort. 3. Click OK to continue uninstalling the UPort. The UPort will be removed from the list of Multi-port serial adapters. Uninstalling the Driver 1. To uninstall the driver, open the Control window, and click Add/Remove Programs.
UPort 1200/1400/1600 Series User’s Manual 2. Driver Installation Select Moxa UPort Windows Driver Ver1.4. Click the Remove button.
UPort 1200/1400/1600 Series User’s Manual 3. Driver Installation Click OK to proceed with the un-installation procedure. Installing the Windows CE Driver In this section, we introduce installation procedures for the Windows CE 5.0 and Windows CE 6.0 drivers. Both Win CE 5.0 and Win CE 6.0 need the Win CE platform builder for installation. The only difference is that Win CE 6.0 also requires Visual Studio 2005. Win CE 6.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 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 1200/1400/1600 Series User’s Manual Driver Installation Step 2: When the CE 6.0 OS Design Wizard starts, select CEPC: x86 for Board Support Packages.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 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 1200/1400/1600 Series User’s Manual Driver Installation 2-32
UPort 1200/1400/1600 Series User’s Manual Driver Installation 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 1200/1400/1600 Series User’s Manual Driver Installation 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). 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].
UPort 1200/1400/1600 Series User’s Manual Driver Installation Step 7: Open “Build”, select “Advanced Build Commands” and “Build Sysgen”. This operation will take you a few minutes.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 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 1200/1400/1600 Series User’s Manual Driver Installation Installation with an installation package for Win CE 5.0 In this section, we describe how to install the Moxa Win CE 5.0 Driver on a Windows CE 5.0 operating system. Step 1: Obtain a copy of the UPort 1200/1400/1600 Series WinCE 5.0 driver package and extract it to your computer. Double click the installation package and it will automatically copy the UPort folder to “\WINCE500\PLATFORM\” (e.g.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Step 4: Interface configuration. On the target device, configuration tool will be found in “StartÆProgramsÆMOXA UP Configuration Panel\UPort Configuration Utility”.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Removing the Moxa Win CE 5.0/ CE6.0 Driver For Win CE 6.0 Driver: Step 1: Select the driver to remove. Step 2: Switch the folder to C:\ MOXAUPORT \ and double click “unins000.exe” to remove the installation folder. For Win CE 5.0 Driver: Step 1: In the “OSDesign_View”, delete “USB to Serial Adaptors (Prefix XXX)”. Step 2: Remove the driver from Control Panel. Step 3: Checkmark “clean before building”.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Installation with a CAB File Install the UPort 1200/1400/1600 series Win CE driver onto the target host. Step 1: If you do not have ActiveSync, install Microsoft ActiveSync in the source PC. Before running ActiveSync, use an RS-232 null modem cable to connect the WinCE Device (CEPC) and the PC. Step 2: Execute the command repllog from the WinCE device’s command prompt.
UPort 1200/1400/1600 Series User’s Manual Driver Installation 2-41
UPort 1200/1400/1600 Series User’s Manual Driver Installation Step 3: Click on the “Explore” button in the ActiveSync window, and then copy the UPort_COM_v1.0_Setup.cab (Win CE 6.0) or UPort_COM_v1.1_Setup.cab (Win CE 5.0) file to the “Mobile/Target Device”. Step 4: Double click on the CAB file (UPort_COM_v1.0_Setup.cab (Win CE 6.0) or UPort_COM_v1.1_Setup.cab (Win CE 5.0)) to start installing the UPort 1200/1400/1600 Series WinCE driver.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Installing the Linux Driver Linux Kernel 2.6.x The Linux driver provided with the UPort 1200/1400/1600 maps Linux host ttyMXUSBxx 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 ttyMXUSBxx port. These drivers have been designed and tested for the majority of Linux distributions, including Linux kernel version 2.6.x. Please check Moxa’s website (http://www.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Module Driver Configuration We cover the following topics in this section: ¾ Building the Moxa Driver ¾ Installing the Moxa Driver Building the Moxa Driver Before using the Moxa driver, you will need to compile all of the source code. This only needs to be done once, unless you modify the source code. If the source code is modified, then you will need to re-compile it.
UPort 1200/1400/1600 Series User’s Manual Driver Installation Setting the Serial Parameters After installing the Moxa Linux Driver, you will be able to configure parameters. 1. Serial Interface: The UPort 1250/1250I/1450/1450I/1650-8/1650-16 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.
3 Chapter 3 Pin Assignment The UPort 1250/1250I have 2 RS-232/422/485 ports, the UPort 1410 has 4 RS-232 ports, the UPort 1450/1450I have 4 RS-232/422/485 ports, the UPort 1610-8/1610-16 have 8 or 16 RS-232 ports, and the UPort 1650-8/1650-16 has 8/16 RS-232/422/485 ports.