Gebruiksaanwijzing /service van het product CP-132U van de fabrikant Moxa Technologies
Ga naar pagina of 87
CP-132U Series User’s Manual Industrial 2-Port RS-422/485 Serial Board for Universal PCI Bus www .moxa.com/product Seventh Edition, June 2005 Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 Web: www.moxa.com MOXA Technical Support World wide: support@moxa.
CP-132U Series User’s Manual The software d escribed in t his manual is furnished u nder a license a greement and m ay be used only in accordance with the term s of that agreement. Copyright Notice Copyright © 2005 Moxa Technologies Co., Ltd. All rights reserved.
MOXA Internet Services Customer satisfaction is our nu mber one c oncern, and to ensu re that c ustomers receive the full benefit of ou r products, Moxa Internet Services has been set u p to provide technical support, driver updates, product infor mation, and user’s manua l updates.
Table of Contents Chapter 1 In troduction ......................................................................................................... .... 1-1 Overview .....................................................................................
General T roubleshooting ........................................................................................... 6-1 W indows NT .............................................................................................................. 6-3 W indows 95/98 .
.
1 1 Chapter 1 Introduction Welcome to t he MOXA CP- 132UL Series o f industrial 2-port RS-4 22/485 serial boards for the PCI bus. Moxa’s Universal PCI CP-132UL series meets the new slot standard for expansion b oards, and w orks with bot h 3.3V and 5V PCI sl ots.
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.
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 addr ess is automatically assigned by the PCI BIOS.
CP-132U Series User’s Manual 1-4 Features The CP-132UL Series includes the following prod ucts: 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 assign ed 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-132U-I V1 (120 x 100 mm) PCI - ISA Bridge DC to DC Power Converter TTL to Serial Signal Zone S1 Isolation Modules S2 JP1 JP2 120 mm 100 mm 121 mm CP-132UL V2 (120 x 64.5 mm) 16 mm [0.63 in] MU860 120 mm [4.
CP-132U Series User’s Manual 2-4 CP-132UL V1 (120 x 64.5 mm) CP-132UL Se ries boards ha ve four onb oard DIP Swit ches, referre d to below 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 eac h of the two ports.
Hardware Installation CP-132U Series User’s Manual 2-5 Port 1 Port 2 DIP Switch Settings S1-1 S2-1 S1-2 S2-2 RS-422 — OFF — OFF RS-485 (2-wire) ON ON ON ON RS-485 (4-wire) OFF ON OFF ON.
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 damaging your system and board, make sure your computer is turned off be fore installing any serial bo ard. St e p 2 : Remove the PC’ s cove r .
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 v arious operati ng systems, i ncluding Wi ndows NT, Wi ndows 95/98, Windows 2000/XP/2003, DOS, FreeBSD, and Linux.
CP-132U Series User’s Manual 3-2 Installing the Driver 1. After installing the UPCI/PCI board and pow ering on your PC, W indows 2003 will au to detect and find the UPCI/PC I board you just adde d. T he Found New Hardware window will open in the bottom right corner of the W indows desktop .
Software Installation CP-132U Series User’s Manual 3-3 4. W ait while the installation wizard searches. The next window that opens cautions you that although t his software ha sn’t passed Windo ws Logo testi ng, this dri ver 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 Wizard window will open to help you install the driver for MOXA Port 0 . Select Ins tall 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 wizard searches. The next window that opens cau tions you that although t his software ha sn’t passed Windo ws Logo testi ng, this dri ver 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 board. Using Device Manager 1.
Software Installation CP-132U Series User’s Manual 3-7 4. If there are a ny special marks, suc h as a ques tion mark or a n exclamation mark in front of the icons, the installation of the board 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 port from the Port Number pull-down list. 3. Check the Auto Enumerating COM Number chec k-box to have subseq uent port s mapped to c ontinuous COM num bers. For e xample, if CO M 3 is assi gned to P ort 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 pu ll-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 defi ned Rx FIFO Tri gger to all ports.
CP-132U Series User’s Manual 3-10 Administrative Tools Æ Event Viewer to enter the Event Viewer program. Yo u can find the latest information relevant to MOXA’s drivers under System category. Windows 2000/XP Windows 2000/XP supports up to 256 ser ial ports, from COM1 to COM256.
Software Installation CP-132U Series User’s Manual 3-11 Windows 2000 Windows XP 1. W indows 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 c ontinue.
CP-132U Series User’s Manual 3-12 4. Select Specify a location and then click Next 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 s hows the m odel 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 W elcome to the Found New Hardwar e Wi zard 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 ind icate that it has finished i nstalling “P ort 0.” Clic k Finish to install the board’ s secon d 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 board. 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 erties 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 disp layed, and the system will map the ports automatically.
CP-132U Series User’s Manual 3-20 2. Select a COM num ber for the port from the Port Number pull-down list. 3. Check the Auto Enumerating COM Number chec k-box to have subseq uent port s mapped to c ontinuous COM num bers. For e xample, if CO M 3 is assi gned to P ort 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 pu ll-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 appl y the just defi ned Rx FIF O 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 board ha ve been rem oved. Windows 95/98 The Windows 95/98 d river supp orts up to 128 serial p orts, from COM1 to C OM128.
Software Installation CP-132U Series User’s Manual 3-25 Installing the Driver Thanks to Windows 95/98 ’s Plug and Play capability, you can easily plug th e Smartio CP-168U board into an available PCI slot, an d then get to work right away with very little installation effort.
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 bo ard was previously in stalled and another MOXA CP-168U board is pl ugged in, the system will prompt you to skip this stage, and take care of Port Configurati on, whic h is discus sed in the ne xt section.
CP-132U Series User’s Manual 3-28 3. Type Softw areWin9xWindows 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 d river install ation pro cess is slightly different for Window s 95 and Windows 98.
CP-132U Series User’s Manual 3-30 Configuring the Board and Ports Follow the p rocedures gi ven below to re-configu re the COM number for t he ports of installed boar ds and dri vers under Windows 95/98.
Software Installation CP-132U Series User’s Manual 3-31 2. Click o n the desired C P-168U b oard, and the n click on [Properties] . 3. Select the [Por ts Configur ation] tab, click on the specific port, and then 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 Tx 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 ne d Tx FIFO Size to all ports.
Software Installation CP-132U Series User’s Manual 3-33 3. Select the [Driver] t ab, and cli ck on [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/Rem ove Programs Propert ies 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 z Universal PCI Boards: CP-168U, CP-104UL, CP-104 JU, CP-134 U, CP-134U-I, CP-132UL, CP-132U L-I V2(CP-132U-I V1) z PCI Boards: C168H/PCI, C104H/P CI, C104HS/PCI, C.
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 cli ck [OK] to start installing the driver. 7. The Moxa Smarti o/Industio Configuration Panel dialog box appe ars.
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 that all Smartio CP- 168U board c omponents —including th e control board— are connected and fastened tightly to ensure that the system and dri ver 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 ” sect ion.
CP-132U Series User’s Manual 3-42 Configuring Another CP-168U Board In this section, we explain how to conf igure another MOXA CP-168 U 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 a vailable.
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 th en 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 update 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 dial og box. 5. Restart the system to activate the new configuration. DOS MOXA DOS AP I-232 is a s oftware packag e that assists users i n developi ng new pro grams, or debuggi ng existing program s for serial communications.
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 recom mended that you press Y to run th is 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 t hat you mi ght see during the c onfiguratio n process. If necessary, press F1 to refer to the on-line help instructions.
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 m odify the setti ngs of each po rt at this st age. The value s display ed first are the port’s initial values th at 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) buffer 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-232 fu nctions, o r start develo ping applicat ions 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 comm and # insmod mxser ioa ddr=0x ???, 0x???, 0x???, 0x ??? <- 1st ISA, 2nd IS A, 3rd ISA, 4t h ISA) Using /lib/modules/2.
.
4 4 Chapter 4 Serial Programming Tools Moxa suppo rts an easy t o use yet po werful seri al programm ing library 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 municati on library hel ps you develo p program s for serial 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 m onitoring pr ogram all ows you to m onitor data t ransmission o f selected MOXA COM ports.
CP-132U Series User’s Manual 4-4 RS-485 Programming If you intend to use your CP-132 UL Series board for RS -485 applications, y ou can refer to the RS-485 pr ogrammi ng guide below, an d al so see the cha pter, “Connection Cables and Cable Wiring ,” for m ore details about RS-485 operation.
5 5 Chapter 5 Connection Cables and Cable Wiring In serial data c ommuni cations, the term DTE stands for Data Terminal Equipment, suc h as a PC’s COM1/2, serial printers, and terminals. The term DCE stands for Data Communi cation Equipm ent, such as modem s.
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 co nnected 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) D.
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 Broadcastin g 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/48 5 serial comm unications , an electrical signal that travels through 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 reading this chapter, contact your dealer or Moxa for help, or use th e 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 trans fer (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! z 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 boa rds 4 I/O address Assigned by PCI BIOS IRQ Assigned by PC I BIOS Comm . controller MOXA UART (16C550C com patible) Transmission speed 50 bps to 230.
CP-132U Series User’s Manual A-2 Power requi rement 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 m m 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, exc hange, o r refund, the customer m ust: Provide e vidence of origi nal purchase. Obtain a Product Return Agreement (PRA) from the sales representative or dealer.
Een belangrijk punt na aankoop van elk apparaat Moxa Technologies CP-132U (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Moxa Technologies CP-132U heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Moxa Technologies CP-132U vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Moxa Technologies CP-132U leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Moxa Technologies CP-132U krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Moxa Technologies CP-132U bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Moxa Technologies CP-132U kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Moxa Technologies CP-132U . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.