Page 2 - CP-132U Series User’s Manual; accordance with the terms of that agreement.; Copyright Notice; Copyright; Trademarks; MOXA is a registered trademark of The Moxa Group.; Disclaimer
CP-132U Series User’s Manual 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 prohibi...
Page 3 - MOXA Internet Services; The following services are provided:
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. The following services a...
Page 4 - Table of Contents; Appendix A
Table of Contents Chapter 1 Introduction.................................................................................. 1-1 Overview ....................................................................................................... 1-2 Features ..................................................
Page 5 - The following topics are covered in this chapter:; Overview
1 1 Chapter 1 Introduction Welcome to the MOXA CP-132UL Series of industrial 2-port RS-422/485 serial boards for the PCI bus. Moxa’s Universal PCI CP-132UL series meets the new slot standard for expansion boards, and works with both 3.3V and 5V PCI slots. The CP-132UL series offers 2 independent RS-...
Page 6 - Industio—The Industrial Multiport Async Solution
CP-132U Series User’s Manual 1-2 Overview Industio—The Industrial Multiport Async Solution Moxa Industio products are smart, multiport serial I/O solutions for industrial applications. The CP-132U Series boards , including CP-132UL V2 , and CP-132UL-I V2 (the previous version is CP-132U-I V1) , are ...
Page 7 - Introduction; PCI Solution; Technical Reference; Universal PCI; MOXA; this manual, sections for MOXA; MOXA Serial Comm Tools; PComm; Broad Applications; Multipoint data acquisition
Introduction CP-132U Series User’s Manual 1-3 PCI Solution The board complies with PCI Spec. 2.1 and does not require either switches or jumpers. The hardware configuration for the IRQ and I/O address is automatically assigned by the PCI BIOS. This means that the board MUST be plugged into the compu...
Page 8 - Features
CP-132U Series User’s Manual 1-4 Features The CP-132UL Series includes the following products: CP-132UL V2 2 RS-422/485 ports, Universal PCI interface with embedded Surge Protection (16 KV ESD) CP-132UL-I V2 2 RS-422/485 ports, Universal PCI interface with embedded Surge Protection and Isolation Pro...
Page 9 - CP-132UL Series Block Diagram
2 2 Chapter 2 Hardware Installation You will need to install both hardware and software for CP-132UL Series boards. The hardware installation procedure is given in this chapter, and the next chapter deals with software installation for various operating systems. The following topics are covered in t...
Page 13 - DIP Switch
Hardware Installation CP-132U Series User’s Manual 2-5 CP-132UL Series boards have four onboard DIP Switches, referred to below as S1-1, S1-2, S2-1, and S2-2, that allow the user to choose one of three serial interfaces—RS-422, RS-485 (2-wire), RS-485 (4-wire)—for each of the two ports. Note that S2...
Page 14 - Installing the CP-132UL Series Board; before installing any board.; Remove the PC’s cover.; which are assigned automatically by the PCI BIOS.
CP-132U Series User’s Manual 2-6 Installing the CP-132UL Series Board Step 1 : Power off the PC. Warning! To avoid damaging your system and board, make sure your computer is turned off before installing any board. Step 2: Remove the PC’s cover. Step 3: Remove the slot cover bracket if there is one. ...
Page 15 - Universal PCI Boards:
3 3 Chapter 3 Software Installation In this chapter, the software driver installation, configuration, and driver update/removal procedures are described for various operating systems, including Windows NT, Windows 95/98, Windows 2000/XP/2003, DOS, FreeBSD, and Linux. Before proceeding with the softw...
Page 16 - Installing the Driver
CP-132U Series User’s Manual 3-2 The following installation steps use CP-168U as an example. Installing the Driver 1. After installing the UPCI/PCI board and powering on your PC, Windows 2003 will auto detect and find the UPCI/PCI board you just added. The Found New Hardware window will open in the ...
Page 17 - Continue; to continue with the rest of the installation procedure.
Software Installation CP-132U Series User’s Manual 3-3 4. Wait while the installation wizard searches. The next window that opens cautions you that although this software hasn’t passed Windows Logo testing, this driver has already been tested and been shown that it can support Windows OS. Click on C...
Page 18 - The
CP-132U Series User’s Manual 3-4 6. 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) . Click on Next to continue. 7. Select Search for the best driver in these locations , check Include this loc...
Page 19 - Wait while the port driver is being installed. Click on; Finish; to continue with the rest of
Software Installation CP-132U Series User’s Manual 3-5 8. Wait while the installation wizard searches. The next window that opens cautions you that although this software hasn’t passed Windows Logo testing, this driver has already been tested and been shown that it can support Windows OS. Click on C...
Page 20 - How to Check the Installation; Using Device Manager
CP-132U Series User’s Manual 3-6 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 ...
Page 21 - Event Log; Port Configuration; Click on a specific port from the; CP-168U Series Installation; window, and then click; Port Setting
Software Installation CP-132U Series User’s Manual 3-7 4. If there are any special marks, such as a question mark or an exclamation mark in front of the icons, the installation of the board or the ports was not successful. Examine the Event Log for details. Port Configuration After the driver is ins...
Page 22 - Select a COM number for the port from the; Port Number; Check the; Auto Enumerating COM Number; check-box to have subsequent ports
CP-132U Series User’s Manual 3-8 2. Select a COM number for the port from the Port Number pull-down list. 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 assign...
Page 23 - Using PComm
Software Installation CP-132U Series User’s Manual 3-9 4. Select an Rx FIFO Trigger from the Rx FIFO Level pull-down list. Rx FIFO trigger levels from High to Low are available, with the default set to High (120 bytes). Check Set the change to all ports check-box to apply the just defined Rx FIFO Tr...
Page 24 - Using Event Log; To use Event Log to check MOXA boards, click
CP-132U Series User’s Manual 3-10 Using Event Log To use Event Log to check MOXA boards, click Start # Settings # Control Panel # Administrative Tools # Event Viewer to enter the Event Viewer program. You can find the latest information relevant to MOXA’s drivers under System category. Windows 2000/...
Page 25 - Click
Software Installation CP-132U Series User’s Manual 3-11 Windows 2000 Windows XP 1. Windows 2000 can auto-detect new devices, and activate the Found New Hardware function to install a device driver for Plug and Play devices. 2. Click Next to continue. 3. Select Search for a suitable driver… and then ...
Page 27 - Next; to copy the driver files to your
Software Installation CP-132U Series User’s Manual 3-13 6. Click Next to copy the driver files to your system. 7. Wait while the installation wizard searches. The next window that opens cautions you that although this software hasn’t passed Windows Logo testing, this driver has already been tested a...
Page 29 - Select
Software Installation CP-132U Series User’s Manual 3-15 10. Select Search for a suitable driver for my device [recommended] , and then click Next to continue. 11. Select Specify a location and then click Next to continue. 8. Input the location of the driver in the text input box, or use the Browse b...
Page 30 - as shown; OK; to continue with the installation.
CP-132U Series User’s Manual 3-16 12. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as Software\Win2K-XP-2003 as shown below (change the drive letter, if needed). Click OK to continue. 13. Click Next to continue with the installation. 10. Wait while the i...
Page 32 - Device Manager; You can check the installation of the board by selecting
CP-132U Series User’s Manual 3-18 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 , to open the System Properties window. Sel...
Page 33 - Windows XP
Software Installation CP-132U Series User’s Manual 3-19 Windows 2000 Windows XP Port Configuration After the driver is installed, the MOXA CP-168U Installation dialog box will be displayed, and the system will map the ports automatically. If one MOXA CP-168U board was installed previously, and anoth...
Page 35 - MOXA PComm Utility
Software Installation CP-132U Series User’s Manual 3-21 4. Select an Rx FIFO Trigger from the Rx FIFO Level pull-down list. Rx FIFO trigger levels from High to Low are available, with the default value set to High (120 bytes). Check Set the change to all ports check-box to apply the just defined Rx ...
Page 36 - Removing the Driver; You can uninstall the board by first selecting; Start
CP-132U Series User’s Manual 3-22 Removing the Driver You can uninstall the board by first selecting Start # Settings # Control Panel # System . Windows 2000 Windows XP
Page 37 - Uninstall; to proceed with the un-installation of the board.
Software Installation CP-132U Series User’s Manual 3-23 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 Windo...
Page 38 - for the CP-168U Series board have been removed.
CP-132U Series User’s Manual 3-24 The Device Manager window will automatically refresh to show that the driver and ports for the CP-168U Series board have been removed. Windows 95/98 The Windows 95/98 driver supports up to 128 serial ports, from COM1 to COM128. To utilize fully the advanced multi-pr...
Page 40 - No; First Time Driver; First Time Driver Installation
CP-132U Series User’s Manual 3-26 Install the Smartio Universal PCI or PCI board in the system Start Windows 95/98 to detect the board Driver installed before? Yes No Install the driver from the driver CD. See the section, “ First Time Driver Installation ” Configure the port. See the section, “ Por...
Page 41 - New hardware found; message box, and then display the
Software Installation CP-132U Series User’s Manual 3-27 If one MOXA CP-168U board was previously installed and another MOXA CP-168U board is plugged in, the system will prompt you to skip this stage, and take care of Port Configuration, which is discussed in the next section. 1. Upon detecting the f...
Page 42 - in the
CP-132U Series User’s Manual 3-28 3. Type \Software\Win9x\Windows in the Location input box, and then click [ OK ] from the Select Other Location window. The system will start reading the files from the CD. 3. Select Other Devices and then click [ Next ]. 4. Click [ Finish ]. 4. Click [ Have Disk ]....
Page 43 - Board and Port Ready; NOTE; to take care of port settings.
Software Installation CP-132U Series User’s Manual 3-29 Board and Port Ready The final stage of the driver installation process is slightly different for Windows 95 and Windows 98. After this stage, driver installation is complete. Windows 95 Windows 98 After port configuration, you can immediately ...
Page 44 - Configuring the Board and Ports; Control Panel; tab, and then click on the plus sign to the left of; Moxa Smartio/Industio multiport
CP-132U Series User’s Manual 3-30 Configuring the Board and Ports Follow the procedures given below to re-configure the COM number for the ports of installed boards and drivers under Windows 95/98. In addition to following the procedures listed below, you may also click on [Start] # [Programs] # [MO...
Page 45 - Auto Enumerating COM Name
Software Installation CP-132U Series User’s Manual 3-31 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...
Page 46 - Updating the Driver
CP-132U Series User’s Manual 3-32 all ports. 6. Select a Tx FIFO Size from the Tx FIFO Level pull-down list. Tx FIFO Levels from High to Low are available, with the default set to High (128 bytes). Check Set the change to all ports check-box to apply the just defined Tx FIFO Size to all ports. CP-13...
Page 47 - Select the
Software Installation CP-132U Series User’s Manual 3-33 3. Select the [Driver] tab, and click on [Update Driver...] . 4. Click on [Have Disk...] and type the path of the new driver.
Page 49 - Windows NT
Software Installation CP-132U Series User’s Manual 3-35 3. Click [Yes] in the following message box to confirm that you want to remove the driver. 4. Click [OK] in the Add/Remove Programs Properties dialog box. Windows NT Windows NT supports up to 256 serial ports, from COM1 to COM256. To utilize fu...
Page 51 - MOXA Smartio/Industio Family multiport board
Software Installation CP-132U Series User’s Manual 3-37 6. Select MOXA Smartio/Industio Family multiport board in the Select OEM Option dialog box, and then click [OK] to start installing the driver. 7. The Moxa Smartio/Industio Configuration Panel dialog box appears. Click the [Add] button to open ...
Page 54 - Re-Configuring Port Settings
CP-132U Series User’s Manual 3-40 NOTE Double check that all Smartio CP-168U board components—including the control board—are connected and fastened tightly to ensure that the system and driver can start up. Once the system restarts, you may check the event log issued by the MOXA driver to see if th...
Page 55 - MOXA Smartio/Industio Configuration Panel
Software Installation CP-132U Series User’s Manual 3-41 3. Click on [Property] from the MOXA Smartio/Industio Configuration Panel to open the Property window. 4. Next, refer to the instructions given in the previous section, “ First Time Driver Installation ” from the “ Windows NT ” section.
Page 56 - Configuring Another CP-168U Board; In addition to the procedures listed below, you may also click on
CP-132U Series User’s Manual 3-42 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. In add...
Page 57 - Next, refer to the instructions from the “; Removing an Existing CP-168U Board Configuration
Software Installation CP-132U Series User’s Manual 3-43 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 ne...
Page 58 - Refer to the instructions given in the “; To remove the Smartio CP-168U board driver:
CP-132U Series User’s Manual 3-44 Updating the Driver Take the following steps to update the Smartio CP-168U board driver. 1. Open [ Control Panel ], click on the [ Network ] icon, and select the [ Adapters ] tab. 2. Click on MOXA Smartio/Industio Family Adapter from the Network Adapter list. 3. Cli...
Page 59 - Network; DOS
Software Installation CP-132U Series User’s Manual 3-45 4. Click the [Close] button to exit the Network dialog box. 5. Restart the system to activate the new configuration. DOS MOXA DOS API-232 is a software package that assists users in developing new programs, or debugging existing programs for se...
Page 60 - file. It is strongly recommended that you press
CP-132U Series User’s Manual 3-46 2. After the installation is complete, a message window will open to ask if you want to run the SETUP.EXE file. It is strongly recommended that you press Y to run this SETUP.EXE file.
Page 61 - Setting up the Driver; to refer to the on-line help instructions.; Enter
Software Installation CP-132U Series User’s Manual 3-47 Setting up the Driver The following steps use CP-134U to illustrate. This section does not cover all functions from the setup program that you might see during the configuration process. If necessary, press F1 to refer to the on-line help instr...
Page 62 - PgDn; Press; Legends; Port number
CP-132U Series User’s Manual 3-48 3. Press PgDn to configure the port settings, including port number, flow control, etc. 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 installing the driver. NOTE Up to ...
Page 63 - the structure of the program.; TxD buffer size; Loading the Driver
Software Installation CP-132U Series User’s Manual 3-49 the structure of the program. TxD buffer size The TxD buffer is the transmission (output) buffer allocated by the system for each port. RxD buffer size The RxD buffer is the receiving (input) buffer allocated by the system for each port. F5 Gro...
Page 64 - Unloading the Driver; Linux; The following steps use CP-168U to illustrate.
CP-132U Series User’s Manual 3-50 can execute applications that support API-232 functions, or start developing applications using the API-232 library. Unloading the Driver To unload (release) the driver from memory, type DP-DRV/Q at the DOS prompt. Linux The Linux driver for MOXA’s multiport serial ...
Page 65 - You can use Moxa terminal utility to test tty port.
Software Installation CP-132U Series User’s Manual 3-51 4. # modprobe mxser <- Universal PCI or PCI (If you install ISA Boards, ase type command # insmod mxser ioaddr=0x???, 0x???, 0x???, 0x??? <- 1st ISA, 2nd ISA, 3rd ISA, 4th ISA) Using /lib/modules/2.4.20-8/kernel/drivers/char/mxser.o Warni...
Page 67 - Illustrative sample programs.; Installation; To install
4 4 Chapter 4 Serial Programming Tools Moxa supports an easy to use yet powerful serial programming library and communication troubleshooting utilities under Windows NT, Windows 95/98, and Windows 2000/XP/2003.You can save a lot of development time by using MOXA’s Serial Programming Tools. The follo...
Page 68 - Programming Library; Utilities; To run the Diagnostic program, click on
CP-132U Series User’s Manual 4-2 PComm Programming Library The serial communication library helps you develop programs for serial communications for any COM port complying with the Microsoft Win32 API. It facilitates the implementation of multi-process and multi-thread serial communication programs,...
Page 69 - Pcomm
Software Installation CP-132U Series User’s Manual 4-3 Monitor (for MOXA boards under Windows NT/2000/XP/2003) A useful port status monitoring program allows you to monitor data transmission of selected MOXA COM ports. It monitors data transmission/receiving throughput, and communication line status...
Page 70 - To run Terminal Emulator, click on
CP-132U Series User’s Manual 4-4 Terminal Emulator Terminal Emulator can be used to connect to various ports to see if data transmission is functioning correctly. Terminal Emulator features multi-windows, and supports VT100 and ANSI terminal types. You can transfer data interactively, send patterns ...
Page 71 - ADDCTM (Automatic Data Direction Control); ADDCTM; set the mode switch to the; ON
Software Installation CP-132U Series User’s Manual 4-5 RS-485 Programming If you intend to use your CP-132UL Series board for RS-485 applications, you can refer to the RS-485 programming guide below, and also see the chapter, “Connection Cables and Cable Wiring,” for more details about RS-485 operat...
Page 72 - RS-485 programming using ADDCTM mode is; There are 2 solutions to control RS-485 2-wire transmission.; Solution 1; Send; For more information on these functions, refer to the
CP-132U Series User’s Manual 4-6 and receiving), since it is automatically managed with the board’s built-in intelligent hardware mechanism. This means that RS-485 programming using ADDC™ mode is just as simple and straightforward as RS-232 or RS-422 programming . How to transmit and receive data fo...
Page 73 - In serial data communications, the term; DTE; stands for Data Terminal Equipment, such as; DCE; stands for Data
5 5 Chapter 5 Connection Cables and Cable Wiring In serial data communications, the term DTE stands for Data Terminal Equipment, such as a PC’s COM1/2, serial printers, and terminals. The term DCE stands for Data Communication Equipment, such as modems.
Page 75 - Pinouts; Port 1
Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-3 Pinouts RS-422/485 pinouts for CP-132UL Series CP-132UL (RS-422/485) RS-422 and 4-wire RS-485 2-wire RS-485 8 CTS-(A) 9 RxD-(A) Data-(A) 10 RTS-(A) 11 RTS+(B) 12 RxD+(B) Data+(B) 21 TxD-(A) 22 SGND 23 CTS+(B) Port 1 24 TxD+(B) 2 Tx...
Page 77 - Cable Wiring
Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-5 Cable Wiring RS-422 Point-to-point RS-422 Broadcasting CP-132UL RS-422 Device CP-132UL RS-422 Device 1 2 TxD+(B) RxD+(B) 2 TxD+(B) RxD+(B) 1 TxD-(A) RxD-(A) 3 RxD+(B) TxD+(B) 3 RxD+(B) TxD+(B) 1 TxD-(A) RxD-(A) 4 RxD-(A) TxD-(A) 4 ...
Page 78 - See the section “; Serial Programming Tools; ” chapter for
CP-132U Series User’s Manual 5-6 Multidrop 2-wire RS-485 (half-duplex) CP-132UL RS-485 Device 1 Master Slave 3 Data+ Data+ 4 Data- Data- 5 GND GND RS-485 Device N Slave Data+ Data- GND Multidrop 4-wire RS-485 (full-duplex) CP-132UL RS-485 Device 1 Master Slave 2 TxD+(B) RxD+(B) 1 TxD-(A) RxD-(A) 3 R...
Page 79 - Impedance Matching and Termination Resistors
Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-7 Impedance Matching and Termination Resistors When using RS-422/485 serial communications, an electrical signal that travels through two different resistance junctions in a transmission line will sometimes give rise to signal reflec...
Page 81 - Problem; at the end of this manual to report problems to your dealer.; General Troubleshooting; Hardware causes and solutions:; The board is not installed in the computer. Please install it.
6 6 Chapter 6 Troubleshooting Common CP-132UL 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. General Trou...
Page 82 - Hardware Causes and Solutions:; Make sure the cable wiring is connected correctly. Refer to the “; Connection Cable; ” chapter for correct cable connections.; Software Causes and Solutions:
CP-132U Series User’s Manual 6-2 2. The MOXA board and driver are activated but cannot transfer (transmit/receive) data. Hardware Causes and Solutions: a. Make sure the cable wiring is connected correctly. Refer to the “ Connection Cable and Cable Wiring ” chapter for correct cable connections. b. T...
Page 83 - Make sure the PCI board is seated firmly in the expansion slot.; The COM number of the CP-132U Series conflicts with others.
Technical Reference CP-132U Series User’s Manual 6-3 Windows NT This section is specifically for troubleshooting under Windows NT. For general problems and solutions, see the previous section, “General Troubleshooting.” 1. After the system reboots, the error message “Another driver in the system, wh...
Page 84 - The system fails to find the CP-132U Series board!; The board might be defective.
CP-132U Series User’s Manual 6-4 Windows 95/98 This section is specifically for troubleshooting under Windows 95/98. For general problems and solutions, see the previous section, “General Troubleshooting.” 1. The system fails to find the CP-132U Series board! ! The board(s) is(are) not plugged prope...
Page 85 - Specifications
A A Appendix A Technical Reference Specifications Bus interface 32-bit PCI Number of ports 2 Max. No. of boards 4 I/O address Assigned by PCI BIOS IRQ Assigned by PCI BIOS Comm. controller MOXA UART (16C550C compatible) Transmission speed 50 bps to 230.4 Kbps (CP-132UL, CP-132U-I) 50 bps to 921.6 Kb...
Page 86 - PCI; first plug in the board
CP-132U Series User’s Manual A-2 Power requirement CP-132UL 220 mA (+5V) CP-132UL V2 120 mA (+5V) CP-132U-I 578 mA (+5V) CP-132UL-I V2 490 mA (+5V) Dimensions (W × D) CP-132UL 120 × 64.5 mm CP-132UL V2 120 × 64.5 mm CP-132U-I 120 × 100 mm CP-132UL-I V2 120 × 64.5 mm PCI The 32-bit CP-132UL Series bo...
Page 87 - Return Procedure; Provide evidence of original purchase.
Technical Reference CP-132U Series User’s Manual A-3 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). Incl...
Page 88 - Revision History; Document Edition
CP-132U Series User’s Manual A-4 Revision History Document Edition Revision Date Revision Details 3 rd January 27, 2004 1. Update the edition of this manual on the title page. 2. Change the contact phone number on the title page. 3. p. 5-4 Add 4-wire RS-485 pinouts. 4 th July 23, 2004 1. Updated the...