Moxa Uport 1100 Series Manual v9.0
Moxa Uport 1100 Series Manual v9.0
www.moxa.com/product
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
Trademarks
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of
Moxa.
Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited
to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the
products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for
its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the
information herein to correct such errors, and these changes are incorporated into new editions of the publication.
www.moxa.com/support
Moxa Americas Moxa China (Shanghai office)
Toll-free: 1-888-669-2872 Toll-free: 800-820-5036
Tel: +1-714-528-6777 Tel: +86-21-5258-9955
Fax: +1-714-528-6778 Fax: +86-21-5258-5505
Moxa India
Tel: +91-80-4172-9088
Fax: +91-80-4132-1045
Table of Contents
1. Introduction ..........................................................................................................................................1
Overview .............................................................................................................................................. 2
ARDC (Automatic Recovery Data Communication) .............................................................................. 2
Package Checklist .................................................................................................................................. 2
Product Features ................................................................................................................................... 3
Product Specifications ............................................................................................................................ 3
LED Indicators ....................................................................................................................................... 5
Adjustable Pull High/Low, Terminator Resistors for the RS-485 Port...................................................... 6
2. Installation and Configuration ..............................................................................................................1
Initial Driver Installation ......................................................................................................................... 2
Hardware Installation...................................................................................................................... 4
Windows 98/ME and Windows 2000 .................................................................................................. 4
Windows XP, Windows 2003/Vista, and Windows 2008 and 2012 (32-bit and 64-bit) .............................. 5
Configuring the COM Port .............................................................................................................. 10
Configuring the Converter ............................................................................................................. 11
Removing the Converter ............................................................................................................... 13
Uninstalling the Driver .................................................................................................................. 14
Advanced UPort 1100 Driver Functions ................................................................................................... 15
Enable Fixed-base COM Mode ................................................................................................................ 15
Install Linux Driver .............................................................................................................................. 16
Linux Kernel 2.4.20 and above ....................................................................................................... 16
Linux Kernel 2.6.x ........................................................................................................................ 17
Installing the Windows CE Driver ........................................................................................................... 19
Installation with an installation package for Win CE 6.0 ..................................................................... 20
Installation with an installation package for Win CE 5.0 ..................................................................... 27
Removing the Moxa WinCE 5.0 / CE 6.0 Driver................................................................................. 29
Installation with a CAB File ............................................................................................................ 30
Removing the Moxa WinCE 5.0 / CE 6.0 Driver................................................................................. 32
3. Pin Assignment .....................................................................................................................................1
UPort DB9 Pin Assignments ..................................................................................................................... 1
Terminal Block Pin Assignments .............................................................................................................. 1
A. EMI Notices ...........................................................................................................................................1
EMI Notices (Class B) ............................................................................................................................. 1
GREEN Notices ...................................................................................................................................... 1
1
1. Introduction
The UPort 1100 Series of USB-to-serial converters provides an easy way to add COM ports to your computer.
The UPort 1110 provides one RS-232 port; the UPort 1130 and UPort 1130I each provide one RS-422/RS-485
port; 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.
Overview
ARDC (Automatic Recovery Data Communication)
Package Checklist
Product Features
Product Specifications
LED Indicators
Adjustable Pull High/Low, Terminator Resistors for the RS-485 Port
UPort 1100 Series Introduction
Overview
The UPort 1100 series is 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. Programming is not required, and
you do not need to worry about IRQs, configuring a board, power requirements, or connection schemes.
The UPort 1100 series provides single COM port expansion. The UPort 1110 adds one RS-232 port to your
computer, which is the same type of COM port that is built into most PC motherboards. The UPort 1130/1130I
adds one port that is configurable for RS-422, 2-wire RS-485, and 4-wire RS-485 modes. The UPort
1150/1150I adds one RS-232, RS-422, 2 wire RS-485, or 4 wire RS-485 port to your computer. All of these
models can operate at speeds of up to 12 Mbps, which are much faster than the current maximum serial
transfer rate. The converter is bus-powered, so no external power supply is required.
Package Checklist
The following items are included in your UPort 1110/1130/1130I/1150 package:
Please notify your sales representative if any of the above items are missing or damaged.
1-2
UPort 1100 Series Introduction
Product Features
The UPort converter has the following features:
Product Specifications
USB Interface
Compliance: USB 1.0/1.1 compliant, USB 2.0 compatible
Connector:
USB type A: UPort 1110/1130/1130I/1150
USB type B: UPort 1150I
Speed: 12 Mbps (Full-speed USB)
Serial Interface
Number of Ports: 1
Serial Standards:
UPort 1110: RS-232
UPort 1130/1130I: RS-422/485
UPort 1150/1150I: RS-232/422/485
Connector: DB9 male
Performance
Baudrate: 50 bps to 921.6 kbps
Serial Signals
RS-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND
RS-422: TxD+(B), TxD-(A), RxD+(B), RxD-(A), GND
RS-485-4w: TxD+(B), TxD-(A), RxD+(B), RxD-(A), GND
RS-485-2w: Data+(B), Data-(A), GND
RS-485 Data Direction: ADDC® (Automatic Data Direction Control)
Operating Systems
Windows Real COM Drivers
Android Driver
Linux Real TTY Drivers
Note: Please refer to Moxa’s website for the latest driver support information.
1-3
UPort 1100 Series Introduction
Physical Characteristics
Housing:
UPort 1110/1130/1130I/1150: ABS + PC
UPort 1150I: Metal
Weight:
Product only:
UPort 1110/1130/1130I/1150: 60 g (0.13 lb)
UPort 1150I: 80 g (0.17 lb)
Dimensions (L x W x H):
UPort 1110/1130/1130I/1150: 37.5 x 20.5 x 60 mm
UPort 1150I: 52 x 80 x 22 mm
Environmental Limits
Operating Temperature: 0 to 55°C (32 to 131°F)
Storage Temperature: -20 to 70°C (-4 to 158°F)
Ambient Relative Humidity: 5 to 95% (noncondensing)
Note: Please contact Moxa if you require products guaranteed to function properly at higher altitudes.
Power Requirements
Power Consumption:
UPort 1110: 5 VDC, 30 mA
UPort 1130: 5 VDC, 60 mA
UPort 1130I: 5 VDC, 65 mA
UPort 1150: 5 VDC, 77 mA
UPort 1150I: 5 VDC, 260 mA
Warranty
Warranty Period: 5 years
Details: See www.moxa.com/warranty
1-4
UPort 1100 Series Introduction
LED Indicators
1-5
UPort 1100 Series Introduction
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.
1 2 3
SW
Pull High Pull Low Terminator
ON 1kΩ 1kΩ 120 Ω
OFF 150 kΩ 150 kΩ Disable
1-6
2
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 of Windows operating system.
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. Double-click the Setup or Install file.
1. The Setup Wizard will open. Click Next to begin installing the driver.
2. Click Next to install the driver in the indicated folder, or use the drop-down folder list to locate a different
folder.
2-2
UPort 1100 Series Installation and Configuration
2-3
UPort 1100 Series 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 Windows finishes
installing the driver for the converter, it will detect a new COM port and will then install another driver for the
new COM port.
ATTENTION
For best results, we recommend that you install the driver before plugging the converter into the USB port.
Please refer to the previous section on Initial Driver Installation for instructions.
1. After plugging the converter into a USB port, the Found New Hardware window should open
automatically. The USB icon indicates that the USB port is being installed. No action is required.
2. Windows 98 users may skip to the next step. On Windows 2000 systems, 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 Yes to proceed.
3. Windows will automatically detect and install the new serial port. No further action is required
2-4
UPort 1100 Series Installation and Configuration
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.
If the UPort driver that you installed has not been certified by Microsoft, then plugging the driver into your
computer’s USB port will activate the UPort installation program. The first part of the installation procedure
installs the software for the UPort itself; the second part of the procedure installs the serial ports.
The following instructions are for Windows XP, Windows 2003/Vista, Windows 2008, and Windows 2012
systems.
1. After plugging the converter into a USB port, Windows will automatically detect the new device. The Found
New Hardware speech balloon will appear in the bottom right corner of the Windows desktop. No action
is required yet.
2. After a moment, the Found New Hardware Wizard will open. If you see the following screen, select No, not
this time, then click Next.
2-5
UPort 1100 Series 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.
2-6
UPort 1100 Series Installation and Configuration
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 speech balloon will appear in the bottom right corner of the Windows desktop.
8. The Found New Hardware Wizard will open. If you see the following screen, select No, not this time, then
click Next.
2-7
UPort 1100 Series Installation and Configuration
9. After a moment, the Found New Hardware Wizard will open. Select Install the software automatically
(Recommended), then click Next.
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.
2-8
UPort 1100 Series 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 speech balloon will reappear, indicating that the installation was successful.
2-9
UPort 1100 Series Installation and Configuration
2-10
UPort 1100 Series 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.
2-11
UPort 1100 Series Installation and Configuration
ATTENTION
Before modifying these settings, make sure that you have closed any applications that may be accessing the
COM port, such as HyperTerminal.
You may change the Port Number and enable or disable the Fast Flush function. For the UPort 1130/1130I, 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.
*The UPort 1150/1150I support RS-232, RS-422, 2-wire RS-485, and 4-wire RS-485. The default setting is
RS-232.
The Fast Flush function is specifically designed to handle Win32 PurgeComm() function calls and is enabled by
default. When Fast Flush is enabled, the driver will automatically clear the local buffer when it receives a
PurgeComm() command. When Fast Flush is disabled, the driver will repeatedly query the converter until it
verifies that there is no more data in the buffer. Disabling this function can cause lower throughput for
applications that use PurgeComm() heavily.
2-12
UPort 1100 Series Installation and Configuration
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 plugged back into the USB port.
The converter can also be uninstalled through the Device Manager, the same as other Windows devices.
Right-click the converter, which will be found under Multi-port serial adaptors; then, select Uninstall from
the context menu.
2-13
UPort 1100 Series Installation and Configuration
2-14
UPort 1100 Series Installation and Configuration
To use “Fixed-base COM Mode,” be sure to check the “Enable Fixed-base COM Mode” check box. Note the
default setting for “Fixed-base COM Mode” is set at disable.
The COM numbers are assigned sequentially and are not tied to a specific UPort device or USB port number. For
example, let’s assume that you’ve set COM1 as the first COM number that will be assigned. If a UPort 1150 is
plugged into your computer’s USB port 1, your computer assigns COM1 to the UPort’s serial port. When the
UPort 1150 is plugged into USB port 2, the computer still assigns COM1 to the UPort’s serial port.
When “Fixed-base COM Mode” is enabled for the first time, all the COM port numbers and serial port
parameters will reset to their default values. You can then set the COM numbers and configuration parameters
to the values needed for your application(s). Note: If you subsequently disable “Fixed-base COM Mode,” all the
parameters will be restored to their original settings.
2-15
UPort 1100 Series Installation and Configuration
In this section, we provide four procedures to introduce the Moxa Linux Driver.
Obtain the driver file from the Document and Software CD, or from the Moxa website at
http://www.moxa.com.
To install and load the Linux drivers, enter the following commands from the Linux prompt:
After installing the driver, you can load the Moxa driver. The driver will be loaded automatically when the UPort
1100 is plugged into your PC, or you can load the driver manually.
# modprobe mxuport1100_24
You can verify that the driver has loaded by entering the following command:
# lsmod
2-16
UPort 1100 Series Installation and Configuration
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
The UPort 1130 supports three interfaces (RS-485 2W, RS-485 4W, RS-422); the UPort 1150/1150I support
four interfaces (RS-232, RS-485 2W, RS-485 4W, RS-422). You can execute the setserial command to set the
port’s interface. The supported parameters are listed below.
Example:
#make clean;
2-17
UPort 1100 Series Installation and Configuration
In this section, we provide four procedures to introduce the Moxa Linux Driver.
Obtain the driver file from the Document and Software CD, or from the Moxa website at
http://www.moxa.com.
To install and load the Linux drivers, enter the following commands from the Linux prompt:
After installing the driver, you will be able to load the Moxa driver. The driver will be loaded automatically when
the UPort 1100 is plugged into your PC, or you can load the driver manually by typing the following command:
# modprobe mxu11x0
You can verify that the driver has loaded by entering the following command:
# lsmod
The driver will not be unloaded when you remove the UPort 1100 from the PC. The Moxa driver must be
unloaded manually.
#rmmod mxu11x0
You can verify that the driver has loaded by entering the following command:
# lsmod
2-18
UPort 1100 Series Installation and Configuration
The UPort 1130/1130I supports three interfaces (RS-485 2W, RS-485 4W, RS-422);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.
For example:
#make clean;
With WinCE 6.0, you need to install Visual Studio 2005 & WinCE 6.0 Builder first. When installing Visual Studio
2005, you can select the language with .NET Framework SDK or use the “default.”
After you’ve installed VS 2005; run WinCE 6.0 Builder “setup.exe” to install and download the files. You need
to select “x86” for the WinCE 6.0 operating system. Note that this process will take a couple of hours as the
folder size is around 3GB.
Follow “Installing Visual Studio 2005” to install the UPort 1100 Series WinCE 6.0 driver.
2-19
UPort 1100 Series Installation and Configuration
Installation procedure
Copy the UPort 1100 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:\ MOXAUP1100\wince600\U1100.
1. Launch Visual Studio 2005 with Platform Builder WinCE6.0. Open the OSDesign that you want to install.
In Visual Studio 2005, click File New Project and select “Platform Builder for CE 6.0”. Select “OS
Design” for the template then click OK.
2-20
UPort 1100 Series Installation and Configuration
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.”
2-21
UPort 1100 Series Installation and Configuration
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.
2-22
UPort 1100 Series Installation and Configuration
2-23
UPort 1100 Series Installation and Configuration
4. When the OS Design Project Wizard Complete screen appears, click Finish. A notification will pop up.
Click “Acknowledge” to finish the project.
2-24
UPort 1100 Series Installation and Configuration
5. Open the project you created. Click Project on top of the screen; then, select Add Existing Subproject.
Switch the folder to “C:\ MOXAUP1100\wince600\U1100” and add subprojects into your OS Design. Assign
the pbpxml file to a different folder (i.e. mxu11x0.pbpxml).
6. After the subproject is added, you may configure the “mxupce6.reg” registry file with the location
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\MXU_11x0].
2-25
UPort 1100 Series Installation and Configuration
7. Open “Build” and select “Advanced Build Commands” and “Build Sysgen”. This operation will take
you a few minutes.
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.
9. Configure the interface on the target device, using the configuration tool found in “Start Programs
MOXA UP Configuration Panel\UPort Configuration Utility”.
2-26
UPort 1100 Series Installation and Configuration
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., C:\WINCE500\PLATFORM\U11x0) and import the UPort
1110/1130/1150 WinCE 5.0 driver into the Catalog.
2. Open your workspace in Platform Builder and then open “Manage Catalog Items” under View Catalog.
The UPort 1110/1130/1150 WinCE 5.0 driver is located in the “Third Party” folder.
3. Right-click on the driver “USB to Serial Adapters (Prefix COM)” or “USB to Serial Adapters (Prefix MXU)” and
then choose “Add to OS Design.” After adding the driver, you should be able to find it in your workspace. At
this point, you can start building your operating system and download it to a target.
2-27
UPort 1100 Series Installation and Configuration
2-28
UPort 1100 Series Installation and Configuration
2. Switch the folder to C:\ MOXAUP1100 \ and double-click “unins000.exe” to remove installation folder.
2-29
UPort 1100 Series Installation and Configuration
1. First, install Microsoft ActiveSync on the source PC. Before running ActiveSync on the source PC, use an
RS-232 null modem cable to connect the WinCE device (CEPC) to the PC.
2. Go to the “Command Prompt” on the WinCE device and execute the repllog command. A new partnership
window will appear. Select “No” and then click on “Next.” You will see “Connected” in ActiveSync.
2-30
UPort 1100 Series Installation and Configuration
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.
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. At this point, the UPort 1100 series is ready to use.
2-31
UPort 1100 Series Installation and Configuration
or
3. Click Remove.
4. Interface configuration
On the target device, go to Start Programs MOXA UP Configuration Panel\UPort Configuration
Utility to find the configuration tool.
2-32
3
3. Pin Assignment
RS-422 4-wire
DB9 (male) Pin RS-232 2-wire RS-485
RS-485
1 DCD (in) TxD-(A) –
2 RxD (in) TxD+(B) –
3 TxD (out) RxD+(B) Data+(B)
4 DTR (out) RxD-(A) Data-(A)
5 GND GND GND
6 DSR (in) – –
7 RTS (out) – –
8 CTS (in) – –
RS-422 4-wire
Terminal Block Pin 2-wire RS-485
RS-485
1 TxD+(B) –
2 TxD-(A) –
3 RxD+(B) Data+(B)
4 RxD-(A) Data-(A)
5 GND GND
Note that the converter maps pin 1 on the DB9 connector to pin 2 on the terminal block and pin 2 on the DB9
connector to pin 1 on the terminal block.
A
A. EMI Notices
This device complies with part 15 of the FCC Rules. Operation is subject to the
following two conditions:
FCC
(1) This device may not cause harmful interference, and
(U.S. Only)
(2) This device must accept any interference received, including interference
that may cause undesired operation.
GREEN Notices
WEEE Directive - 2002/96/EC
The symbol of the crossed-out wheeled bin indicates that at end-of-life of the
equipment separate collection is required in the EU Member States. The black
bar specifies that the appliance is put on the market after August 13, 2005.