Moxa Technologies CP-118EL-A, CP-102E, CP-168EL-A, CP-104EL-A, CP-102EL User Manual

...
PCI Express Board User’s Manual
Ninth Edition, March 2014
www.moxa.com/product
© 2014 Moxa Inc. All rights reserved.
PCI Express Board User’s Manual
the terms of that agreement.
Copyright Notice
© 2014 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
Moxa Americas
Toll
-free: 1-888-669-2872
Tel:
+1-714-528-6777
Fax:
+1-714-528-6778
Moxa China (Shanghai office)
Toll
-free: 800-820-5036
Tel:
+86-21-5258-9955
Fax:
+86-21-5258-5505
Moxa Europe
Tel:
+49-89-3 70 03 99-0
Fax:
+49-89-3 70 03 99-99
Moxa Asia
-Pacific
Tel:
+886-2-8919-1230
Fax:
+886-2-8919-1231
Moxa India
Tel:
+91-80-4172-9088
Fax:
+91-80-4132-1045
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
PCI Express Solution .................................................................................................................... 1-2
ESD Protection ............................................................................................................................ 1-2
ADDC™ (Automatic Data Direction Control) f or 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 7/8/8.1 (32-bit/64-bit) ................................................................................................... 3-2
Windows 2008/Vista (32-bit/64-bit) ............................................................................................ 3-13
Windows 2003/XP (32-bit/64-bit) ................................................................................................ 3-25
Windows 2000 .......................................................................................................................... 3-37
Non-Windows Drivers ........................................................................................................................ 3-49
DOS ........................................................................................................................................ 3-49
Linux (32-bit/64-bit) .................................................................................................................. 3-52
SCO ......................................................................................................................................... 3-53
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 under 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. Pin Assignments ................................................................................................................................ 6-1
PCIe Board Accessories Table ............................................................................................................... 6-2
CP-118EL-A ....................................................................................................................................... 6-2
Board Side Pin Assignments-Female SCSI VHDCI68 ......................................................................... 6-3
Device Side Pin Assignm ents ........................................................................................................ 6-4
CP-168EL-A ....................................................................................................................................... 6-5
Board Side Pin Assignments-Female SCSI VHDCI68 ......................................................................... 6-5
Device Side Pin Assignm ents ........................................................................................................ 6-5
CP-104EL-A ....................................................................................................................................... 6-6
Board Side Pin Assignments-Female DB44 ...................................................................................... 6-6
Device Side Pin Assignm ents ........................................................................................................ 6-7
CP-102E ............................................................................................................................................ 6-7
Board Side Pin Assignments-Male DB9 ........................................................................................... 6-7
CP-102EL .......................................................................................................................................... 6-8
Board Side Pin Assignments—Female DB25 .................................................................................... 6-8
Device Side Pin Assignm ents ........................................................................................................ 6-8
CP-132EL/CP-132EL-I ......................................................................................................................... 6-9
Board Side Pin Assignments—Female DB25 .................................................................................... 6-9
Device Side Pin Assignm ents ........................................................................................................ 6-9
CP-114EL/CP-114EL-I ....................................................................................................................... 6-10
Board Side Pin Assignments—Female DB44 .................................................................................. 6-10
Device Side Pin Assignm ents ...................................................................................................... 6-11
CP-118E-A-I/CP-138E-A-I .................................................................................................................. 6-12
Board Side Pin Assignments—Female DB78 .................................................................................. 6-12
Device Side Pin Assignm ents—Male DB9 ...................................................................................... 6-14
Male DB25 (CBL-M78M25x8-100) ................................................................................................ 6-14
CP134EL-A-I .................................................................................................................................... 6-15
Board Side Pin Assignments—Female DB44 .................................................................................. 6-15
Device Side Pin Assignm ents—Male DB9 ...................................................................................... 6-16
Male DB25 (CBL-M44M25x4-50).................................................................................................. 6-16
CP-116E-A ....................................................................................................................................... 6-17
Board Side Pin Assignments—Female SCSI VHDCI68 ..................................................................... 6-17
Device Side Pin Assignm ents—Male DB9 ...................................................................................... 6-17
Male DB25 ( OPT8B+ / CBL-M68M25x8-100) ................................................................................ 6-17
Female DB25 (OPT8A+/S+) ........................................................................................................ 6-18
7. Troubleshooting ................................................................................................................................ 7-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 for connecting 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
1-2
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 IR Q and I/O addresses. For this reason, you must plug the boards into the computer before installing the drivers. For m ore PCI Express information, re fer 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 trans mitters and receivers to be used on the same data line. RS-485 uses half-duplex transmission, which means that transmission and receptio n sha re 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 autom atically. 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 2000/XP/2003/Vista/2008, Windows 7/8/2012, 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 to download the latest drivers and user’s manuals for all of Moxa’s
products.
PCI Express Boards Introduction
1-3
Moxa Serial Comm Tool
For application development, Moxa provides an easy-to-use serial communication libr a ry 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, etc. Utilities suc h a s Data Scope, Monitor, Termin al 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 all major industrial platforms: Windows 2000, Windows XP/2003/Vista/2008
(32-bit/64-bit), Windows 7 (32-bit/64-bit), Windows 8 (32-bit/64-bit), Windows 2012 (64-bit), 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
NOTE
Please notify your sales
representative if any of the above items are missing or damaged.
PCI Express Boards Introduction
1-4
Installation Flowchart
The following flowchart provides a brief summary of the procedure you should follow t o install the PCI Express boards, and provides references to chapters with more detailed information:
If the card supports Intelligent RS
-485 function,
you can perform diagnosis and auto
-tuning.
Chapter 4, Intelligent RS-485 Setting
Restart the system, and check the driver initialization status .
Chapter 3, Software Installation
Connect the serial devices to the PCI Express board’s serial ports.
Chapter 6, Pin Assignments
Install the drivers and configure the boards and ports.
Chapter 3, Software Installation
Install the boards in PCI Express expansion slots.
Chapter 2, Hardware Installation
Develop and run your serial communication applications
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
2-2
CP-118EL-A Dimensions
CP-168EL-A Dimensions
PCI Express Boards Hardware Installation
2-3
CP-104EL-A Dimensions
CP-102E Dimensions
PCI Express Boards Hardware Installation
2-4
CP-102EL Dimensions
CP-132EL Dimensions
PCI Express Boards Hardware Installation
2-5
CP-132EL-I Dimensions
CP-114EL Dimensions
PCI Express Boards Hardware Installation
2-6
CP-114EL-I Dimensions
CP-116E-A Dimensions
PCI Express Boards Hardware Installation
2-7
CP-134EL-A-I Dimensions
CP-118E-A-I/138E-A-I Dimensions
PCI Express Boards Hardware Installation
2-8
Plugging the Board into an Expansion Slot
Since the BIOS automatically assigns the PCI Express board’s IRQ number and I/O addresses, you must plug the board into one of the computer’s expansion slots before installing the driver.
Step 1: Power off the PC.
WARNING
To avoid damaging your system and board, make sure you turn off your computer before installing the board.
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.
NOTE
Each Moxa PCI Express board uses one unique IRQ and I/O address, both of which are assigned automatically by the PCI BIOS.
Step 8: Proceed with the software installation discussed in the next chapter, “Software Installation.”
3
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 (32-bit/64-bit), Windows 2012 (64-bit), DOS, Linux (32-bit/64-b it ), SC O, and WinCE 5.0. Before proceeding with the software ins ta lla tion, complete the hardware installation discu ssed 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 4 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
Windows 7/8/8.1 (32-bit/64-bit) Windows 2008/Vista (32-bit/64-bit) Windows 2003/XP (32-bit/64-bit) Windows 2000
Non-Windows Drivers
DOS Linux (32-bit/64-bit) SCO
PCI Express Boards Software Installation
3-2
Windows Drivers
Moxa provides drivers that allow you to use the PCI Express Series serial boards under Windows 7/8 and Windows 2008/Vista/2003/XP/2000.
The overall procedure for installing the Windows drivers for the PCI Express boards is summarized in the flowchar t on th
e right.
Windows 7/8/8.1 (32-bit/64-bit)
Since the Windows 8 installation procedures and popup windows are almost the same as Windows 7, in this section we describe the installation p rocedure for Windows 7 to illustrate.
Installing the Driver
The following procedure describes how to install the CP-104EL-A driver for t he 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).
NOTE
If you have already installed a CP
-104EL-A or other Moxa PCI Express board in your computer, and you are
installing additional 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 Ports,” to configure the ports’ serial transmission par a meters.
1. After plugging the board into an expansion slot and powering on your PC, Windows 7 will automatically detect the new board, and a popup window* that states Device driver software was not successfully installed will appear in the lower right corner of your computer screen.
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 .
Install the driver from the Documentatio n and Software CD. See the Installing the Driver for the First Time subsection in this chapter for detailed instructions.
Configure the board’s ports. See the Configuring the Ports subsection in this chapter for detailed instructions.
The PCI Express board and ports are ready to use.
Driver already installed?
No Yes
PCI Express Boards Software Installation
3-3
*The popup message will not appear in Windows 8.
2. Go to Device Manager/Other devices to install the PCI Serial Port driver. Right click on the PCI Serial port. Windows will offer to conn ect to the Windows update site to search for a d river. Select Update Driver Software….
PCI Express Boards Software Installation
3-4
3. Select Browse my computer for device software to continue.
4. Select Search for driver software in this location, select Include subfolders, and then click Browse. If the system is a 32-bit (x86) platform, navigate to the \CP-104EL-A Series\Software\Windows
7\x86 folder on the CD. If the system is a 64-bit (x64) platform, navigate to the \CP-104EL-A Series\Software\Windows 7\x64 folder on the CD, and then click Next to continue.
The following figure shows the path for x86.
PCI Express Boards Software Installation
3-5
5. Wait while the driver software is installed. The next window shows the model name of the board, and indicates that Windows has complet ed the driver installation. Click Close to proceed with the rest of the installation procedure.
6. After installing the multiport serial adapter driver, install the Moxa Port driver next. Right click on MOXA
communication port. A popup window will open to help you install the driver for MOXA Port 0. Select Update Driver Software…
PCI Express Boards Software Installation
3-6
7. Select Browse my computer for device software to continue.
8. Select Search for driver software in this location, select Include subfolders, and then click Browse. If the system is a 32-bit (x86) platform, navigate to the \CP-104EL-A Series\Software\Windows
7\x86 folder on the CD. If the system is a 64-bit (x64) platform, navigate to the \CP-104EL-A Series\Software\Windows 7\x64 folder on the CD, and then click Next to cont inue.
The following figure shows the path for x86.
PCI Express Boards Software Installation
3-7
9. After all files have been copied to the system, a window showing Windows has successfully updated your driver software will open to indicate that it has finished installing MOXA Port 0. The Port installation
procedure is complete when Port 0 has been set up.
10. Repeat Step 7 through Step 11 for each of the remaining three ports. The last port to be installed wil l be Moxa Port 3, as shown in the following figure.
PCI Express Boards Software Installation
3-8
11. In Window s 7, a message stating Your device is ready to use will pop up* to inform you that the hardware was installed successfully.
*The popup message will not appear in Windows 8.
PCI Express Boards Software Installation
3-9
Configuring the Ports
After the driver has been installed, use Device Manager to configure the CP-104EL-A serial ports.
1. Expand the Multi-port serial adapters tab, right click MOXA CP-104EL Series (PCI Express Bus), and then click Properties to open the board’s configuration panel.
PCI Express Boards Software Installation
3-10
2. Click the port you would like to configure to highlight it, and then click Port Setting.
3. 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 p ort numbers will be assigned in sequence. For example, if COM 3 is assigned to Port 1, then COM 4 (if not already occupied) will be assigned to Port 2, etc.
PCI Express Boards Software Installation
3-11
4. 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 to High (120 bytes). Select Set the change to all ports option to apply this Rx FIFO Trigger to all ports.
5. Select a Tx FIFO Level from the Tx FIFO Leve l pull-down list. Tx FIFO Levels of High, Middle, and Low are available, with the default set to High (128 bytes). Select Set the change to all ports option to apply the just defined Tx FIFO Size to all ports.
Tx FIFO
Rx FIFO
High
128
120
Middle
64
60
Low 1 1
Unit: Bytes
6. 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) to configure. We use the CP-118EL-A to illustrate. The following figure shows the settings for configuring the port for RS-422 and no Termination Resistor (select Disable).
7. Click OK to save the port settings, and then click OK in the Property window to finish the port settings procedure.
PCI Express Boards Software Installation
3-12
Removing the Driver
1. Open Device Manager and use the mouse to place the cursor over the CP-104EL-A Series board under Multi-port serial adapters, click th e r ight mouse button, and then select the Uninstall option.
2. Select Delete the driver software for this device and click OK to proceed with uninstalling the board.
PCI Express Boards Software Installation
3-13
3. The Device Manager window refreshes a utomatically, showing that the driver and ports for the CP-104EL-A Series board have been removed.
Windows 2008/Vista (32-bit/64-bit)
In this section, we describe the installation procedure for Windows Vista . The installation procedure for Windows 2008 is similar.
Windows 2008 and Windows Vista support up to 256 serial ports from COM1 to COM256. In order to make the best use of Windows 2008/Vista’s mu lti-process/multi-thread advanced features, 32-bit and 64-bit Windows 2008/Vista device drivers were developed for Moxa multiport boards. The drivers conform to the Win32 COMM API standard.
Installing the Driver
The following procedure describes how to install the CP-114EL driver for the first time with Windows Vista. First, make sure that you have already plugged the board or boards into the system’ s PCI Express slot(s).
NOTE
If you have already installed a CP
-114EL or other Moxa PCI Express board in your computer, and you are
installing additional boards, Windows 200
8/Vista will automatically detect and insta
ll the new board(s) the next time you boot up the computer. In this case, proceed direc tly to the next section, “Conf iguring the Ports,” to configure the ports’ serial transmission parameters.
PCI Express Boards Software Installation
3-14
1. After plugging the board into an expansion slot and powering on your PC, Windows Vista will automatically detect the new board, and the Found New Hardware window will open.
2. The Found New Hardware – PCI Serial Port window will open automatically. This window will offer to connect to the Windows update site to search for a driver. Select Don’t search online.
Loading...
+ 81 hidden pages