CP-132U Series User’s Manual Industrial 2-Port RS-422/485 Serial Board for Universal PCI Bus Fifth Edition, December 2004 Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 www.moxa.com support@moxa.com.tw (Worldwide) support@moxa.
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 prohibited. Trademarks MOXA is a registered trademark of The Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
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 are provided: E-mail for technical support Address…………support@moxa.com.tw World Wide Web (WWW) site for product information Address………..http://www.moxa.
Table of Contents Chapter 1 Introduction.................................................................................. 1-1 Overview ....................................................................................................... 1-2 Features ......................................................................................................... 1-4 Package Checklist ......................................................................................... 1-4 Chapter 2 Hardware Installation ....
1 Chapter 1Introduction 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-422/485 serial ports for connecting data acquisition equipment and many other serial devices to a PC and compatible systems.
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 designed for a 32-bit PCI bus with the Plug and Play and Universal PCI feature. They offer 2 independent RS-422/RS-485 serial ports for connecting data acquisition equipment and many other serial devices to the PC and its compatible systems.
Introduction 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 computer first before installing the driver software. For more PCI information, refer to the Technical Reference Appendix. Universal PCI The 32/64-bit PCI local bus specification specifies both 3.3V and 5V connector types for the PCI hardware.
Features The CP-132UL Series includes the following products: CP-132UL V2 CP-132UL-I V2 2 RS-422/485 ports, Universal PCI interface with embedded Surge Protection (16 KV ESD) 2 RS-422/485 ports, Universal PCI interface with embedded Surge Protection and Isolation Protection (16 KV ESD, 2 KV Isolation) CP-132UL Series boards have the following outstanding features: ! ! ! ! ! ! ! ! ! ! ! ! Supports 2 independent RS-422 or RS-485 serial ports Compact board size (half-size) DIP Switch for RS-422/RS-485 selec
2 Chapter 2Hardware 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.
CP-132UL Series Block Diagram CP-132UL Series boards’ hardware configuration for IRQ number and I/O address is automatically assigned by the PCI BIOS. This means that the board MUST be plugged in first before installing the driver software.
Hardware Installation CP-132UL-I V2 (120 x 64.
CP-132UL V2 (120 x 64.5 mm) CP-132UL V1 (120 x 64.
Hardware Installation 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-1 and S2-2 select between RS-422 and RS-485, and S1-1 and S1-2 select between 2-wire and 4-wire RS-485 (S1 is only active when S2 is set to ON).
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. Step 4: Plug the CP-132U Series control board firmly into a free 32-bit PCI slot or 64-bit PCI slot. Step 5: Fasten the holding screw to fix the control board in place. Step 6: Replace the system cover. Step 7: Power on the PC.
3 Chapter 3Software 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 software installation, complete the hardware installation, discussed in the previous chapter, “Hardware Installation.
The following installation steps use CP-168U as an example. Installing the Driver 3-2 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 bottom right corner of the Windows desktop. 2. The Welcome to the Found New Hardware Wizard window will open automatically. Select Install from a list or specific location (Advanced). Click on Next to continue. 3.
Software Installation 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 Continue Anyway to proceed. 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.
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 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.
Software Installation 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 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.
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. 2. When the System Properties window opens, click on the Hardware tab, and then click on Device Manager. 3.
Software Installation 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 installed, the MOXA CP-168U Installation dialog box will be displayed, and the system will map the ports automatically.
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 assigned to Port 2.
Software Installation 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 Trigger to all ports. 5. Select a Tx FIFO Size from the Tx FIFO Level pull-down list. Tx FIFO Levels from High to Low are available, with default value set to High (128 bytes).
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/XP Windows 2000/XP supports up to 256 serial ports, from COM1 to COM256.
Software Installation 1. Windows 2000 Windows 2000 can auto-detect new devices, 1. 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 click Next to continue. 2. Windows XP Windows XP can auto-detect new devices, and activate the Found New Hardware function to install a device driver for Plug and Play devices. Select Install from a list or specific location.
4. Select Specify a location and then click Next 3. to continue. 5. 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). 4. Click OK to continue. 3-12 CP-132U Series User’s Manual Checkmark Include this location in the search, click Browse, and then locate the Software\Win2K-XP-2003 folder on the software CD. Click Next to continue. Wait while the driver software is installed.
Software Installation 5. 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 and been shown that it can support Windows OS. Click Continue Anyway to proceed. Wait while the installation wizard searches.
6. 8. The next window shows the model number of the board, and indicates that Windows has completed the driver installation. Click Finish to continue with the rest of the installation procedure. 9. The next Welcome to the Found New Hardware Wizard window to open starts the 7. port installation stage. Click on Next to continue. 3-14 CP-132U Series User’s Manual The next window shows the model number of the board, and indicates that Windows has completed the driver installation.
Software Installation 10. Select Search for a suitable driver for my device [recommended], and then click Next 8. to continue. 11. Select Specify a location and then click Next to continue. 9. Input the location of the driver in the text input box, or use the Browse button to locate the appropriate folder. Wait while the installation wizard searches.
10. Wait while the installation wizard searches. 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. 11. Wait while the wizard installs the software. 13. Click Next to continue with the installation.
Software Installation 12. After all files have been copied to the system, the Completing the Found New Hardware 14. After all files have been copied to the system, Wizard window will open to indicate that it the Completing the Found New Hardware has finished installing “Port 0.” Click Finish Wizard window will open to indicate that it to install the board’s second port. has finished installing “Port 0.” Click Finish to install the board’s second port. 15.
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. Select the Hardware tab, and then click on Device Manager. Windows 2000 Windows XP If the driver installation was successful, you will see the model number of the CP-168U board listed under Multi-port serial adapters.
Software Installation 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 another MOXA CP-168U board is added, the system will prompt you to take care of port configuration, which is discussed in this section. 1.
2. 3. Select a COM number for the port from the Port Number pull-down list. 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 assigned automatically to Port 2.
Software Installation 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 FIFO Trigger to all ports. 5. 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 value set to High (128 bytes).
Removing the Driver You can uninstall the board by first selecting Start # Settings # Control Panel # System.
Software Installation 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 Windows XP Click OK to proceed with the un-installation of the board.
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-process and multi-thread features of 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.
Software Installation The following steps use CP-168U to illustrate the installation procedure. Installing the Driver Thanks to Windows 95/98’s Plug and Play capability, you can easily plug the Smartio CP-168U board into an available PCI slot, and then get to work right away with very little installation effort. Windows 95/98 will automatically detect the presence of the new board, and prompt you to install the software driver.
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, “Port Configuration” The Smartio CP-168U board’s ports should be ready to work. 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.
Software Installation 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 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. Click the Next button to proceed. Windows 95 Windows 98 2. Click [Other Locations].
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]. 5. Type \Software\Win9x\Windows and click [OK]. The system will start reading the files from the CD.
Software Installation 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 use After port configuration, click [Finish]. The COM the COM ports of the Smartio CP-168U board ports of the Smartio CP-168U board can be used without restarting Windows 95. without restarting Windows 98.
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] # [MOXA Utility] # [MOXA Smartio/Industio Configuration Panel] # [Property] # [Port Setting].
Software Installation 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. For example, if COM3 is assigned to Port 1, then COM4 will be automatically assigned to Port 2. 5. Select an Rx FIFO Trigger from the Rx FIFO Level pull-down list.
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-132UL V2/CP-132UL-I V2 CP-132UL/CP-132U-I Tx FIFO Rx FIFO Tx FIFO Rx FIFO High 128 120 64 56 Middle 64 60 32 28 Low 1 1 1 1 Unit: Bytes 7.
Software Installation 3. Select the [Driver] tab, and click on [Update Driver...]. 4. Click on [Have Disk...] and type the path of the new driver.
5. Insert the driver CD into the CD-ROM drive, and then click [OK] in the Install from Disk window. 6. The system will automatically prompt you to restart the system. Click [Yes] to restart the system, or [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. 2.
Software Installation 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 fully 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.
! Universal PCI Boards: CP-168U, CP-104UL, CP-104JU, 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, CP-132, CP-132I, CP-132S, CP-132IS ! ISA Boards: C168H, C168HS, C168P, C104H, C104HS, C104P, CI-104J, CI-104JS, CI-134, CI-134I, CI-134IS, CI-132, CI-132I, CI-132IS ! cPCI Boards: CT-114I The following steps use CP-168U to illustrate the installation procedure.
Software Installation 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 the Property dialog box to change port settings and advanced FIFO configuration done automatically by the system.
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. 10. Check the Auto Enumerating COM Number check-box to map subsequent ports to continuous COM numbers. For example, if COM3 is assigned to Port 1, then COM4 will be automatically assigned to Port 2. 11.
Software Installation CP-132UL V2/CP-132UL-I V2 CP-132UL/CP-132U-I Tx FIFO Rx FIFO Tx FIFO Rx FIFO High 128 120 64 56 Middle 64 60 32 28 Low 1 1 1 1 Unit: Bytes 13. Click OK in the Port X dialog box to confirm the port settings, and then click OK in the Property dialog box to complete the port settings and return to the MOXA Smartio/Industio Configuration Panel dialog box. The configured CP-168U board will now appear in the MOXA Smartio/Industio Configuration Panel dialog box, as shown below. 14.
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 the board’s ports have been initialized successfully.
Software Installation 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.
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 addition to the procedures listed below, you may also click on [Start] # [Program] # [MOXA Utility] # [MOXA Smartio/Industio Configuration Panel] # [Add], and then refer to the instructions from the previous section, “Installing the Driver.” 1.
Software Installation 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. There is no need to click the Remove button in the Moxa Smartio/Industio Configuration Panel dialog box.
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. Click the [Remove] button in the Network dialog box. 4. Click the [Close] button in the Network dialog box. 5. Restart the system. 6. Refer to the instructions given in the “First Time Driver Installation” section to install the new driver.
Software Installation 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 serial communications. This section explains how to install the package, how to set up the driver, and how to load or unload the driver.
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.
Software Installation 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 instructions. 1. Run the BIN\SETUP.EXE file. 2. Press Enter to select the proper model name (CP-134U Series for this example).
3. NOTE 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. Up to this point, you have completed the configuration of CP-134U. You may skip this step and go directly to step 4 if you do not need to change settings or configure a board. 4. Press F10 to save the modifications and exit the SETUP program.
Software Installation 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 Group Edit This is a convenient function that allows you to edit the configuration of several ports at one time as a group. Loading the Driver After completing the setup procedure, run BIN\DP-DRV.EXE from the DOS prompt to load the driver.
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.
Software Installation 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 Warning: loading /lib/modules/2.4.20-8/kernel/drivers/char/mxser.o will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modules MOXA Smartio/Industio family driver version 1.
4 Chapter 4Serial 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 following sections give details about the installation, the library, and the utilities for various platforms.
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, and consequently greatly reduces developing time. For a complete library function description and sample programs for Visual C++, Visual Basic, and Delphi, check the help file and the sample programs in the PComm directory.
Software Installation 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, with data updated and displayed on the screen at regular time intervals. Click on a specific port to see a graph of the current communication parameters and status of that port.
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 periodically, and transfer files using ASCII, XMODEM, YMODEM, ZMODEM, and KERMIT protocols. To run Terminal Emulator, click on [Start]#[Program]#[Pcomm Lite]#[Terminal Emulator].
Software Installation 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 operation. The CP-132UL Series supports only 2-wire half-duplex RS-485 communication. In this case, the data+/- pins are used for both data transmitting and receiving, depending on the mode selected.
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 for Windows 95/98NT/2000/XP/2003 In order to acquire precise timing control for RS-485 2-wire transmission, we recommend that you configure your CP-132UL Series ports as described below. There are 2 solutions to control RS-485 2-wire transmission.
5 Chapter 5Connection 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.
RS-422/485 Pinouts and Cable Wiring RS-422 Interface The RS-422 standard uses a balanced voltage digital interface to allow 9600 bps communication over cables of up to 4000 feet in length. Ten receivers can be connected to any one driver for broadcasting systems. RS-485 Interface The RS-485 standard is an enhanced version of the RS-422 balanced line standard. It allows multiple drivers and receivers to work on a multidrop network.
Connection Cables and Cables Wiring Pinouts RS-422/485 pinouts for CP-132UL Series CP-132UL (RS-422/485) RS-422 and 4-wire RS-485 Port 1 Port 2 8 9 10 11 12 21 22 23 24 2 3 4 5 14 15 16 17 18 CTS-(A) RxD-(A) RTS-(A) RTS+(B) RxD+(B) TxD-(A) SGND CTS+(B) TxD+(B) TxD-(A) SGND CTS+(B) TxD+(B) CTS-(A) RxD-(A) RTS-(A) RTS+(B) RxD+(B) 2-wire RS-485 Data-(A) Data+(B) Data-(A) Data+(B) CBL-M25M9x2 CP-132U Series User’s Manual 5-3
RS-422 pinouts for CP-132UL Series CP-132UL (RS-422) 1 2 3 4 5 6 7 8 9 TxD-(A) TxD+(B) RxD+(B) RxD-(A) GND RTS-(A) RTS+(B) CTS+(B) CTS-(A) 2-wire RS-485 pinouts for CP-132UL: CP-132UL (2-wire RS-485) 1 2 3 4 5 6 7 8 9 ----Data+(B) Data-(A) GND --------- 4-wire RS-485 pinouts for CP-132UL Series CP-132UL (4-wire RS-485) 1 2 3 4 5 6 7 8 9 5-4 TxD-(A) TxD+(B) RxD+(B) RxD-(A) GND --------- CP-132U Series User’s Manual
Connection Cables and Cables Wiring Cable Wiring RS-422 Point-to-point CP-132UL 2 TxD+(B) 1 TxD-(A) 3 RxD+(B) 4 RxD-(A) 5 GND RS-422 Broadcasting RS-422 Device RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND CP-132UL 2 TxD+(B) 3 RxD+(B) 1 TxD-(A) 4 RxD-(A) 5 GND RS-422 Device 1 RxD+(B) TxD+(B) RxD-(A) TxD-(A) GND RS-422 Device N RxD+(B) TxD+(B) RxD-(A) TxD-(A) GND CP-132UL – RS-422 with Handshaking CP-132UL 2 TxD+(B) 1 TxD-(A) 3 RxD+(B) 4 RxD-(A) 5 GND 7 RTS+(B) 6 RTS-(A) 8 CTS+(B) 9 CTS-(A) RS-422 Device RxD+(B
Multidrop 2-wire RS-485 (half-duplex) CP-132UL Master 3 Data+ 4 Data5 GND RS-485 Device 1 Slave Data+ DataGND RS-485 Device N Slave Data+ DataGND Multidrop 4-wire RS-485 (full-duplex) CP-132UL Master 2 TxD+(B) 1 TxD-(A) 3 RxD+(B) 4 RxD-(A) 5 GND RS-485 Device 1 Slave RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND RS-485 Device N Slave RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND See the section “RS-485 Programming” in the “Serial Programming Tools” chapter for more details on RS-485 programming.
Connection Cables and Cables Wiring 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 reflection due to the impedance mismatch. Signal reflection causes signal distortion, which in turn contributes to communication errors.
6 Chapter 6Troubleshooting 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 Troubleshooting 1. The MOXA PCI board cannot be detected by the MOXA driver while installing the driver. Hardware causes and solutions: a. The board is not installed in the computer. Please install it. b.
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. The cable or the board are probably defective. Try other ports, cables, or boards to verify this, or use the PComm Diagnostic utility to test the MOXA board’s and port conditions. If Diagnostic reports an error, replace the faulty components.
Technical Reference 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, which did not report its resources, has already claimed the interrupt used by xxx.” appears in the Event Log. This indicates the MOXA board was found, but the IRQ is conflicting with another adapter.
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. 2. The system fails to find the CP-132U Series board! ! The board(s) is(are) not plugged properly. ! The slot the boards are plugged into is defective. Try another slot until you find one that works. ! The board might be defective.
A Appendix A Technical Reference Specifications Bus interface Number of ports Max. No. of boards I/O address IRQ Comm. controller Transmission speed Data bits Stop bits Parity Data signals Connectors Optical isolation Surge protection Termination Resistor Operating temperature 32-bit PCI 2 4 Assigned by PCI BIOS Assigned by PCI BIOS MOXA UART (16C550C compatible) 50 bps to 230.4 Kbps (CP-132UL, CP-132U-I) 50 bps to 921.6 Kbps (CP-132UL V2, CP-132UL-I V2) 5, 6, 7, 8 1, 1.
Power requirement Dimensions (W × D) CP-132UL CP-132UL V2 CP-132U-I CP-132UL-I V2 CP-132UL CP-132UL V2 CP-132U-I CP-132UL-I V2 220 mA (+5V) 120 mA (+5V) 578 mA (+5V) 490 mA (+5V) 120 × 64.5 mm 120 × 64.5 mm 120 × 100 mm 120 × 64.5 mm PCI The 32-bit CP-132UL Series board complies with PCI Specifications 2.1. The IRQ and I/O address hardware configuration is automatically assigned by the PCI BIOS. This means that you must first plug in the board before installing the driver software.
Technical Reference 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. $ Carefully pack the product in an anti-static package, and send it, pre-paid, to the dealer.
Revision History Document Edition 3 rd Revision Date January 27, 2004 Revision Details 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. 4th July 23, 2004 1. Updated the edition of this manual on the title page. 2. Changed to the new Moxa logo on the title page. 3.