Instruction/ maintenance manual of the product CP-118U Moxa Technologies
Go to page of 84
CP-1 18U User ’ s Manual 8-Port RS-232/422/485 Serial Bo ard for Universal PCI Bus Second Edition, December 2004 www .moxa.com/product Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 Web: www.moxa.com MOXA Technical Support Worldwide: support@moxa.
CP-118U User’s Manual The software d escribed in t his manual is furnished under a license a greement and m ay be use d only in accordance with the term s of that agreement. Copyright Notice Copyright 2004 Moxa Technologies Co., Ltd. All rights reserved.
Table of Contents Chapter 1 Introduction .................................................................................................. 1-1 Overview...................................................................................................
Appendix A Technical Reference ................................................................................... A-1 Product Speci fications ......................................................................................................... ..
1 1 Chapter 1 Introduction Moxa’ s CP-1 18U Universal PCI seri al board meet s the new slot stan dard for ex pansion boa rds, and works wi th bot h 3.3V and 5V PCI sl ots. The board has eight i ndependent RS-232/4 22/485 serial ports f or connecting dat a acquisition e quipment and other se rial devices to a PC.
CP-118U User’s Manual Introduction 1-2 Overview Smartio—The Smart Mul tiport Async Sol ution CP-1 18 U is one of the newest m embers of Moxa ’ s well-known Sm artio series of multiport serial boards, in which Smartio stands for Smart Multiport serial I/O solution.
CP-118U User’s Manual Introduction 1-3 Applications The CP-1 18U board is sui table for m any dif ferent applications, i ncluding: ! Internet/Intranet Connections ! Remote Access ! Multi-user Applic.
CP-118U User’s Manual Introduction 1-4 Installation Flowchart The following flowch art gives a brief summary of th e procedure you should follow to in stall the CP-1 18U boa rd and which chapters t o refer to for more detailed inform ation: Use the onboard DIP Switches to select the data transm ission mode f or each port .
2 2 Chapter 2 Hardware Installation The CP-1 18U Series hardware installation procedure is describ ed in this chapter . Since the CP-1 18U board’ s I RQ number and I/O addresses are assigned auto matically by the PCI BIOS, the board MUST be plugged in be fore install ing the dri ver .
CP-118U User’s Manual Hardware Installation 2-2 CP-118U Block Diagram 135 mm [5.31 in] 82 mm [3.23 in] 41.7 mm [1.64 in] MU860 CP-1 18U 121 mm [4.76 in] DIP Switch Settings CP-1 18U has three onboa rd DIP Switch arrays, each with 8 switches, referred to below and on the board (see the above block diagram ) as S1, S2, and S3.
CP-118U User’s Manual Hardware Installation 2-3 Plugging the Board into an Expansion Slot Since the CP- 1 18U b oard’ s IRQ num ber and I/O a ddress are a utomat ically assigne d by the PC I BIOS, the b oard MUST be plugged i nto one o f the comput er ’ s expansion slot s before ins talling the driver .
.
3 3 Chapter 3 Software Installation In this chapter , installation, configuration, and updat e/removal p rocedures fo r the drive r are give n for W indows (2003 /XP , 2000, 98/95, NT), DOS, Linux, and SCO.
CP-118U User’s Manual Software Installation 3-2 Windows Drivers MOXA prov ides drivers that allow you to use the following serial boar d products under W indows 2003/XP/2000, Windows XP Embedded, Windows 98/95, an d W indows NT .
CP-118U User’s Manual Software Installation 3-3 Windows 2003/XP In this section, we descri be the installation proce dure for W indows XP . The install ation procedure for Wi ndows 2003 is similar . W indows 2003/XP support up to 256 serial ports, from COM1 to COM256.
CP-118U User’s Manual Software Installation 3-4 3. Select Search for the best driver in these locations , chec k Include this location in the search , and then click on Browse . Navi gate to the CP-1 18U SoftwareW in2K-XP-2003 folder on the software CD, and then click on Next to continue.
CP-118U User’s Manual Software Installation 3-5 5. W ait while the driver software is installed. 6. The next window sho ws the model name of the boa rd, and i ndicates that W indows has completed the driver installation. Click on Finish to proceed with the rest of the installation procedure.
CP-118U User’s Manual Software Installation 3-6 7. The Found New Hardwar e W izard window will open to help you install the driver for MOXA Port 0. Select Insta ll from a list or specific location (Advanced) , and then cl ick on Next to procee d. 8.
CP-118U User’s Manual Software Installation 3-7 9. W ait while the installation wizard search es. The next window that opens cautions you that although this software has n’t passe d W indo ws Logo testi ng, the dri ver has been test ed and shown that i t can support t he W indo ws OS.
CP-118U User’s Manual Software Installation 3-8 11. After all files have been copied to the system, the Completing the Found New Hardware Wiz ar d window will open to indicate that it has finish ed installing Port 0 . Click on Finish to proceed with the rest of t he installation.
CP-118U User’s Manual Software Installation 3-9 13. The Found Ne w Hardware pop-up window will reappear to inform you that the hardware was installed successfully . Configuring the Ports After the driver has been installed, use Device Manager to config ure the CP- 1 18U seri al ports.
CP-118U User’s Manual Software Installation 3-10 2. Expand the Multi-port serial adapters tab, right click on MOXA CP-1 18U Series (PCI Bus) , and then click on Pr operties to open the board’ s conf iguration panel. 3. Click on the port you would like to configur e to highlight it, and then click on Port S etting .
CP-118U User’s Manual Software Installation 3-11 4. Select a COM num ber for the port from the Port Number pull-down list. 5. Check the Auto Enumerating COM Number chec kbox to m ap subseque nt ports automatically . The port numbers will be assigned in sequence.
CP-118U User’s Manual Software Installation 3-12 Using MOXA PComm Utility The PComm Diagnostic p rogram is a useful t ool for chec king the stat us of MOXA ’ s multiport boards. The pr ogram can be u sed to test i ntern al and external IRQ, T xD/RxD, UAR T , CTS/R TS, DTR/DSR, etc.
CP-118U User’s Manual Software Installation 3-13 Removing the Driver 1. T o uninstall the driver, click on St a r t # Settings # Control Panel # System , select the Hardwar e tab, and then click on Device Manager .
CP-118U User’s Manual Software Installation 3-14 3. The Device M anager window refreshes automatically, show ing that the driver and ports for the CP-1 18U Series board hav e been rem oved. Windows 2000 In this section, we descri be the installation proce dure for W indows 2000.
CP-118U User’s Manual Software Installation 3-15 1. After plugging the board in to an expansion slot and powering on your PC, W i ndows 2000 will automatically detect the ne w board, and the Found New Hardwar e window will open. 2. When the W elcome to the Found New Hardware Wiz ard window opens, cli ck on Ne xt to continue.
CP-118U User’s Manual Software Installation 3-16 3. Select Search for a suitable driver for my device (r ecommended) , and then click on Next to continue.
CP-118U User’s Manual Software Installation 3-17 5. Navigate t o the CP- 1 18USoftwar eW in2K-XP- 2003 folder on the software CD, and then click on OK to continu e.
CP-118U User’s Manual Software Installation 3-18 7. W ait while the installation wizard search es. The next window that opens cautions you that although this software has n’t passe d W indo ws Logo testi ng, the dri ver has been test ed and shown that i t can support t he W indows OS.
CP-118U User’s Manual Software Installation 3-19 9. The next window sho ws the model number of t he board, and i ndicates that W indows has completed the driver installation. Click on Finish to continue with the rest of the installation procedure. 10.
CP-118U User’s Manual Software Installation 3-20 Configuring the Ports After the driver has been installed, use Device Manager to config ure the CP- 1 18U seri al ports. 1. Click on St a r t # Settings # Contr ol Panel # System , select the Har dwar e tab, and then click on Device Manager .
CP-118U User’s Manual Software Installation 3-21 2. Expand the Multi-port serial adapters tab, right click on MOXA CP-1 18U Series (PCI Bus) , and then click on Pr operties to open the board’ s conf iguration panel. 3. Basic inf ormation ab out the boar d is displa yed on the General page.
CP-118U User’s Manual Software Installation 3-22 4. Configuration tab to configure the board’ s serial ports. 5. Click on the port you would like to configur e to highlight it, and then click on Port S etting .
CP-118U User’s Manual Software Installation 3-23 6. Select a COM num ber for the port from the Port Number pull-down list. 7. Check the Auto Enumerating COM Number chec kbox to m ap subseque nt ports automatically . The port numbers will be assigned in sequence.
CP-118U User’s Manual Software Installation 3-24 Using MOXA PComm Utility The PComm Diagnostic p rogram is a useful t ool for chec king the stat us of MOXA ’ s multiport boards. The pr ogram can be u sed to test i ntern al and external IRQ, T xD/RxD, UAR T , CTS/R TS, DTR/DSR, etc.
CP-118U User’s Manual Software Installation 3-25 Removing the Driver 1. T o uninstall the driver, click on St a r t # Settings # Control Panel # System , select the Hardwar e tab, and then click on Device Manager .
CP-118U User’s Manual Software Installation 3-26 3. The Device M anager window refreshes automatically, show ing that the driver and ports for the CP-1 18U Series board hav e been rem oved. Windows 95/98 In this section, we descri be the installation proce dure for W indows 98.
CP-118U User’s Manual Software Installation 3-27 1. After plugging the board into an expansion slo t and powering on your PC, W indows 98 will automatically d etect the new bo ard, and display the Found N ew Hardware window . When the Add New Hardware Wi zard window opens, cli ck on Ne xt to continue.
CP-118U User’s Manual Software Installation 3-28 3. Select Other Devices and then click on Next to procee d. 4. Click on Have Dis k . 5. Use the Br owse button to navigate to the CP-1 18USoftwar eW in9xWi ndows.95 fold er on the Documentatio n and Software CD, and then click on OK .
CP-118U User’s Manual Software Installation 3-29 6. Click on CP-1 18U Series [8-23-2004] to highlight it, and then click on Next . 7. V erify that the CP-1 18U Series driver will be installed, and then click on Next .
CP-118U User’s Manual Software Installation 3-30 8. Basic configuration information will be displayed in the CP-1 18U Series Installation window . Click on OK to complete the installation of the board. 9. This completes the installation of the CP-118U board.
CP-118U User’s Manual Software Installation 3-31 Configuring the Ports Follow the p rocedures gi ven below t o re-confi gure the boa rd’ s COM ports.
CP-118U User’s Manual Software Installation 3-32 3. Basic inf ormation ab out the boar d is displa yed on the General page. Click on the Port s Configuration tab to configure the board’ s serial ports. 4. Click on the port you would like to configur e to highlight it, and then click on Port S etting .
CP-118U User’s Manual Software Installation 3-33 5. Select a COM num ber for the port from the Port Number pull-down list. 6. Check the Auto Enumerating COM Number chec kbox to m ap subseque nt ports automatically . The port numbers will be assigned in sequence.
CP-118U User’s Manual Software Installation 3-34 2. Click on a MOXA CP-118U board under Moxa Smarti o/Industi o multip ort board to highlight it, and then click on Properties .
CP-118U User’s Manual Software Installation 3-35 4. Click on Next . 5. Select Display a list of all the drivers in a specifi c location, so you c an select the driver you want.
CP-118U User’s Manual Software Installation 3-36 6. In the ne xt windo w , the CP-1 18U Series option should alre ady be highl ighted. Cl ick on Have Disk… and the n navigate to t he folder t hat contains t he new dri ver file. 7. Follow the on-screen instructions to complete the driver update procedu re.
CP-118U User’s Manual Software Installation 3-37 Removing the Driver This section e xplains how t o remove the CP-1 18U driver . 1. Open the Control Panel , double click on the Add/Remove Pr ograms icon, and then select the Install/Uninstall tab. 2.
CP-118U User’s Manual Software Installation 3-38 Windows NT W indows NT supports up to 256 serial ports, from COM1 to COM256. T o utilize fully W indows NT’ s multi-pr ocess and multi-thread advanced f eatur es, pure 32-bit W indows NT device drivers were develo ped for the CP-1 18U boards and other MOX A multiport b oards.
CP-118U User’s Manual Software Installation 3-39 6. Select MOXA Smartio/Industio Family multipo rt board in the Select OEM Option window , and then click on OK to start installing the driver . 7. The Moxa Smarti o/Industio Configuration Panel window appears.
CP-118U User’s Manual Software Installation 3-40 1. Open the Control Panel , click on the Ne twork icon, and then select the Adapters tab. Click on MOXA Smartio/Industio Family Adapter to highligh t it, and then click on Propertie s . 2. Select the boa rd whose ports you wish to confi gure to hi ghlight it, an d then clic k on Proper ty .
CP-118U User’s Manual Software Installation 3-41 4. Select a COM num ber for the port from the Port Number pull-down list. 5. Check the Auto Enumerating COM Number chec kbox to m ap subseque nt ports automatically . The port numbers will be assigned in sequence.
CP-118U User’s Manual Software Installation 3-42 8. Click on OK to save the settings, and th en click on OK in the Proper ty window to complete the port settings and return to the MOXA Smartio/Indus tio Conf iguration Pan el window . The just configured CP-118U board will be listed, as shown below .
CP-118U User’s Manual Software Installation 3-43 NOTE The driver configuration will NOT take effect until you restart the PC. Using Event Log Once the system restarts, you m ay check the event log recorde d by th e MOXA dr iver to veri fy that the board’ s ports have b een initialized successfully .
CP-118U User’s Manual Software Installation 3-44 Removing the Driver T o remove the CP-1 18U driver: 1. Open the Control Panel , click on the Ne twork icon, and select the Adapters tab. 2. Click on MOXA Smartio/Ind ustio Family Adapter in the Network Ada pters list to highlight it.
CP-118U User’s Manual Software Installation 3-45 Non-Windows Drivers Drivers are provid ed for DOS, Linux, and SCO. DOS MOXA DOS API-232 is a software pac kage that assists us ers in develo ping new program s, or debugging exi sting pr ograms for se rial comm unications.
CP-118U User’s Manual Software Installation 3-46 Setting up the Driver This section c overs som e of the setup program ’ s most frequently use d functi ons. For com plete details, press F1 to open the on -line help file. 1. Run BIN SETU P . EXE . 2.
CP-118U User’s Manual Software Installation 3-47 4. Y ou may ent er or modi fy the setti ngs of each port at this stage. The values display ed first are the port’ s initial v alues that were set up when the driver was installed . 5. Press F10 to save the changes and exit the SETUP program.
CP-118U User’s Manual Software Installation 3-48 F5 Group Edit This is a convenient function that allo ws you to edit the configuration of several ports at one time as a group. Loading the Driver After completing the setup procedure, run BINDP-DR V .
CP-118U User’s Manual Software Installation 3-49 Execute the fol lowing c ommands f rom the Li nux prom pt: 1. #mount /dev/cdrom /mnt/cdrom #cd / #mkdir moxa 2. #cd moxa #cp /mnt/cdrom/<driver directory>/mxser.tgz . 3. #tar xvfz mxser.tgz 4. #cd mxser #make clean; make install 5.
CP-118U User’s Manual Software Installation 3-50 SCO MOXA provides drivers that allow you to use the follow ing serial board produ cts under Linux. ! Universal PCI Boards: CP-118U, CP-16 8U, CP-104U.
CP-118U User’s Manual Software Installation 3-51 5. The Basic C onfig urat ion window will open nex t. Y ou can install up to four MOXA Sm artio Multiport Serial Bo ards under SCO Unix/SCO Open Server . MOXA Smartio Family Installation Utility (V er 1.
CP-118U User’s Manual Software Installation 3-52 8. Press Enter to return to the main screen. Smartio Family Installation Utility (V er 1.6) Smartio Family Basic Configuration Board No.
4 4 Chapter 4 Serial Programming Tools Moxa provide s an easy t o use yet po werful seri al program ming library , and communicati on troubleshooting utilities under W indows 2000/XP/ 2003, W indows 95/98, and W indows NT . The following sections give details about the installation, the library , and the utilities for various platforms.
CP-118U User’s Manual Serial Programming Tools 4-2 MOXA PComm PComm, a pro fessional serial comm tool f or PCs, is a software packa ge that runs under W indows NT/2000/ XP/2003/95/ 98. PCom m provi des: ! A powerf ul serial comm unication l ibrary that simplifie s serial program ming tasks for most popular pr ogramm ing languages.
CP-118U User’s Manual Serial Programming Tools 4-3 Utilities In this section, we give brief descriptions of each utility . For more information about these utilities, read the on-line help from the Document ation and S oftware CD.
CP-118U User’s Manual Serial Programming Tools 4-4 Monitor (for Moxa boards under Windows NT/2000/XP/2003) This useful port status m onitoring pr ogram all ows you to moni tor data t ransmission of selected Moxa COM ports.
CP-118U User’s Manual Serial Programming Tools 4-5 Terminal Emulator Use T erminal Emulator to connect to your PC’ s serial ports to check if data is being transmitted correctly . T erminal Emulator features multi-wind ows, and supports VT100 and ANSI terminal types.
CP-118U User’s Manual Serial Programming Tools 4-6 ADDC™ ADDC™ is the best method for switchi ng between transm ission and receivi ng when using 2-wire RS-485.
5 5 Chapter 5 Pin Assignments The CP-1 18U board has a fe male DB62 co nnector on t he board, wi th various co nnection opt ions available for c onnecting fr om the boar d to your seri al devices.
CP-118U User’s Manual Pin Assignments 5-2 Board Side Pin Assignments—Female DB62 1 22 21 42 62 43 GND GND GND GND GND GND Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Port 7 Port 8 RS-232 Port Number.
CP-118U User’s Manual Pin Assignments 5-3 2-wire RS-485 Port Number Signal 0 1 2 3 4 5 6 7 Dat a+(B) 1 25 6 30 33 14 38 41 Dat a-(A) 2 26 7 31 34 15 39 42 GND 32, 40, 45, 50, 55 , 58 Pin Number Devi.
CP-118U User’s Manual Pin Assignments 5-4 Male DB25 (Opt8B/C) 1 13 14 25 Pin RS-232 RS-422 / 4-w ire RS- 485 2-wire RS-485 2 TxD RxD+(B) Data+(B) 3 RxD TxD+(B) --- 4 RTS --- --- 5 CTS --- --- 6 DSR .
CP-118U User’s Manual Pin Assignments 5-5 RJ45 (Opt8-RJ45) 18 Pin RS-232 RS-422 / 4-w ire RS- 485 2-wire RS-485 1 DSR --- --- 2 RTS --- --- 3 GN D GND GND 4 TxD RxD+(B) Data+(B) 5 RxD TxD+(B) --- 6 .
.
6 6 Chapter 6 Troubleshooting Common CP-1 18U Series problems and possible solutions are listed below . If you still have problems after reading this chapter , contact your dealer or Moxa for hel p, or use the P roblem Report Form at the end of this manual to report problems to your dealer .
CP-118U User’s Manual Troubleshooting 6-2 Windows NT This section is specifically for troubleshooting problems for W indows NT . For general problems and solutions, see the previous section, “ General T roubleshooting.
A A Appendix A Technical Reference Product Specifications Bus interface 32-bit PCI Number of por ts 8 I/O address Assigned by PCI BIOS IRQ Assigned by PC I BIOS Data bits 5, 6, 7, 8 St op bits 1, 1.5, 2 Parity none, even, odd, space, m ark Flow Control R TS/CTS, XON/XOFF UAR T Moxa UAR T (16C550C or com patible) Speed 50 bps to 921.
CP-118U User’s Manual Technical Reference A-2 PCI The 32-bit CP-118U Series board complies with PCI Specificati ons 2.1, and t he IRQ a nd I/O address hardware configuration is auto matically assigned by the PCI BIOS. This means that you must plug i n the board bef ore installi ng the driver .
B B Appendix B Service Information This appen dix shows y ou how to co ntact Moxa for inform ation abo ut this and other pro ducts, and how to repo rt problems.
CP-118U User’s Manual Service Information B-2 MOXA Internet Services Customer satisfaction is our num b er one concern, and to ensure that customers receive the full benefit of ou r products, Moxa Internet Services has bee n set up to provide technical s upport, dri ver updates, product infor mation, and user ’ s manual updates.
CP-118U User’s Manual Service Information B-3 Problem Report Form MOXA CP-1 18U Series Customer name: Comp any: T el: Fax: Email: Date: 1. Moxa Product: $ CP-1 18U 2. Serial Number: ___________ ______ Problem Desc ription: Please describe the sym ptoms of the pr oblem as clearly as possi ble, including any error messages you see.
CP-118U User’s Manual Service Information B-4 Product Return Procedure For product repair , exchange, or ref und, the custom er must: % Provide evide nce of origi nal purchase. % Obtain a Product Return Agreement (PRA) from the sales representative or dealer.
An important point after buying a device Moxa Technologies CP-118U (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-118U 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-118U - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Moxa Technologies CP-118U 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-118U will certainly help you make a decision on the purchase.
If you already are a holder of Moxa Technologies CP-118U, 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-118U.
However, one of the most important roles played by the user manual is to help in solving problems with Moxa Technologies CP-118U. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Moxa Technologies CP-118U 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