All rights reserved. Reproduction in any form without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Technologies Co., Ltd. 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 Internet Services Customer satisfaction is our number one concern. 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. The following services are provided: E-mail for technical support address...
Overview Smartio—The Smart Multiport Async Solution The term Smartio stands for smart multiport serial I/O solution. The Smartio CP-168U board is designed for the 32-bit PCI bus with Plug and Play feature. This board offers 8 RS- 232 serial ports for connecting terminals, modems, printers, scanners, cash registers, bar code readers, keypads, numeric displays, electrical scales, data acquisition equipment, and many other serial devices for the PC and compatible systems.
PCI Solution The CP-168U board complies with PCI Spec. 2.1, and does not use either switches or jumpers. The hardware configuration for the IRQ and memory addresses is automatically assigned by the PCI BIOS. Hence, the board MUST be plugged in before installing the driver software.
Features The Smartio CP-168U board has 8 RS-232 ports, embedded ESD 15 KV surge protection, and uses a Moxa UART (MU860), and has the following important features: Supports universal PCI, plug and play (no switches or jumpers) Fits both 3.3V and 5V connector key Reliability—high speed Moxa UART Communication Controllers with on-chip hardware and...
Package Checklist You should find the following items in the Smartio CP-168U board package: Smartio CP-168U 8-port serial board Documentation and Software CD that contains drivers for Windows 2000/XP/2003, Windows NT, Windows 95/98, DOS, FreeBSD, SCO, and Linux. Smartio CP-168U Quick Installation Guide 120 ×...
Installation Guide This section gives a brief summary of how to install the Smartio CP-168U board under each supported operating system. The installation is simple and involves the following stages: Check the PCI BIOS settings. Install the Smartio CP-168U board.
Step 3: Remove the slot cover bracket if one is in place. Step 4: Insert the Smartio CP-168U control board firmly into a free PCI or PCI-X slot. Step 5: Fasten the holding screw to fix the control board in place.
Page 16
Moxa Universal PCI or PCI boards must occupy one unique IRQ and I/O addresses, which are assigned automatically by the PCI BIOS. Step 8: Proceed with the software installation, as described in the next chapter, “Software Installation”. Smartio CP-168U User’s Manual...
Windows 2003. The drivers conform to the Win32 COMM API standard. The Windows 2003 driver for MOXA’s multiport serial boards supports the following products: Universal PCI Boards: CP-168U, CP-104UL, CP-104JU, CP-134U, CP-134U-I, CP- 132UL, CP-132UI PCI Boards: C168H/PCI, C104H/PCI, C104HS/PCI, CP-114, CP-114I, CP-114S, CP-...
3. Select Search for the best driver in these locations., check Include this location in the search, and then click on Browse. You should be able to locate the \Software\Win2K-XP-2003 folder on the software CD. Click on Next to continue. Smartio CP-168U User’s Manual...
Page 19
5. Wait while the driver software is installed. 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. Software Installation Smartio CP-168U User’s Manual...
Page 20
7. Select Search for the best driver in these locations., check Include this location in the search, and then click on Browse. You should be able to locate the \Software\Win2K-XP-2003 folder on the software CD. Click on Next to continue. Smartio CP-168U User’s Manual...
Page 21
Windows OS. Click on Continue Anyway to proceed. 9. Wait while the port driver is being installed. Click on Finish to continue with the rest of the installation procedures. Software Installation Smartio CP-168U User’s Manual...
10. Repeat steps 6 to 9, until the port driver installation for every port is completed. How to Check the Installation There are three ways to check the installation of the CP-168U Series board. Using Device Manager 1. Use your mouse to position the cursor over your desktop’s My computer icon, click the right mouse button, and then select Properties.
1. Click on a specific port from the CP-168U Series Installation window, and then click on [Port Setting] to open the Port X dialog box.
Page 24
3. Check the Auto Enumerating COM Number check-box to have subsequent ports mapped to continuous COM numbers. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2. Smartio CP-168U User’s Manual...
Page 25
NOTE: If you do not have the PComm software, you can download the free version from Moxa’s website at www.moxa.com. Software Installation CP-168U v2 Tx FIFO Rx FIFO High Middle Smartio CP-168U User’s Manual CP-168U v1 Tx FIFO Rx FIFO Unit: Bytes...
The following steps are using CP-168U as an example. Installing the Driver The following procedure shows how to install the CP-168U driver for the first time under Windows 2000 and Windows XP. First make sure the board or boards have already been plugged into the system’s PCI or PCI-X slot(s).
Page 27
3. Checkmark Include this location in the search, and then click on Browse. You should locate the Software\Win2K-XP-2003 folder on the software CD. Click on Next to continue. 4. Wait while the driver software is installed. Smartio CP-168U User’s Manual 3-11...
Page 28
Click OK to continue. 6. Click Next to copy the driver files to your system. 3-12 Smartio CP-168U User’s Manual 5. Wait while the installation wizard searches. The next window that opens cautions you that although this software hasn’t passed...
Page 29
Next to continue. 8. Input the location of the driver in the text input box, or use the Browse button to locate the appropriate folder. Smartio CP-168U User’s Manual 3-13...
Page 30
Next to continue. 11. Select Specify a location and then click on Next to continue. 3-14 Smartio CP-168U User’s Manual 9. Wait while the installation wizard searches. The next window that opens cautions you that although this software hasn’t passed...
Page 31
12. 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 install the board’s second port. Smartio CP-168U User’s Manual 3-15...
Page 32
14) for the rest of the board’s ports. The last window to open completes installation of Port 7. 3-16 Smartio CP-168U User’s Manual 13. Repeat the above procedure (Step7 to Step 12) for the rest of the board’s ports. The last window to open completes installation of...
How to Check the Installation There are three ways to check the installation of the CP-168U Series board. Device Manager 1. You can check the installation of the board by selecting Start " Settings " Control Panel " System, select the Hardware tab, and then click on the Device Manager button.
Page 34
1. Click on a specific port from the CP-168U Series Installation window, and then click on [Port Setting] to open the Port X dialog box.
Page 35
3. Check the Auto Enumerating COM Number check-box to have subsequent ports mapped to continuous COM numbers. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2. Software Installation Smartio CP-168U User’s Manual 3-19...
To check the Event Log for MOXA boards, click Start " Settings " Control Panel " Administrative Tools " Event Viewer, to enter the Event Viewer program. You may find the latest information relevant to the Moxa driver in the system category. 3-20 Smartio CP-168U User’s Manual CP-168U v2 Tx FIFO Rx FIFO...
Software Installation Removing the Driver You can uninstall the board by first selecting Start " Settings " Control Panel " System. Windows 2000 Windows XP Smartio CP-168U User’s Manual 3-21...
Page 38
Select the Hardware tab, and then click on Device Manager. Use the mouse to place the cursor over the CP-168U Series board under Multiport serial adapters, and then click the right mouse button. Select the Uninstall… option. Windows 2000 Click on OK to proceed with the un-installation of the board.
Windows 95/98, pure 32-bit Windows 95/98 virtual device port drivers (VxD) compliant with communication drivers (VCOMM) have been developed for the Smartio CP-168U and other MOXA multiport boards. The drivers conform to the Win32 COMM API standard.
You simply need to have the driver CD available to complete the installation process. A maximum of 4 Smartio CP-168U boards can be installed in one system, provided sufficient I/O address and IRQ number resources are available.
Page 41
See the section, “Board and Ports Ready” First Time Driver Installation This stage gives the steps for installing the Smartio CP-168U board driver for the first time. The installation of the Smartio CP-168U board for Windows 95 and Windows 98 are slightly different and will be described in two columns.
Page 42
Port Configuration, which is discussed in the next section. 1. Upon detecting the first new Smartio CP-168U Series board, Windows 95/98 will automatically display a New hardware found message box, and then display the following dialog boxes.
Page 43
4. Click on [Finish]. Software Installation 3. Select Other Devices and then click on [Next]. 4. Click on [Have Disk]. 5. Type \Software\Win9x\Windows and click [OK]. The system will start reading the files from the CD. Smartio CP-168U User’s Manual 3-27...
Page 44
If you want to add more boards after installing the driver, simply plug the additional Smartio CP-168U board into an empty PCI slot, and Windows 95/98 will automatically detect the newly plugged board. Skip to Port Configuration to take care of port settings.
PC. 1. Open the [Control Panel], click on the [System] icon, select the [Device Manager] tab, and then click on the plus sign to the left of Moxa Smartio/Industio multiport board. Software Installation Smartio CP-168U User’s Manual 3-29...
Page 46
2. Click on the desired CP-168U board, and then click on [Properties]. 3. Select the [Ports Configuration] tab, click on the specific port, and then click on the [Port Setting] button. 4. Check the Auto Enumerating COM Name check-box to assign continuous COM numbers for subsequent ports.
This section shows how to update the Windows 95/98 driver. 1. Open [Control Panel], click on the [System] icon, and select the [Device Manager] tab. 2. Click on the MOXA CP-168U board and then click on [Properties]. Software Installation CP-168U v2...
Page 48
[No] if you want to reboot the system later. Removing the Driver This section explains how to remove the Smartio CP-168U board driver. 1. Open the [Control Panel], double click the [Add/Remove Programs] icon, and then select the [Install/Uninstall] tab.
Windows NT supports up to 256 serial ports, from COM1 to COM256. To fully utilize Windows NT’s multi-process and multi-thread advanced features, pure 32-bit Windows NT device drivers were developed for the Smartio CP-168U board and other MOXA multiport boards. The drivers conform to the Win32 COMM API standard.
Page 50
Installing the Driver First Time Driver Installation The following procedure shows how to install the Smartio CP-168U driver for the first time. First make sure the board or boards are already plugged into the system’s PCI slot(s). 1. Log into NT as Administrator.
Page 52
[OK] to start installing the driver. 7. The Moxa Smartio/Industio Configuration Panel dialog box appears. Click the [Add] button to open the Property dialog box to change port settings and advanced FIFO configuration done automatically by the system. 3-36 Smartio CP-168U User’s Manual...
Page 53
8. Select the just installed CP-168U board from the Board Type pull-down list, click on a specific port item, and then click on the [Port Setting] button to open the Port X window. 9. Select a COM number for the specific port from Port Number pull-down list.
Page 54
Enter the [Administrative] group, click the [Event Viewer] icon, and then select [Log] and [System] to check a message similar to “MOXA CP-168U board, with first serial port COM3, has been enabled” for each newly configured board.
Page 55
2. Click on MOXA Smartio/Industio Family Adapter from the Network Adapters list to highlight it, and then click on [Properties] to open the MOXA Smartio/Industio Configuration Panel dialog box to change port settings and advanced FIFO configuration. Software Installation Smartio CP-168U User’s Manual 3-39...
Page 56
Installation” from the “Windows NT” section. Configuring Another CP-168U Board In this section, we explain how to configure another MOXA CP-168U board that is already installed. Up to four CP-168U boards can be installed in one system under Windows NT, provided sufficient system resources are available.
Page 57
4. Next, refer to the instructions from the “First Time Driver Installation” subsection. Removing an Existing CP-168U Board Configuration First shut down your PC, and then physically remove the CP-168U board from the PCI or PCI-X slot. The next time you start up the PC, the system will automatically remove the configuration.
Page 58
Removing the Driver To remove the Smartio CP-168U board driver: 1. Open the [Control Panel], click on the [Network] icon, and select the [Adapters] tab. 2. Click on MOXA Smartio/Industio Family Adapter from the Network Adapters list.
The following steps are set 1 using CP-134U Series as an example. This section does not illustrate all the convenient functions of the setup program that you would see during the configuration process. Press F1 to refer to the on-line help instructions if necessary. 1. Run the BIN\SETUP.EXE file. 3-44 Smartio CP-168U User’s Manual...
Page 61
3. Press PgDn to configure the CP-134U’s port settings, including port number, flow control, etc. You can enter/modify each port’s settings now. These displayed values are the port’s initial values as the driver is loaded. Software Installation Smartio CP-168U User’s Manual 3-45...
Generally, you should take the convenience of programming into consideration when specifying the port numbers for the board. TxD buffer size The transmission (output) buffer allocated in the system for each port. 3-46 Smartio CP-168U User’s Manual...
Device driver setup O.K. It means that the CP-134U Series driver is installed properly. At this point, you are ready to execute applications that support API-232 functions, or start developing applications using API-232 library. Software Installation Smartio CP-168U User’s Manual 3-47...
To unload (release) the driver from memory, type DP-DRV/Q at the DOS prompt. Linux The Linux driver for MOXA’s multiport serial boards supports the following products: Universal PCI Boards: CP-168U, CP-104UL, CP-104JU, CP-134U, CP-134U-I, CP- 132UL, CP-132UI PCI Boards: C168H/PCI, C104H/PCI, C104HS/PCI, CP-114, CP-114I, CP-114S, CP-...
SCO OpenServer SCO UnixWare 7 SCO UnixWare 2.1 The following steps are using CP-168U under SCO OpenServer as an example. If you want to install under SCO UnixWare 7 or SCO UnixWare 2.1, the installation procedures Software Installation Smartio CP-168U User’s Manual...
Page 67
PgDn: getty Setting Enter: Confirm Input Value 6. Press Enter to select the MOXA Multiport Serial Board you installed. For example, select “CP-168U”, and press Enter. None C168 ISA Series C104 ISA Series C168 PCI Series C104 PCI Series CP-104U Series...
Page 68
Do you want to rebuild the system? (y/n)_ 12. The window shown below will open next. ----------------------------------------[Message]-------------------------------------------- Do you want to rebuild the system? (y/n) Rebuilding kernel. Please wait…. 3-52 Smartio CP-168U User’s Manual PgDn: getty Setting Enter: Confirm Input Value Esc: Exit Tab: Change Item...
Page 69
MOXA Smartio Multiport Serial Board now. ----------------------------------------[Message]-------------------------------------------- Do you want to rebuild the system? (y/n) Rebuilding kernel. Please wait…. Rebuilding kernel completed. Please remember to manually reboot your system later. Press any key to continue. _ Smartio CP-168U User’s Manual 3-53...
Moxa supports a class of easy to use, yet powerful serial programming libraries and communication troubleshooting utilities under Windows NT/2000/XP/2003 and Windows 95/98. Use these MOXA Serial Programming Tools to decrease your software development time. In the following sections, we describe the installation of the library, and the utilities supported for various programming platforms.
IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD, etc. It allows the user to check the function of both software and hardware. To run the Diagnostic program, click on [Start]"[Program]"[PComm Lite]"[Diagnostic]. A typical test report for the CP-168U Series board is shown below. Smartio CP-168U User’s Manual...
Page 73
Click on a specific port to see a graph of the current communication parameters and status of that port. To run the Monitor program, click on [Start]"[Program]"[PComm Lite]"[Monitor]. Smartio CP-168U User’s Manual...
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. To run Terminal Emulator, click on [Start]"[Program]"[PComm Lite]"[Terminal Emulator]. Smartio CP-168U User’s Manual...
DB62 Female Connector Pinouts Port NOTE: The CP-168U board has 1 GND wire that is shared with 6 pins (32, 40, 45, 50, 55, and 58), none of which is assigned to a particular port (since there are 8 ports, but only 6 GND pins).
In this case, try other PCI slots until you find one that works. C. The motherboard does not have an available IRQ for the CP-168U board. Enter the PC’s BIOS and make sure an IRQ setting is available in the PCI/PnP settings.
A. Smartio CP-168U board will check the line status (CTS) before transmitting data if the RTS/CTS flow control feature is set to Enable in the configuration or application program. Refer to the Connection Cable and Cable Wiring chapter for proper wiring options, and check the line status of the suspected port using the diagnostic LED indicators on the mini tester.
Page 81
D. The PCI slot is defective. Please try other slots until you find one that works. E. The board itself might be defective. 2. After the system reboots, the error message “CP-168U board(BusNo=x, DevNo=x, Port1=COMx) interrupt number is invalid!” appears.
Power Requirement • Dimensions: The 32-bit Smartio CP-168U boards comply with PCI specifications 2.1. Hardware configuration for IRQ and I/O addresses is automatically assigned by the PCI BIOS. Hence, you must first plug in the board before installing the software driver.
Due to this slot-dependency, it is necessary to re-configure the software driver once the board is plugged into a different PCI slot. Up to 4 Smartio CP-168U boards can be installed in one system. When installing more than one board, remember the order of boards to distinguish the installed boards.
Return Procedure For product repair, exchange, or refund, you must: Provide evidence of original purchase. Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time. Obtain a Return Merchandise Authorization (RMA) number from the sales representative or dealer.
Revision History Document Edition Revision Date July 8, 2004 December 16, 2004 Revision Details 1. Updated the edition of this manual on the title page. 2. Changed the new Moxa logo on the title page. 3. Chapter 3: Added software installation procedures under Windows 2003, DOS, Linux, and SCO.
Need help?
Do you have a question about the Smartio CP-168U and is the answer not in the manual?
Questions and answers