Instruction/ maintenance manual of the product CP-132U Series Moxa Technologies
Go to page of 88
CP-132U Series User’s Manual Industrial 2-Port RS-422/485 Serial Board for Universal PCI Bus Fif th 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 d escribed in this manual is fur nished under a l icense agreement an d may be use d only in accordance with the term s of that agreement. Copyright Notice Copyright 2004 Moxa Technologies Co., Ltd. All rights reserved.
MOXA Internet Services Customer satisfaction is our nu mber one c oncern, and to ensu re that customers receive the full benefit of ou r products, Moxa Internet Services has been set up to provi de technical support, driv er updates, product infor mation, and user’s manua l updates.
Table of Contents Chapter 1 Intr oduction .................................................................................. 1-1 Overview ....................................................................................................... 1-2 Features .
1 1 Chapter 1 Introduction Welcome to th e MOXA CP-132 UL Series of i ndustrial 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 b oards, and works with both 3. 3V and 5V PCI sl ots.
CP-132U Series User’s Manual 1-2 Overview Industio—The Industrial Multiport Async Solution Moxa Industi o products are smart, m ultiport serial I/ O solutions for industrial applications.
Introduction CP-132U Series User’s Manual 1-3 PCI Solution The board complies with PCI Sp ec. 2.1 and does not requ ire either switches or jumpers. The hardware configuration for the IRQ and I/O address is auto matically assigned by the PCI BIOS.
CP-132U Series User’s Manual 1-4 Features The CP-132UL Series includes the following produ cts: CP-132UL V2 2 RS-422/485 ports, Un iversal PCI interface with embedded Surge Protection (16 KV ESD) CP.
2 2 Chapter 2 Hardware Installation You will need to install both hardware and so ftware for CP-132UL Series boards. The hardware installation procedure is given in this chapter, and the next chapter deals with software installation for vario us operating system s.
CP-132U Series User’s Manual 2-2 CP-132UL Series Block Diagram CP-132UL Series boards’ h ardware configur ation 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-132U Series User’s Manual 2-3 CP-132UL-I V2 (120 x 64.5 mm) CP-132U-I V1 (120 x 100 mm).
CP-132U Series User’s Manual 2-4 CP-132UL V2 (120 x 64.5 mm) CP-132UL V1 (120 x 64.5 mm).
Hardware Installation CP-132U Series User’s Manual 2-5 CP-132UL Se ries boards hav e four onboard DIP Switches, referred to bel ow as S1-1, S1 -2, S2-1, and S2-2, that allow the user to choo se one of three seri al interfaces—RS-422, RS-485 (2-wire), RS- 485 (4-wire)—for each of the two ports.
CP-132U Series User’s Manual 2-6 Installing the CP-132UL Series Board St e p 1 : Power off the PC. Warning! To avoid dam aging your system and boar d, make sure your computer is turned off before installing a ny board. St e p 2 : Rem ove the PC’ s cover .
3 3 Chapter 3 Software Installation In this chapter, the software driver installa tion, configurati on, and dri ver update/rem oval procedures are described for vari ous operating syst ems, including Windows NT, Windows 95/98, Windows 2000/XP/2003, DOS, FreeBSD, and Linux.
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 pow ering on your PC, W indows 2003 will auto detect and find the UPCI/PC I board you just added.
Software Installation CP-132U Series User’s Manual 3-3 4. W ait while the installation wizar d searches. The next window that opens cautions you that although t his software ha sn’t passe d W indows Logo testing, this driver has already been tested and been shown that it can support W indows OS.
CP-132U Series User’s Manual 3-4 6. The Found New Hardwar e W izard window will open to help you install the driver for MOXA Port 0 . Select Install fr om a list or specific location (Ad vanced) .
Software Installation CP-132U Series User’s Manual 3-5 8. W ait while the installation wizar d searches. The next window that opens cautions you that although t his software ha sn’t passe d W indows Logo testing, this driver has already been tested and been shown that it can support W indows OS.
CP-132U Series User’s Manual 3-6 10. Repeat steps 6 to 9, until the port driver installation fo r every port is completed. How to Check the Installation There are three ways t o check the inst allation of the CP-168U Series bo ard. Using Device Manager 1.
Software Installation CP-132U Series User’s Manual 3-7 4. If there are a ny special marks, such as a ques tion m ark or an exclam ation mark in front of the icons, the installation of the bo ard or the ports was not successful. Examine the Event Log for details.
CP-132U Series User’s Manual 3-8 2. Select a COM num ber for the p ort from the Port Number pull-down list. 3. Check the Auto Enumerating COM Number chec k-box to have subsequent ports mapped to c ontinuous C OM numbers. F or exampl e, if COM 3 is a ssigned to Port 1, then COM 4 will be automatically assigned to Po rt 2.
Software Installation CP-132U Series User’s Manual 3-9 4. Select an Rx FIFO Trigger from the Rx FI FO 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 t o all ports check-box t o apply the just defined Rx FIFO Trigger to all ports.
CP-132U Series User’s Manual 3-10 Using Event Log To use Event L og to check MOX A boards, cli ck Start # Setting s # Control Panel # Administrative Tools # Event Viewer to enter the Event Viewer progr am. You can find the latest information relev ant to MOXA’s drivers under System category.
Software Installation CP-132U Series User’s Manual 3-11 Windows 2000 Windows XP 1. W indows 2000 can a uto-detect new devices, and activate the Found New Hardware function to install a device driver for Plug and Play devices. 2. Click Next to c ontinue.
CP-132U Series User’s Manual 3-12 4. Select Specify a locati on and then click Nex t to continue. 5. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as SoftwareWin2K-XP-2003 as shown below (change the drive letter if needed).
Software Installation CP-132U Series User’s Manual 3-13 6. Click Next to copy the driver files to your system. 7. W ait while the installation wizard searches.
CP-132U Series User’s Manual 3-14 8. The next window sho ws the model num ber of the board, and indicates that W indows has completed the driver installation. Click Finish to continue with the rest of the installation procedure. 9. The next W elcome to the Found New Hardwar e Wiz ard window to open starts the port installation stage.
Software Installation CP-132U Series User’s Manual 3-15 10. Select Sear ch for a suitable driver for my device [recommended] , and then click Ne xt to continue. 11. Select Specify a loca tion and then click Ne xt to continue. 8. Input the location of the driver in the text input box, or use the Browse button to locate the appropriate fo lder .
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 SoftwareWin2K-XP-2003 as shown below (change the drive letter , if needed). Click OK to continue. 13. Click Next to continue with the installation.
Software Installation CP-132U Series User’s Manual 3-17 14. After all files have been copied to the system, the Completing t he Found New Ha rdware Wiz ar d window will open to indicate th at it has finished i nstalling “Port 0.” Click Finish to install the board’ s second port.
CP-132U Series User’s Manual 3-18 How to Check the Installation There are three ways t o check the inst allation of the CP-168U Series bo ard. Device Manager 1. You can check the installation of th e board by selecting Start # Settings # Control Panel # System , to ope n the System Prop ert ies window.
Software Installation CP-132U Series User’s Manual 3-19 Windows 2000 Windows XP Port Configuration After the driver is installed, the MOXA CP-1 68U Installation dialog box will be displayed, and the system will map the ports automatically.
CP-132U Series User’s Manual 3-20 2. Select a COM num ber for the p ort from the Port Number pull-down list. 3. Check the Auto Enumerating COM Number chec k-box to have subsequent ports mapped to c ontinuous C OM numbers. F or exampl e, if COM 3 is a ssigned to Port 1, then COM 4 will be assigned automatically to Port 2.
Software Installation CP-132U Series User’s Manual 3-21 4. Select an Rx FIFO Trigger from the Rx FI FO 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 a ll ports check-box to ap ply the just defi ned Rx FIFO Trigger to all ports.
CP-132U Series User’s Manual 3-22 Removing the Driver You can uninstall the board by first selecting Sta rt # Settings # Control Panel # System . Windows 2000 Windows XP.
Software Installation CP-132U Series User’s Manual 3-23 Select the Hardware tab, a nd then click on Device Manager. Use the mouse to place the cursor over the CP-1 68U Series board under Mu ltipo rt serial adapters, and then click the right mouse button.
CP-132U Series User’s Manual 3-24 The Device Man ager window will automatically refresh to show that the driver and ports for the CP- 168U Series boa rd have been removed. Windows 95/98 The Windows 95/98 drive r supports u p to 128 seri al ports, from COM1 to COM 128.
Software Installation CP-132U Series User’s Manual 3-25 The following steps use CP-168U to illustrate the installation procedure. Installing the Driver Thanks to Windows 95/98’s Plug and Play capa.
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 bo ard D r i v e r i n s t a l l e d b e f o r e ? Y e s No Install the driver from the driver CD. See the section, “ First Time Driver Installation ” Configure the port.
Software Installation CP-132U Series User’s Manual 3-27 If one MOXA CP-168U board was previously installed and another MOXA CP-168 U board is pl ugged in, the sy stem will pr ompt you to s kip this stage, and take care of Port Configurati on, which i s discussed i n the next section.
CP-132U Series User’s Manual 3-28 3. Type Softw areWin9xWindow s in the Location input box, and th en click [ OK ] from the Select Other Location wi ndow. The syste m will start reading the files from the CD. 3. Select Other Devices and then click [ Next ].
Software Installation CP-132U Series User’s Manual 3-29 Board and Port Ready The final sta ge of the drive r installati on process is slig htly differe nt for Window s 95 and Windows 98.
CP-132U Series User’s Manual 3-30 Configuring the Board and Ports Follow the p rocedures give n below to re -configure the C OM number f or the ports of installed boar ds and drivers under Wind ows 95/98.
Software Installation CP-132U Series User’s Manual 3-31 2. Click o n the desired CP -168U board, and then click on [Properties] . 3. Select the [Por ts Configurati on] tab, click on the specific port, and t hen click on the [Port Setting] butt on. 4.
CP-132U Series User’s Manual 3-32 all ports. 6. Select a Tx FIFO Size from the T x FIFO Level pull-down list. Tx FIFO Levels from High to Low are available, with the d efault set to High (128 bytes). Check Set the change to all ports c heck-box to apply the just defi ned Tx FIF O Size to all ports.
Software Installation CP-132U Series User’s Manual 3-33 3. Select the [Driver] t ab, and click o n [Update Driver...] . 4. Click on [Have Disk...] and type the path of the new driver.
CP-132U Series User’s Manual 3-34 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.
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 A dd/Remove Pr ograms Properties dialog box. Windows NT Windows NT supports up to 256 serial port s, from COM1 to COM256.
CP-132U Series User’s Manual 3-36 ! Universal PCI Boards: CP-168U, CP-104UL, CP-104 JU, CP-134 U, CP-134U-I, CP-132UL, CP-132UL- I V2(CP-132U-I V1) ! PCI Boards : C168H/PCI, C104H/P CI, C104HS/PCI, .
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, a nd then click [OK] to start installing the driver. 7. The Moxa Smarti o/Industio Configuration Panel dialog box appears.
CP-132U Series User’s Manual 3-38 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 th e [Port Setting] button to open the Port X window. 9. Select a COM num ber for the specific port from Port Number pull-down list.
Software Installation CP-132U Series User’s Manual 3-39 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.
CP-132U Series User’s Manual 3-40 NOTE Double check t hat all Smartio CP -168U board c omponents—i ncluding the control board—are connected and fastened tightly to ensure that the system and driver can start up.
Software Installation CP-132U Series User’s Manual 3-41 3. Click on [Property] from the MOXA Smartio/Industio Configuration P anel 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.
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 board s can be installed in one system unde r Windows NT, provided sufficient system resources are avai lable.
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.
CP-132U Series User’s Manual 3-44 Updating the Driver Take the following steps to upda te the Smartio CP-168U board driver. 1. Open [ Contr ol Panel ], click on the [ Network ] icon, and select the [ Adapters ] tab. 2. Click on MOXA Smartio/Industio Family Adapter from the Network Adapter list.
Software Installation CP-132U Series User’s Manual 3-45 4. Click the [Close] button to ex it the Network di alog box. 5. Restart the system to activate the new configuration. DOS MOXA DOS AP I-232 is a soft ware package that assist s users in devel oping new programs, or debuggin g existing pro grams for se rial communi cations.
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.EX E file. It is str ongly recomm ended that you p ress Y to run this SETUP.
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 y ou might see duri ng the confi guration proce ss. If necessary, press F1 to refer to the on-line help instructio ns.
CP-132U Series User’s Manual 3-48 3. Press PgDn to configure the port settings, including port number, flow control, etc. You may ent er or modify the settings of each port at t his stage. The val ues display ed first are the port’s initial values that were set up when installing 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) buffe r allocated by the system for each port. RxD buffer size The RxD buffer is the recei ving (input) buffe r allocated by the system for each port.
CP-132U Series User’s Manual 3-50 can execute ap plications that support API-2 32 functions, or start devel oping applicati ons using the API-232 library. Unloading the Driver To unload (release) the driver from memory, type DP-DRV/Q at the DOS prom pt.
Software Installation CP-132U Series User’s Manual 3-51 4. # modprobe mxser <- Universal PCI or PCI (If you inst all ISA Boards, ase type com mand # insm od mxser ioad dr=0x???, 0x ???, 0x???, 0x ??? <- 1st ISA, 2nd IS A, 3rd ISA, 4th IS A) Using /lib/modules/2.
.
4 4 Chapter 4 Serial Programming Tools Moxa suppo rts an easy to use yet powerful serial program ming libra ry and comm unication troubleshooting utilities under Windows NT, Windows 95/98, and Windows 2000/XP/2003.You can save a lot of development ti me by using MOXA’s Serial Programmi ng Tools.
CP-132U Series User’s Manual 4-2 PComm Programming Library The serial com munication li brary helps you develop pro grams for seri al communicati ons for any COM port complying with the Mi crosoft Win32 API.
Software Installation CP-132U Series User’s Manual 4-3 Monitor (for MOXA boards under Windows NT/2000/XP/2003) A useful po rt status moni toring program allows you to m onitor data t ransmission of selected MOXA COM ports.
CP-132U Series User’s Manual 4-4 Terminal Emulator Terminal Em ulator can be use d to connect to va rious ports t o see if data transm ission is functioning correctly. Terminal Emulator feat ures multi-windows, and supports VT100 and ANSI terminal types.
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 refe r to the RS-485 pr ogramming gui de below, and al so see the chapter, “Connection Cables and Cable Wiring ,” for more details about RS -485 operati on.
CP-132U Series User’s Manual 4-6 and receiving), since it is automatically ma naged with the board’ s built-in intelligent hardware mechanism. This m eans that RS-485 programming us ing ADDC™ mode is just as simple and straight forward as RS-232 or RS-42 2 programming .
5 5 Chapter 5 Connection Cables and Cable Wiring In serial data c ommunicati ons, the term DTE stands for Data Terminal Equi pment, such as a PC’s COM1/2, serial printers, and terminals. The term DCE stands for Data Communi cation Equipment , such as modems.
CP-132U Series User’s Manual 5-2 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 connecte d to any one driver for broadcasting systems.
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) .
CP-132U Series User’s Manual 5-4 RS-422 pinouts for CP-132UL Series CP-132UL (RS-422) 1 TxD-(A) 2 TxD+(B) 3 RxD+(B) 4 RxD-(A) 5 GND 6 RTS-(A) 7 RTS+(B) 8 CTS+(B) 9 CTS-(A) 2-wire RS-485 pinouts for .
Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-5 Cable Wiring RS-422 Point-to-poi nt RS-422 Broadcasting CP-132UL RS-422 Device CP-132UL RS-422 Device 1 2 TxD+(B) RxD+(B) 2 TxD+(.
CP-132U Series User’s Manual 5-6 Multidrop 2-wir e 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-.
Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-7 Impedance Matching and Termination Resistors When using RS-422/485 se rial communicati ons , an electrical signal that travels t hrough two different resistance junctions in a tran smi ssion line will sometimes give rise to signal reflection due to the impedanc e mismatch.
.
6 6 Chapter 6 Troubleshooting Common CP-132UL Series problems and possible solutions are listed below. If you still have problems after readi ng 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.
CP-132U Series User’s Manual 6-2 2. The MOXA board and driver are activate d but cannot transfer (transmit/receive) data. Hardware Causes and Solutions: a. Make sure the cable wiring is co nnected correctly. Refer to the “ Connection Cable and Cable Wiring ” chapter for correct cable connections .
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 sec tion, “ General Troubleshooting.
CP-132U Series User’s Manual 6-4 Windows 95/98 This section is specifically for troubleshooting under Windows 95/98. For gen eral problems and solutions, see the previous sec tion, “ General Troubleshooting.” 1. The system fails to find the CP-132U Series board! ! The board(s) is(are) not p lugged properly.
A A Appendix A Technical Reference Specifications Bus interface 32-bit PCI Number of por ts 2 Max. No. of boards 4 I/O address Assigned by PCI BIOS IRQ Assigned by PC I BIOS Comm. cont roller MOXA UART ( 16C550C co mpatible) Transmission speed 50 bps to 230.
CP-132U Series User’s Manual A-2 Power requi rement C P-132UL 220 mA (+5 V) CP-132UL V2 120 mA (+5V) CP-132U-I 578 mA (+ 5V) CP-132UL-I V2 490 mA (+5V) Dimensions (W × D) CP-132U L 120 × 64.5 mm CP-132UL V2 120 × 64.5 mm CP-132U-I 120 × 100 mm CP-132UL-I V2 120 × 64.
Technical Reference CP-132U Series User’s Manual A-3 Return Procedure For product repair, excha nge, or re fund, the custom er must: $ Provide e vidence of origi nal purchase. $ Obtain a Product Return Agreement (PRA) from the sales representative or dealer.
CP-132U Series User’s Manual A-4 Revision History Document Edition Revision Date Revision Deta ils 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 p age. 3. p. 5-4 Add 4-wire RS -485 pinouts.
An important point after buying a device Moxa Technologies CP-132U Series (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Moxa Technologies CP-132U Series yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Moxa Technologies CP-132U Series - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Moxa Technologies CP-132U Series you will learn all the available features of the product, as well as information on its operation. The information that you get Moxa Technologies CP-132U Series will certainly help you make a decision on the purchase.
If you already are a holder of Moxa Technologies CP-132U Series, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Moxa Technologies CP-132U Series.
However, one of the most important roles played by the user manual is to help in solving problems with Moxa Technologies CP-132U Series. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Moxa Technologies CP-132U Series along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center