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-118U 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 eight independent RS-232/422/485 serial ports for connecting data acquisition equipment and other serial devices to a PC.
Reference” appendix. Surge Protection The CP-118U 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-118U board suitable for industrial, factory-type applications, and for use with applications that are subject to severe weather conditions.
CP-118U User’s Manual Applications The CP-118U 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-118U board has the following outstanding features:...
Installation Flowchart The following flowchart gives a brief summary of the procedure you should follow to install the CP-118U board and which chapters to refer to for more detailed information: Use the onboard DIP Switches to select the data transmission mode for each port.
Chapter 2 The CP-118U Series hardware installation procedure is described in this chapter. Since the CP-118U 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:...
DIP Switch Settings CP-118U has three onboard DIP Switch arrays, each with 8 switches, referred to below and on the board (see the above block diagram) as S1, S2, and S3. The switches are used to select one of four serial interfaces—RS-232, RS-422, 4-wire RS-485, 2-wire RS-485—for each of the eight ports.
CP-118U User’s Manual Plugging the Board into an Expansion Slot Since the CP-118U 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-118U boards can be installed in one system, provided sufficient I/O address and IRQ number resources are available.
MOXA provides drivers that allow you to use the following serial board products under Windows 2003/XP/2000, Windows XP Embedded, Windows 98/95, and Windows NT. 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)
COMM API standard. Installing the Driver The following procedure shows how to install the CP-118U 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-118U 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-118U\Software\Win2K-XP-2003 folder on the software CD, and then click on Next to continue.
Page 17
CP-118U 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
Select Search for the best driver in these locations, check Include this location in the search, and then click on Browse. If necessary, use the Browse button to navigate to the CP-118U\Software\Win2K-XP-2003 folder, and then click on Next to proceed. Software Installation...
Page 19
CP-118U 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-118U 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-118U serial ports. Click on Start # Settings # Control Panel # System, select the Hardware tab, and then click on Device Manager.
Page 22
CP-118U User’s Manual Expand the Multi-port serial adapters tab, right click on MOXA CP-118U Series (PCI Bus), and then click on Properties to open the board’s configuration panel. Click on the port you would like to configure to highlight it, and then click on Port Setting.
Page 23
CP-118U 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-118U User’s Manual Using MOXA PComm Utility The PComm Diagnostic program is a useful tool for checking the status of MOXA’s multiport 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.
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-118U Series board under Multi-port 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-118U 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-118U 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-118U 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-118U User’s Manual Navigate to the \CP-118U\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. Software Installation 3-17...
Page 30
CP-118U 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 Yes to proceed.
Page 31
CP-118U User’s Manual 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. 10. The Found New Hardware window will reappear and indicate that the board’s ports are being installed.
Page 32
CP-118U User’s Manual Configuring the Ports After the driver has been installed, use Device Manager to configure the CP-118U serial ports. Click on Start # Settings # Control Panel # System, select the Hardware tab, and then click on Device Manager.
Page 33
CP-118U User’s Manual Expand the Multi-port serial adapters tab, right click on MOXA CP-118U Series (PCI Bus), and then click on Properties to open the board’s configuration panel. Basic information about the board is displayed on the General page. Click on the Ports...
Page 34
CP-118U User’s Manual 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. Software Installation 3-22...
Page 35
CP-118U 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 36
CP-118U User’s Manual Using MOXA PComm Utility The PComm Diagnostic program is a useful tool for checking the status of MOXA’s multiport 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.
Page 37
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-118U Series board under Multi-port 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-118U 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 39
CP-118U 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 40
CP-118U 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-118U\Software\Win9x\Windows.95 folder on the Documentation and Software CD, and then click on OK. Software Installation...
Page 41
CP-118U User’s Manual Click on CP-118U Series [8-23-2004] to highlight it, and then click on Next. Verify that the CP-118U Series driver will be installed, and then click on Next. Software Installation 3-29...
Page 42
Basic configuration information will be displayed in the CP-118U Series Installation window. Click on OK to complete the installation of the board. This completes the installation of the CP-118U board. Click on Finish to exit the Add New Hardware Wizard.
Page 43
Follow the procedures given below to re-configure the board’s COM ports. Since CP-118U 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 44
CP-118U 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-118U 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 46
CP-118U User’s Manual Click on a MOXA CP-118U 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-34...
Page 47
CP-118U 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-35...
Page 48
CP-118U User’s Manual In the next window, the CP-118U 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 49
CP-118U User’s Manual Removing the Driver This section explains how to remove the CP-118U driver. Open the Control Panel, double click on the Add/Remove Programs icon, and then select the Install/Uninstall tab. Click on the MOXA Smartio/Industio Driver option and then click on Add/Remove to start the driver removal process.
Win32 COMM API standard. Installing the Driver for the First Time The following procedure explains how to install the Smartio CP-118U driver for the first time. First make sure the board or boards are already plugged into the system’s PCI slot(s).
Page 51
Continue from Step 3 in the next section, “Configuring the Ports.” Configuring the Ports Follow the instructions in this subsection if the CP-118U 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. In...
Page 52
Select the board whose ports you wish to configure to highlight it, and then click on Property. Select the just installed CP-118U 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 53
CP-118U 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 54
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-118U board will be listed, as shown below. Click on OK to return to the Network window.
Page 55
Removing a CP-118U Board To remove a CP-118U board, first shut down your PC, and then physically remove the board from the PCI or PCI-X slot. The next time you start up the PC, the system will automatically remove the configuration for the board.
Page 56
CP-118U User’s Manual Removing the Driver To remove the CP-118U 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.
MOXA provides drivers that allow you to use the following serial board products under DOS: 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)
CP-118U 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-118U 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-118U series (Bus= x ,Dev=y) : OK! Device driver setup O.K. This means that the CP-118U 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.
Page 61
= MOXA Smartio/Industio Family Multiport Board Status Utility(1.1)= Tty Device Major Number= 30. Callout device Major Number= 35. Board 1 : CP-118U series (BusNo=2, DevNo=13) Port 1: 0xac00, max. baud rate = 230400 bps. Port 2: 0xac08, max. baud rate = 230400 bps.
Follow the steps given in this section to install the SCO driver. Note that the SCO driver provided by Moxa only supports RS-232. Consequently, the SCO driver will only work with CP-118U ports that are configured for RS-232. MOXA provides drivers for the following versions of SCO:...
Page 63
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-118U” and then press Enter. None CP-118U C168 ISA Series...
Page 64
CP-118U 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-118U 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-118U 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-118U 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.
To run Terminal Emulator, click on Start # Program # Pcomm Lite # Terminal Emulator. 2-wire RS-485 Programming If you are using your CP-118U Series board for RS-485 applications, in addition to reading this section, you should also refer to the “Connection Cables and Cable Wiring” chapter for more details about using RS-485.
RS-232 or RS-422 programming. To ensure precise timing control when using 2-wire RS-485 transmission, we recommend that you configure your CP-118U Series ports as described below. There are 2 methods for controlling 2-wire RS-485 transmission.
A maximum of 32 drivers and 32 receivers can be set up on a multidrop network. The CP-118U board supports both 2-wire half-duplex and 4-wire full-duplex RS-485 communications. In 2-wire RS-485, Data+/- pins are used for both data transmitting and receiving.
CP-118U User’s Manual Board Side Pin Assignments—Female DB62 RS-232 Signal RS-422 and 4-wire RS-485 Signal TxD+(B) TxD-(A) RxD+(B) RxD-(A) Port 6 Port 8 Port 7 Port 5 Port 4 Port Number 32, 40, 45, 50, 55, 58 Pin Number Port Number...
32-bit PCI slot. It is also possible that a slot has malfunctioned. In this case, try other slots until you find one that works. The motherboard does not have an available IRQ for the CP-118U Series board. In this case, enter the BIOS and make sure there is an available IRQ under PCI/PnP settings.
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-118U 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.
Product Specifications Bus interface Number of ports I/O address Data bits Stop bits Parity Flow Control UART Speed Connector Data signals Surge protection Operating temperature Power requirement Dimensions (W × D) Technical Reference Appendix A 32-bit PCI Assigned by PCI BIOS Assigned by PCI BIOS 5, 6, 7, 8 1, 1.5, 2...
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-118U 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-118U 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-118U User’s Manual Problem Report Form Customer name: Company: Tel: Email: Moxa Product: $ CP-118U 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-118U 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-118U and is the answer not in the manual?
Questions and answers