PCI Express Board User’s Manual
Edition 11.2, October 2017
www.moxa.com/product
© 2017 Moxa Inc. All rights reserved.
PCI Express Board User’s Manual
Moxa China (Shanghai office)
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
© 2017 Moxa Inc. All rights reserved.
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.
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.
Technical Support Contact Information
www.moxa.com/support
Americas
-free: 1-888-669-2872
+1-714-528-6777
+1-714-528-6778
+49-89-3 70 03 99-0
+49-89-3 70 03 99-99
+91-80-4172-9088
+91-80-4132-1045
-free: 800-820-5036
+86-21-5258-9955
+86-21-5258-5505
sia-Pacific
+886-2-8919-1230
+886-2-8919-1231
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
PCI Express Solution .................................................................................................................... 1-2
ESD Protection ............................................................................................................................ 1-2
ADDC™ (Automatic Data Direction Control) for RS-485 .................................................................... 1-2
Operating System Support ........................................................................................................... 1-2
Moxa Serial Comm Tool ................................................................................................................ 1-3
Intelligent RS-485 ....................................................................................................................... 1-3
Applications ....................................................................................................................................... 1-3
Features ............................................................................................................................................ 1-3
Package Checklist ............................................................................................................................... 1-3
Installation Flowchart .......................................................................................................................... 1-4
2. Hardware Installation ....................................................................................................................... 2-1
CP-118EL-A Dimensions ...................................................................................................................... 2-2
CP-168EL-A Dimensions ...................................................................................................................... 2-2
CP-104EL-A Dimensions ...................................................................................................................... 2-3
CP-102E Dimensions ........................................................................................................................... 2-3
CP-102EL Dimensions ......................................................................................................................... 2-4
CP-132EL Dimensions ......................................................................................................................... 2-4
CP-132EL-I Dimensions ....................................................................................................................... 2-5
CP-114EL Dimensions ......................................................................................................................... 2-5
CP-114EL-I Dimensions ....................................................................................................................... 2-6
CP-116E-A Dimensions ........................................................................................................................ 2-6
CP-134EL-A-I Dimensions .................................................................................................................... 2-7
CP-118E-A-I/138E-A-I Dimensions........................................................................................................ 2-7
Plugging the Board into an Expansion Slot ............................................................................................. 2-8
3. Software Installation ........................................................................................................................ 3-1
Windows Drivers ................................................................................................................................. 3-2
Windows 2000, 2003/ XP/ Vista/ 2008 (x86/x64), 7/8 /8.1/ 10 (x86/x64), Server 2008 R2/ 2012/ 2012 R2/
2016 (x64) ................................................................................................................................. 3-3
Non-Windows Drivers ........................................................................................................................ 3-11
DOS ........................................................................................................................................ 3-11
Linux (32-bit/64-bit) .................................................................................................................. 3-14
SCO ......................................................................................................................................... 3-15
4. Configuring Intelligent RS-485.......................................................................................................... 4-1
Windows Users ................................................................................................................................... 4-2
Linux Users ........................................................................................................................................ 4-5
5. Serial Programming Tools ................................................................................................................. 5-1
Moxa PComm ..................................................................................................................................... 5-2
Installing PComm ........................................................................................................................ 5-2
PComm Programming Library ....................................................................................................... 5-2
Utilities .............................................................................................................................................. 5-2
Diagnostics (for Moxa boards only) ................................................................................................ 5-2
Monitor (for Moxa boards for Windows 2000/XP/2003/Vista/2008/7(x86 and x64) .............................. 5-3
Terminal Emulator ....................................................................................................................... 5-4
RS-485 Programming .......................................................................................................................... 5-4
ADDC™ ...................................................................................................................................... 5-4
6. Programming Guide .......................................................................................................................... 6-1
Relative Product List ........................................................................................................................... 6-2
Resource Requirement for Moxa Board ........................................................................................... 6-2
PCI Configuration for Moxa Board .................................................................................................. 6-2
UART Register Structure for MU860 chip ................................................................................................ 6-3
UART Register Structure for MUE250, MUE450, and MUE850 chips ............................................................ 6-4
For Baud Rate Setting ......................................................................................................................... 6-5
Moxa Board PCI Device ID List ............................................................................................................. 6-6
UART Datasheet ................................................................................................................................. 6-6
7. Pin Assignments ................................................................................................................................ 7-1
PCIe Board Accessories Table ............................................................................................................... 7-2
CP-118EL-A ....................................................................................................................................... 7-2
Board Side Pin Assignments-Female SCSI VHDCI68 ......................................................................... 7-3
Device Side Pin Assignments ........................................................................................................ 7-4
CP-168EL-A ....................................................................................................................................... 7-5
Board Side Pin Assignments-Female SCSI VHDCI68 ......................................................................... 7-5
Device Side Pin Assignments ........................................................................................................ 7-5
CP-104EL-A ....................................................................................................................................... 7-6
Board Side Pin Assignments-Female DB44 ...................................................................................... 7-6
Device Side Pin Assignments ........................................................................................................ 7-7
CP-102E ............................................................................................................................................ 7-7
Board Side Pin Assignments-Male DB9 ........................................................................................... 7-7
CP-102EL ........................................................................................................................................... 7-8
Board Side Pin Assignments—Female DB25 .................................................................................... 7-8
Device Side Pin Assignments ........................................................................................................ 7-8
CP-132EL/CP-132EL-I ......................................................................................................................... 7-9
Board Side Pin Assignments—Female DB25 .................................................................................... 7-9
Device Side Pin Assignments ........................................................................................................ 7-9
CP-114EL/CP-114EL-I ....................................................................................................................... 7-10
Board Side Pin Assignments—Female DB44 .................................................................................. 7-10
Device Side Pin Assignments ...................................................................................................... 7-11
CP-118E-A-I/CP-138E-A-I .................................................................................................................. 7-12
Board Side Pin Assignments—Female DB78 .................................................................................. 7-12
Device Side Pin Assignments—Male DB9 ...................................................................................... 7-14
Male DB25 (CBL-M78M25x8-100) ................................................................................................ 7-14
CP134EL-A-I .................................................................................................................................... 7-15
Board Side Pin Assignments—Female DB44 .................................................................................. 7-15
Device Side Pin Assignments—Male DB9 ...................................................................................... 7-16
Male DB25 (CBL-M44M25x4-50) .................................................................................................. 7-16
CP-116E-A ....................................................................................................................................... 7-17
Board Side Pin Assignments—Female SCSI VHDCI68 ..................................................................... 7-17
Device Side Pin Assignments—Male DB9 ...................................................................................... 7-17
Male DB25 ( OPT8B+ / CBL-M68M25x8-100) ................................................................................ 7-17
Female DB25 (OPT8A+/S+) ........................................................................................................ 7-18
8. Troubleshooting ................................................................................................................................ 8-1
A. Product Specifications ....................................................................................................................... A-1
CP-118EL-A Specifications ................................................................................................................... A-2
CP-168EL-A Specifications ................................................................................................................... A-3
CP-104EL-A Specifications ................................................................................................................... A-4
CP-102E Specifications ........................................................................................................................ A-5
CP-102EL Specifications ...................................................................................................................... A-6
CP-132EL Series Specifications ............................................................................................................. A-7
CP-114EL Series Specifications ............................................................................................................. A-8
CP-118E-A-I Specifications .................................................................................................................. A-9
CP-138E-A-I Specifications ................................................................................................................ A-10
CP-134EL-A-I Specifications ............................................................................................................... A-11
CP-116E-A Specifications ................................................................................................................... A-12
1
1. Introduction
Moxa’s PCI Express serial boards meet the new slot standard for expansion boards and work with any PCI
Express slots. The boards have multiple RS-232/422/485 serial ports to connect data acquisition equipment
and other serial devices to a PC.
The following topics are covered in this chapter:
Overview
PCI Express Solution
ESD Protection
ADDC™ (Automatic Data Direction Control) for RS-485
Operating System Support
Moxa Serial Comm Tool
Intelligent RS-485
Applications
Features
Package Checklist
Installation Flowchart
PCI Express Boards Introduction
Overview
Moxa’s new PCI Express Multiport Serial Boards are designed for POS and ATM applications and for use by
industrial automation system manufacturers and system integrators. The boards are compatible with all
popular operating systems, and each of them supports data rates of up to 921.6 kbps and provides full modem
control signals, ensuring compatibility with a wide range of serial peripherals. In addition, all models work with
PCI Express x1, allowing the boards to be installed in any available PCI Express slot (including x1, x2, x4, x8,
x16, x32).
PCI Express Solution
The boards comply with PCI Express Spec. 1.1. The ports’ transmission parameters are configured after the
boards are installed. The PCI BIOS automatically assigns the IRQ and I/O addresses. For this reason, you must
plug the boards into the computer before installing the drivers. For more information about PCI Express, refer
to the “Technical Reference” appendix.
ESD Protection
The PCI Express boards come with15 kV ESD protection built in to prevent damage to the boards from lightning
or high potential voltage. The surge protection feature makes the PCI Express boards suitable for industrial,
factory-type applications, and for use with applications that are subject to severe weather conditions.
ADDC™ (Automatic Data Direction Control) for RS-485
RS-485 uses differential data transmission over two wires to transmit data from one station to another, and
allows multiple transmitters and receivers to be used on the same data line. RS-485 uses half-duplex
transmission, which means that transmission and reception share the same data channels. For this reason,
only one transmitter can be active at any given time.
Moxa’s serial boards have a built-in circuitry to switch transmitters on and off automatically. We call this form
of switching ADDC® (Automatic Data Direction Control). ADDC® is much easier to implement than the
traditional handshaking method that uses the RTS signal.
Operating System Support
The PCI Express boards are compatible with all major industrial platforms, including Windows, Windows CE,
DOS, Linux, and SCO. Moxa device drivers are provided for smoother installation, configuration, and
performance.
Visit Moxa’s website at www.moxa.com
products.
to download the latest drivers and user’s manuals for all of Moxa’s
PCI Express Boards Introduction
Please notify your sales representative if any of the above items are missing or damaged.
Moxa Serial Comm Tool
For application development, Moxa provides an easy-to-use serial communication library called PComm that
runs under Windows NT/95/98/2000/XP/2003. Use this library to develop your own applications with Visual
Basic, Visual C++, Borland Delphi, to name a few. Utilities such as Data Scope, Monitor, Terminal Emulator,
and Diagnostics are included to make it easier to debug, monitor communication status, provide terminal
emulation, and transfer files.
Intelligent RS-485
With Intelligent RS-485, you only need one click to automatically tune the Pull High/Low and Termination
resistors and get your system ready to go!
Applications
The PCI Express boards are suitable for many different applications, including:
• Internet/Intranet Connections
• Remote Access
• Multi-user Applications
• Industrial Automation
• Office Automation
• Telecommunications
• PC-based Vending Machines and Kiosks
• POS (Point-of-Sale) Systems
Features
The PCI Express boards have the following outstanding features:
• PCI Express ×1 compliant
• Low-profile board for compact-sized PCs
• Data flow LED display onboard
• 128-byte FIFO and on-chip H/W, S/W flow control
• 50 bps to 921.6 kbps transmission speed
• Embedded 15 kV ESD surge protection
• Drivers are provided for Windows, Windows CE, Windows XP Embedded, DOS, Linux (32-bit/64-bit), SCO
Package Checklist
The following items are included in the PCI Express board package:
• PCI Express serial board
• Low-profile bracket
• Documentation and Software CD-ROM
• Quick Installation Guide
PCI Express Boards Introduction
Installation Flowchart
The following flowchart provides a brief summary of the procedure you should follow to install the PCI Express
boards, and it provides references to chapters with more detailed information:
Install the boards in PCI Express expansion slots.
Install the drivers and configure the boards and
ports.
Connect the serial devices to the PCI Express
board’s serial ports.
Restart the system and check the driver
initialization status.
If the card supports Intelligent RS-485 function,
you can perform diagnosis and auto-tuning.
Develop and run your serial communication
applications
Chapter 2, Hardware Installation
Chapter 3, Software Installation
Chapter 6, Pin Assignments
Chapter 3, Software Installation
Chapter 4, Intelligent RS-485 Setting
Chapter 5, Serial Programming Tools
2
2. Hardware Installation
In this chapter, we show the dimensions diagrams of all of the boards in the PCI Express Series and describe
the hardware installation procedure. Since the BIOS automatically assigns the PCI Express board’s IRQ number
and I/O addresses, you must plug in the board before installing the driver (driver installation is discussed in
Chapter 3).
The following topics are covered in this chapter:
CP-118EL-A Dimensions
CP-168EL-A Dimensions
CP-104EL-A Dimensions
CP-102E Dimensions
CP-102EL Dimensions
CP-132EL Dimensions
CP-132EL-I Dimensions
CP-114EL Dimensions
CP-114EL-I Dimensions
CP-116E-A Dimensions
CP-134EL-A-I Dimensions
CP-118E-A-I/138E-A-I Dimensions
Plugging the Board into an Expansion Slot
PCI Express Boards Hardware Installation
CP-118EL-A Dimensions
CP-168EL-A Dimensions
PCI Express Boards Hardware Installation
CP-104EL-A Dimensions
CP-102E Dimensions
PCI Express Boards Hardware Installation
CP-102EL Dimensions
CP-132EL Dimensions
PCI Express Boards Hardware Installation
CP-132EL-I Dimensions
CP-114EL Dimensions
PCI Express Boards Hardware Installation
CP-114EL-I Dimensions
CP-116E-A Dimensions
PCI Express Boards Hardware Installation
CP-134EL-A-I Dimensions
CP-118E-A-I/138E-A-I Dimensions
PCI Express Boards Hardware Installation
WARNING
To avoid damaging your system and board, make sure you turn off your computer before installing the board.
Each Moxa PCI Express board uses one unique IRQ and I/O address, both of which are assigned automatically
Plugging the Board into an Expansion Slot
Step 1: Power off the PC.
Step 2: Remove the PC’s cover.
Step 3: Remove the slot cover bracket if there is one.
Step 4: Plug the PCI Express board firmly into a free PCI Express slot.
Step 5: Fasten the holding screw to fix the control board in place.
Step 6: Replace the PC’s cover.
Step 7: Power on the PC. The BIOS will automatically set the IRQ and I/O address.
Step 8: Proceed with the software installation discussed in the next chapter, “Software Installation.”
3
Windows 2000, 2003/ XP/ Vista/ 2008 (x86/x64), 7/8 /8.1/ 10 (x86/x64), Server 2008 R2/ 2012/ 2012
3. Software Installation
In this chapter, we give installation, configuration, and update/removal procedures for the driver for Windows
2000, Windows 2003/XP/Vista/2008 (32-bit/64-bit), Windows 7/8/8.1/10 (32-bit/64-bit), Windows Server
2008 R2/2012/2012 R2/2016 (x64), DOS, Linux (32-bit/64-bit), SCO, and WinCE 5.0. Before proceeding with
the software installation, complete the hardware installation discussed in the previous chapter, “Hardware
Installation.”
Refer to the next chapter, “Serial Programming Tools,” for information about developing your own serial
programming applications. Note that you can install up to 8 PCI Express boards in one system, provided
sufficient I/O address and IRQ number resources are available.
You can download the drivers from the Moxa website.
The following topics are covered in this chapter:
Windows Drivers
R2/ 2016 (x64)
Non-Windows Drivers
DOS
Linux (32-bit/64-bit)
SCO
PCI Express Boards Software Installation
The overall procedure for installing the Windows
drivers for the PCI Express boards is
summarized in the flowchart on the right.
Windows Drivers
Moxa provides drivers that allow you to use the PCI Express Series serial boards for various Windows platforms.
Plug the PCI Express board into an empty
PCI Express slot. See the Hardware
Installation chapter for details.
Turn on your PC. Windows will
automatically detect the board.
Driver already
No
Install the driver from the Documentation
and Software CD. See the Installing the
Driver subsection in this chapter for
detailed instructions.
Configure the board’s ports. See the
Configuring the Ports subsection in this
chapter for detailed instructions.
Check the status of Moxa's multiport serial
boards. See the Checking the Status
subsection in this chapter for detailed
instructions.
The PCI Express board and ports are ready
to use.
Yes
PCI Express Boards Software Installation
If you have already installed Moxa
boards, Windows 7 will automatically detect and install the new board(s) the next time you boot up the
computer. In this case, proceed directly to the next section, “Configuring the Por
serial transmission parameters.
Windows 2000, 2003/ XP/ Vista/ 2008 (x86/x64), 7/8 /8.1/
10 (x86/x64), Server 2008 R2/ 2012/ 2012 R2/ 2016 (x64)
This section includes the following topics:
Installing the Driver
Configuring the Ports
Checking the Status
Removing the Driver
Uninstalling the Driver
We will take Window 7 (x64) as an example. Its procedure is similar to the other Windows platforms with regard to
installing, configuring, checking the port status, removing, or uninstalling the PCI Express cards.
Installing the Driver
In this section, we describe how to install the PCI Express cards for the first time with Windows 7. First, make
sure that you have already plugged the board or boards into the system’s PCI Express slot(s).
Second, you may download the drivers at www.moxa.com
driver.
Follow the following procedures to install the driver.
1. The Setup Wizard will open. Click Next to begin installing the driver.
’s PCI Express board in your computer, and you are installing additional
ts,” to configure the ports’
. Based on the OS type, choose the corresponding
2. Please read the license agreement. If you agree, please click Next to move on.
PCI Express Boards Software Installation
3. Click Next to install the driver in the indicated folder, or use the drop-down menu to locate a different folder.
4. Click Install to proceed with the installation.
PCI Express Boards Software Installation
5. Click Finish to complete the installation of the driver.
Configuring the Ports
After the driver has been installed, use the Device Manager to configure the serial port of your PCI Express
cards (the CP-114EL will be used as an example). In this section, we describe how to access MOXA
Smartio/Industio Window Driver and lead you to do the serial port configuration.
Accessing MOXA Smartio/Industio Window Driver
Configuring Serial Port
Port Number
Rx, TX FIFO
Interface and Termination Resistor
Accessing MOXA Smartio/Industio Window Driver
Expand the Multi-port serial adapters tab, right click CP-114EL Series (PCI Express Bus) , and then click
Properties to open the board’s configuration panel.
PCI Express Boards Software Installation
Configuring Serial Port
Port Number
1. Click the port you would like to configure to highlight it and then click Port Setting.
2. Select a COM number for the port from the Port Number pull-down list. Select the Auto Enumerating COM
Number option to map subsequent ports automatically. The port numbers will be assigned in sequence. For
example, if COM 1 is assigned to Port 1, then COM 2 (if not already occupied) will be assigned to Port 2, etc.
PCI Express Boards Software Installation
Rx, TX FIFO
1. Select an Rx FIFO Trigger from the Rx FIFO Level pull-down list. Rx FIFO trigger levels of High, Middle, and
Low are available, with the default set at High (120 bytes). Select the Set the change to all ports option to
apply this Rx FIFO Trigger to all ports.
2. Select a Tx FIFO Level from the Tx FIFO Level pull-down list. Tx FIFO Levels of High, Middle, and Low are
available, with the default set at High (128 bytes). Select the Set the change to all ports option to apply the
just defined Tx FIFO Size to all ports.
High
Middle 64
Low 1
Interface and Termination Resistor
If you are using CP-118EL-A, CP-114EL, CP-114EL-I, CP-132EL, or CP-132EL-I, select Interface (RS-232,
RS-422, RS-485-2W, or RS-485-4W) and Termination Resistor (120Ω, Enable, or Disable) for configuration.
For illustration purposes, we use the CP -114EL.
The following figure shows the settings for configuring the port for RS-422 and disabling Termination Resistor.
2. Click OK to save the port settings and then click OK in the Property window to finish the port settings
procedure.
Checking the Status
The PComm Diagnostic program is a useful tool for checking the status of Moxa’s multiport serial boards. The
program can be used to test internal and external IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, etc. Use this
program to ensure that your Moxa boards and ports are working properly.
PCI Express Boards Software Installation
You can download the PComm
www.moxa.com/support/free_downloads.htm
To start the program, click Start Programs MOXA PComm Lite Version 1.X PComm Diagnostic
Lite software for free from Moxa’s website at