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 2004 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited.
Introduction Chapter 1 Moxa’s CP-102U/UL Universal PCI serial board meets the new slot standard for expansion boards, and works with both 3.3V and 5V PCI slots. The board has two independent RS-232 serial ports for connecting data acquisition equipment and other serial devices to a PC.
For more PCI information, refer to the “Technical Reference” appendix. Surge Protection The CP-102U/UL board comes with built-in 15 KV ESD surge protection to prevent damage to the board from lightning or high potential voltage. The surge protection feature makes the CP-102U/UL board suitable for industrial, factory-type applications, and for use with applications that are subject to severe weather conditions.
CP-102U/UL User’s Manual Applications The CP-102U/UL board is 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 CP-102U/UL board has the following outstanding features: Over 800 Kbps data throughput, for top performance in the world Serial communication speed up to 921.6 Kbps...
Installation Flowchart The following flowchart gives a brief summary of the procedure you should follow to install the CP-102U/UL board and which chapters to refer to for more detailed information: Install the board in a PCI or PCI-X expansion slot.
The CP-102U/UL Series hardware installation procedure is described in this chapter. Since the CP-102U/UL board’s IRQ number and I/O addresses are assigned automatically by the PCI BIOS, the board MUST be plugged in before installing the driver. The following topics are covered in this chapter: ! Block Diagrams "...
CP-102U/UL User’s Manual Block Diagrams CP-102U 41.7 mm CP-102UL 120 mm 120 mm [4.72 in] 16 mm [0.63 in] 41.7 mm [1.64 in] Hardware Installation MU860 121 mm [4.76 in] 64.5 mm [2.53 in] MU860...
CP-102U/UL User’s Manual Plugging the Board into an Expansion Slot Since the CP-102U/UL board’s IRQ number and I/O address are automatically assigned by the PCI BIOS, the board MUST be plugged into one of the computer’s expansion slots before installing the driver.
Refer to the next chapter, “Serial Programming Tools,” for information about developing your own serial programming applications. Note that up to 4 CP-102U/UL boards can be installed in one system, provided sufficient I/O address and IRQ number resources are available.
Windows OS when it boots up. Software Installation Plug the CP-102U/UL Series board into an empty PCI or PCI-X slot. See the Hardware Installation chapter. Turn on your PC. Windows will automatically detect the board (except for Windows NT).
COMM API standard. Installing the Driver The following procedure shows how to install the CP-102U/UL driver for the first time under Windows XP. First, make sure the board or boards have already been plugged into the system’s PCI or PCI-X slot(s).
Page 16
CP-102U/UL User’s Manual Select Search for the best driver in these locations, check Include this location in the search, and then click on Browse. Navigate to the \CP-102U_UL\Software\Win2K-XP-2003 folder on the software CD, and then click on Next to continue.
Page 17
CP-102U/UL User’s Manual Wait while the driver software is installed. The next window shows the model name of the board, and indicates that Windows has completed the driver installation. Click on Finish to proceed with the rest of the installation procedure.
Page 18
CP-102U/UL User’s Manual The Found New Hardware Wizard window will open to help you install the driver for MOXA Port 0. Select Install from a list or specific location (Advanced), and then click on Next to proceed. Select Search for the best driver in these locations, check Include this location in the search, and then click on Browse.
Page 19
CP-102U/UL User’s Manual Wait while the installation wizard searches. The next window that opens cautions you that although this software hasn’t passed Windows Logo testing, the driver has been tested and shown that it can support the Windows OS. Click on Continue Anyway to proceed.
Page 20
CP-102U/UL User’s Manual 11. After all files have been copied to the system, the Completing the Found New Hardware Wizard window will open to indicate that it has finished installing Port 0. Click on Finish to proceed with the rest of the installation.
Configuring the Ports After the driver has been installed, use Device Manager to configure the CP-102U/UL serial ports. Click on Start # Settings # Control Panel # System, select the Hardware tab, and then click on Device Manager.
Page 22
CP-102U/UL User’s Manual Basic information about the board is displayed on the General page. Click on the Ports Configuration tab to configure the board’s serial ports. Click on the port you would like to configure to highlight it, and then click on Port Setting.
Page 23
CP-102U/UL User’s Manual Select a COM number for the port from the Port Number pull-down list. Check the Auto Enumerating COM Number checkbox to map subsequent ports automatically. The port 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.
CP-102U/UL User’s Manual Click on OK to save the port settings, and then click on OK in the Property window to finish the port settings procedure. Using MOXA PComm Utility The PComm Diagnostic program is a useful tool for checking the status of MOXA’s multiport boards.
To uninstall the driver, click on Start # Settings # Control Panel # System, select the Hardware tab, and then click on Device Manager. Use the mouse to place the cursor over the CP-102U/UL Series board under Multiport serial adapters, and then click the right mouse button. Select the Uninstall option.
COMM API standard. Installing the Driver for the First Time The following procedure shows how to install the CP-102U/UL driver for the first time under Windows 2000. First, make sure the board or boards have already been plugged into the system’s PCI or PCI-X slot(s).
Page 27
CP-102U/UL User’s Manual After plugging the board into an expansion slot and powering on your PC, Windows 2000 will automatically detect the new board, and the Found New Hardware window will open. When the Welcome to the Found New Hardware Wizard window opens, click on Next to continue.
Page 28
CP-102U/UL User’s Manual Select Search for a suitable driver for my device (recommended), and then click on Next to continue. Select Specify a location and then click on Next to continue. Software Installation 3-16...
Page 29
CP-102U/UL User’s Manual Navigate to the \CP-102U_UL\Software\Win2K-XP-2003 folder on the software CD, and then click on OK to continue. Click on Next to copy the driver files to your system. Wait while the installation wizard searches. The next window that opens cautions you that although this software hasn’t passed Windows Logo testing, the driver has been tested and...
Page 30
CP-102U/UL User’s Manual Wait while the files are copied to your hard drive. The next window shows the model number of the board, and indicates that Windows has completed the driver installation. Click on Finish to continue with the rest of the installation procedure.
Page 31
Configuring the Ports After the driver has been installed, use Device Manager to configure the CP-102U/UL serial ports. Click on Start # Settings # Control Panel # System, select the Hardware tab, and then click on Device Manager.
Page 32
CP-102U/UL User’s Manual Basic information about the board is displayed on the General page. Click on the Ports Configuration tab to configure the board’s serial ports. Click on the port you would like to configure to highlight it, and then click on Port Setting.
Page 33
CP-102U/UL User’s Manual Select a COM number for the port from the Port Number pull-down list. Check the Auto Enumerating COM Number checkbox to map subsequent ports automatically. The port 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.
Page 34
CP-102U/UL User’s Manual Click on OK to save the port settings, and then click on OK in the Property window to finish the port settings procedure. Using MOXA PComm Utility The PComm Diagnostic program is a useful tool for checking the status of MOXA’s multiport boards.
Page 35
To uninstall the driver, click on Start # Settings # Control Panel # System, select the Hardware tab, and then click on Device Manager. Use the mouse to place the cursor over the CP-102U/UL Series board under Multiport serial adapters, and then click the right mouse button. Select the Uninstall option.
Win32 COMM API standard. Installing the Driver for the First Time The following procedure shows how to install the CP-102U/UL driver for the first time under Windows 98. First, make sure the board or boards have already been plugged into the system’s PCI or PCI-X slot(s).
Page 37
CP-102U/UL User’s Manual After plugging the board into an expansion slot and powering on your PC, Windows 98 will automatically detect the new board, and display the Found New Hardware window. When the Add New Hardware Wizard window opens, click on Next to continue.
Page 38
CP-102U/UL User’s Manual Select Other Devices and then click on Next to proceed. Click on Have Disk. Use the Browse button to navigate to the \CP-102U_UL\Software\Win9x\Windows.95 folder on the Documentation and Software CD, and then click on OK. Software Installation...
Page 39
CP-102U/UL User’s Manual Click on CP-102U/UL Series [8-23-2004] to highlight it, and then click on Next. Verify that the CP-102U/UL Series driver will be installed, and then click on Next. Software Installation 3-27...
Page 40
Basic configuration information will be displayed in the CP-102U/UL Series Installation window. Click on OK to complete the installation of the board. This completes the installation of the CP-102U/UL board. Click on Finish to exit the Add New Hardware Wizard.
Page 41
Follow the procedures given below to re-configure the board’s COM ports. Since CP-102U/UL is a Universal PCI board, when a new board is added or an existing board is removed, the board’s configuration will be added or removed automatically by the operating system when you restart the PC.
Page 42
CP-102U/UL User’s Manual Basic information about the board is displayed on the General page. Click on the Ports Configuration tab to configure the board’s serial ports. Click on the port you would like to configure to highlight it, and then click on Port Setting.
CP-102U/UL User’s Manual Select a COM number for the port from the Port Number pull-down list. Check the Auto Enumerating COM Number checkbox to map subsequent ports automatically. The port numbers will be assigned in sequence. For example, if COM3 is assigned to Port 1, then COM4 (if not already occupied) will be assigned to Port 2, etc.
Page 44
CP-102U/UL User’s Manual Click on a MOXA CP-102U/UL board under Moxa Smartio/Industio multiport board to highlight it, and then click on Properties. Select the Driver tab, and click on Update Driver…. Software Installation 3-32...
Page 45
CP-102U/UL User’s Manual Click on Next. Select Display a list of all the drivers in a specific location, so you can select the driver you want., and then click on Next. Software Installation 3-33...
Page 46
CP-102U/UL User’s Manual In the next window, the CP-102U/UL Series option should already be highlighted. Click on Have Disk… and then navigate to the folder that contains the new driver file. Follow the on-screen instructions to complete the driver update procedure.
Page 47
CP-102U/UL User’s Manual Click on the MOXA Smartio/Industio Driver option and then click on Add/Remove to start the driver removal process. Click on Yes to confirm that you want to remove the driver. Click on OK. Software Installation 3-35...
Win32 COMM API standard. Installing the Driver for the First Time The following procedure explains how to install the Smartio CP-102U/UL driver for the first time. First make sure the board or boards are already plugged into the system’s PCI slot(s).
Page 49
Continue from Step 3 in the next section, “Configuring the Ports.” Configuring the Ports Follow the instructions in this subsection if the CP-102U/UL Windows NT driver is already installed, and you wish to re-configure a board’s ports or configure the ports of a newly installed board.
Page 50
Select the board whose ports you wish to configure to highlight it, and then click on Property. Select the just installed CP-102U/UL board from the Board Type pull-down list, click on a specific port to highlight it, and then click on Port Setting to configure the port.
Page 51
CP-102U/UL User’s Manual Select a COM number for the port from the Port Number pull-down list. Check the Auto Enumerating COM Number checkbox to map subsequent ports automatically. The port numbers will be assigned in sequence. For example, if COM3 is assigned to Port 1, then COM4 (if not already occupied) will be assigned to Port 2, etc.
Page 52
Click on OK to save the settings, and then click on OK in the Property window to complete the port settings and return to the MOXA Smartio/Industio Configuration Panel window. The just configured CP-102U/UL board will be listed, as shown below. Click on OK to return to the Network window.
Page 53
To view the event log, enter the Administrative group, click the Event Viewer icon, and then select Log and System to check a message similar to “MOXA CP-102U/UL board, with first serial port COM3, has been enabled” for each newly configured board.
Page 54
CP-102U/UL User’s Manual Removing the Driver To remove the CP-102U/UL driver: Open the Control Panel, click on the Network icon, and select the Adapters tab. Click on MOXA Smartio/Industio Family Adapter in the Network Adapters list to highlight it. Click on Remove.
CP-102U/UL User’s Manual Non-Windows Drivers Drivers are provided for DOS, Linux, and SCO. MOXA DOS API-232 is a software package that assists users in developing new programs, or debugging existing programs for serial communications. This section explains how to install the package, how to set up the driver, and how to load or unload the driver.
CP-102U/UL User’s Manual Setting up the Driver This section covers some of the setup program’s most frequently used functions. For complete details, press F1 to open the on-line help file. Run BIN\SETUP.EXE. Press Enter to select the model name of the MOXA board you are installing.
CP-102U/UL User’s Manual You may enter or modify the settings of each port at this stage. The values displayed first are the port’s initial values that were set up when the driver was installed. Press F10 to save the changes and exit the SETUP program.
CP-102U/UL series (Bus= x ,Dev=y) : OK! Device driver setup O.K. This means that the CP-102U/UL Series driver has been installed properly. At this point, you may execute applications that support API-232 functions, or start developing applications using the API-232 library.
CP-102U/UL User’s Manual Linux MOXA provides drivers that allow you to use the following serial board products under Linux. Universal PCI Boards: CP-118U, CP-168U, CP-104UL, CP-104JU, CP-102U, CP-102UL, CP-134U, CP-134U-I, CP-132UL, CP-132UL-I V2(CP-132U-I V1) PCI Boards: C168H/PCI, C104H/PCI, C104HS/PCI, CP-114, CP-114I, CP-114S, CP-114IS,...
Page 61
CP-102U/UL User’s Manual The Basic Configuration window will open next. You can install up to four MOXA Smartio Multiport Serial Boards under SCO Unix/SCO Open Server. Board No. Press Enter to select the MOXA Multiport Serial Board you installed. For example, select “CP-168U”...
Page 62
CP-102U/UL User’s Manual Press Enter to return to the main screen. Board No. Press Esc to save the configuration and exit. Save configuration changes? (Y/N) 10. The driver files will be copied to the SCO system. Press any key to continue.
Serial Programming Tools Chapter 4 Moxa provides an easy to use yet powerful serial programming library, and communication troubleshooting utilities under Windows 2000/XP/2003, Windows 95/98, and Windows NT. The following sections give details about the installation, the library, and the utilities for various platforms.
CP-102U/UL User’s Manual MOXA PComm PComm, a professional serial comm tool for PCs, is a software package that runs under Windows NT/2000/XP/2003/95/98. PComm provides: A powerful serial communication library that simplifies serial programming tasks for most popular programming languages. The serial communication library is useful for developing...
CP-102U/UL User’s Manual Utilities In this section, we give brief descriptions of each utility. For more information about these utilities, read the on-line help from the Documentation and Software CD. Diagnostic (for MOXA boards only) This convenient diagnostic program, which only works with MOXA boards and ports, provides internal and external testing of IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD, etc.
CP-102U/UL User’s Manual Monitor (for Moxa boards under Windows NT/2000/XP/2003) This useful port status monitoring program allows you to monitor data transmission of selected Moxa COM ports. The program monitors data transmission/receiving throughput, and communication line status, with data updated and displayed on the screen at regular time intervals.
CP-102U/UL User’s Manual Terminal Emulator Use Terminal Emulator to connect to your PC’s serial ports to check if data is being transmitted correctly. Terminal Emulator features multi-windows, and supports VT100 and ANSI terminal types. You can transfer data interactively, send patterns periodically, and transfer files using ASCII, XMODEM, YMODEM, ZMODEM, and KERMIT protocols.
Pin Assignments Chapter 5 The CP-102UL board, which has one female DB25 connector on the board, comes with a male DB25 to 2 x male DB9 cable (model name: CBL-M25M9x2). The CP-102U board has two male DB9 connectors on the board. The pin assignments for the male DB9 connectors on the CBL-M25M9x2 cable, and the pin assignments for the male DB9 connectors on the CP-102U board are the same.
CP-102U/UL User’s Manual Female DB25 Connector (CP-102UL) Port 0 Port Number Signal Male DB9 Connector (CP-102U & CBL-M25M9x2-50) Signal Pin Number Port 1 Pin Number Pin Assignments...
Common CP-102U/UL Series problems and possible solutions are listed below. If you still have problems after reading this chapter, contact your dealer or Moxa for help, or use the Problem Report Form at the end of this manual to report problems to your dealer.
The slot the boards are plugged into is defective. Try another slot until you find one that works. The board might be defective. After the system reboots, the error message “CP-102U/UL Series (BusNo=x, DevNo=x, Port1=COMx) interrupt number is invalid!” appears. This indicates that the MOXA board was found, but the IRQ conflicts with another adapter.
Due to slot-dependency, it is necessary to re-configure the driver software once the board is plugged into different PCI slots. Up to 4 CP-102U/UL Series boards are allowed in one system. When installing more than one board, remember the order the boards are installed to distinguish the installed boards from each other.
Service Information Appendix B This appendix shows you how to contact Moxa for information about this and other products, and how to report problems. In this appendix, we cover the following topics. ! MOXA Internet Services ! Problem Report Form ! Product Return Procedure...
CP-102U/UL User’s Manual MOXA Internet Services Customer satisfaction is our number one concern, and to ensure that customers receive the full benefit of our products, Moxa Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates.
CP-102U/UL User’s Manual Problem Report Form Customer name: Company: Tel: Email: Moxa Product: $ CP-102U Serial Number: _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see. A clearly written description of the problem will allow us to reproduce the symptoms, and expedite the repair of your product.
CP-102U/UL User’s Manual Product Return Procedure For product repair, exchange, or refund, the customer must: Provide evidence of original purchase. Obtain a Product Return Agreement (PRA) from the sales representative or dealer. Fill out the Problem Report Form (PRF). Include as much detail as possible for a shorter product repair time.
Need help?
Do you have a question about the CP-102U/UL and is the answer not in the manual?
Questions and answers