Manuel d'utilisation / d'entretien du produit CP-104UL du fabricant Moxa Technologies
Aller à la page of 69
CP-104UL User ’ s Manual Smartio 4-Port Serial Board for Universal PCI Bus Third 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.
.
Smartio CP-104UL User’s Manual The product described in this manual is furnished under a license agreem ent and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright 2004 M oxa Technologies Co., Ltd. All rights reserved.
.
MOXA Internet Services Customer satisfaction is our number one concern. To en sure 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 m anual updates.
.
Table of Contents 1 Introductio n................................................................................. 1-2 Overview ....................................................................................................................... ...
1-2 Smartio CP-104UL User’s Manual 1 1 Introduction Overview Smartio—The Smart Multiport Async Solution The term Smartio stands for smart multiport seria l I/O solution. The Smart io CP-104UL Board is designed for the 32-bit PCI bus wit h Plug and Play feature.
Introduction Smartio CP-104UL User’s Manual 1-3 conditions, such as light ning, or other high interference situati ons. Operating System Support The CP-104UL board supports Windows 2000/XP/2003, Windows NT, Windows 95/98, DOS, FreeBSD, SCO, and Linux.
1-4 Smartio CP-104UL User’s Manual Package Checklist You should find the following i tems in the Sm artio CP-104UL board package: ! Smartio C P-104UL 4-port serial board ! Documentat ion and Software CD that contains drivers for Windows 2000/XP/ 2003, Windows NT, Windows 95/98, DOS, FreeBSD, SCO, and Linux.
Introduction Smartio CP-104UL User’s Manual 1-5 Installation Guide This section gives a brief summ ary of how to install the Smartio CP-104UL board under each supported operating system . The installation is simple and involves the foll owing stages: Check the PCI BIOS settings.
.
2 2 Hardware Installation The installation of t he Smartio CP-104UL board involves both hardware a nd soft ware. Software installation is discussed in th e next chapter. In this chapter, we d iscuss hardware installation. The no-switch-no-jumper Sm artio CP-104UL board’s IRQ num ber and I/O addresses are assigned automatically by the PCI BIOS.
.
3 3 Software Installation In this chapter, the driver software i nstallation, configuration, and dri ver update/removal procedures are described for various operating system s, including Windows 2003, Windows 2000/XP, Windows NT, Windows 95/98, DOS, SCO, and Linux.
3-2 Smartio CP-104UL User’s Manual 2. The Welcome to the Found New Hardware Wizard window will open automatically. Select Install from a list or specific l ocation (Advanced) and click on Next to continue. 3. Select Search for the best driver in these locations.
Software Installation Smartio CP-104UL User’s Manual 3-3 4. Wait while the install ation wizard searches. The next window that opens cautions y ou that although this software hasn’t passed Windows Logo te sting, this driver has already been test ed and been shown that it can support Windows OS.
3-4 Smartio CP-104UL User’s Manual 6. The Found New Hardware Wizard window will open to help y ou install the driver for MOXA Port 0 . Select Install from a list or specific location (Advanced) . Cl ick on Next to continue. 7. Select Search for the best driver in these locations.
Software Installation Smartio CP-104UL User’s Manual 3-5 8. Wait while the install ation wizard searches. The next window that opens cautions y ou that although this software hasn’t passed Windows Logo te sting, this driver has already been test ed and been shown that it can support Windows OS.
3-6 Smartio CP-104UL User’s Manual How to Check the Installation There are three ways to check the installat ion of the CP-168U Series board. Using Device Manager 1. Use your mouse to posi tion the cursor over your desktop’s My computer icon, click the ri ght mouse button, and then sel ect Properties .
Software Installation Smartio CP-104UL User’s Manual 3-7 1. Click on a specific port from the CP-168U Series Installati on window, and then click on [ Port Setting ] to open the Port X dialog box. 2. Select a COM number for the port from the Port Number pull-down list.
3-8 Smartio CP-104UL User’s Manual CP-104UL v2 CP-104UL v1 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 6. 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.
Software Installation Smartio CP-104UL User’s Manual 3-9 Installing the Driver The following procedure shows how to install the CP-168U driver for the first tim e under Windows 2000 and Windows XP. First make sure the board or boards have already been plugged into the system’s PCI or PCI-X slot(s).
3-10 Smartio CP-104UL User’s Manual 5. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as Softwar eWin2K-XP-2003 as shown below (change the dr ive letter if needed). Click OK to continue. 6. Click Next to copy the dr iver files to your system.
Software Installation Smartio CP-104UL User’s Manual 3-11 8. The next window shows the m odel number of the board, and indicates that W indows has completed the driver installatio n. Click on Finish to continue with th e rest of the installation procedure.
3-12 Smartio CP-104UL User’s Manual device [recommended] , and then cl ick on Next to continue. 11. Select Specify a location and then click on Next to continue. 12. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as Softwar eWin2K-XP-2003 as shown below (change the dr ive letter , if needed).
Software Installation Smartio CP-104UL User’s Manual 3-13 14. After all files have been copied to th e system, the Completing the Found New Hardware Wiz ar d window will open to indicate that it has finished installi ng “Port 0.” Click on Finish to install the board’ s second port.
3-14 Smartio CP-104UL User’s Manual If the driver installation was successful, you will be able to see the model num ber of the CP-168U board listed under Multi-port serial adapters . You may also expand t he Ports (COM & LPT) item to check the status of the COM ports.
Software Installation Smartio CP-104UL User’s Manual 3-15 added, the system will prompt you to take care o f port conf iguration, which is discussed in this section. 1. Click on a specific port from the CP-168U Series Installati on window, and then click on [ Port Setting ] to open the Port X dialog box.
3-16 Smartio CP-104UL User’s Manual CP-104UL v2 CP-104UL v1 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 6. Click [OK] in the Port X dial og box to confirm the port settings, and then click [OK] in the Property dialog box to complete the port settings.
Software Installation Smartio CP-104UL User’s Manual 3-17 Select the Hardware tab, and then clic k on Device Manager . Use the mouse to place the cursor over the CP-168U Series board under Multiport seri al adapters, and then click the right mouse button.
3-18 Smartio CP-104UL User’s Manual Window s 2000 Window s XP The Device Manager window will automatically refresh to s how 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 port s, from COM1 to COM 128.
Software Installation Smartio CP-104UL User’s Manual 3-19 Installing the Driver Thanks to Windows 95/98’s Plug and Play capab ility, you can easily plug the Smartio CP-168U board into an availab le PCI slot, and then get to work right away with very little installation effo rt.
3-20 Smartio CP-104UL User’s Manual 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.
Software Installation Smartio CP-104UL User’s Manual 3-21 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 t he Next button to proceed.
3-22 Smartio CP-104UL User’s Manual 3. Type E:SoftwareWin9xWindows.95 in t he 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 on [ Next ].
Software Installation Smartio CP-104UL User’s Manual 3-23 6. Click on [ Next ]. 7. Click on [ Next ]. Board and Port Ready Board and Port Ready for Windows 95 and Windows 98 are slight ly different. In finishing thi s stage, the driver installatio n will be complete.
3-24 Smartio CP-104UL User’s Manual NOTE If an error message sim ilar to “CP-168U board(BusNo=x, DevNo=x, Port1=COM x) interrupt number is inval id!” pops up, refer to th e “Troubleshooting” chapter for soluti ons.
Software Installation Smartio CP-104UL User’s Manual 3-25 2. Click on the desired C P-168U board, and then click on [Properties]. 3. Select the [Ports Configurat ion] tab, click on the specifi c port, and then click on the [Port Setting] butt on. 4.
3-26 Smartio CP-104UL User’s Manual 7. To complete the update, click [OK] in the Port X di alog box, click [OK] in the CP-168U board Properties dialog box, and then cl ick [OK] on the Device Manager tab. 8. Restart the system to activate the latest configu ration.
Software Installation Smartio CP-104UL User’s Manual 3-27 3. Select the [Driver] tab, a nd click on [Update Driver...]. 4. Click on [Have Disk...] and type the path of the new driver. 5. Insert the driver CD into th e CD-ROM drive, and then click [OK] in the Install from Disk window.
3-28 Smartio CP-104UL User’s Manual 3. Click [Yes] i n the following message box to confirm that you want to rem ove the driver. 4. Click [OK] i n the Add/Remove Program s Properties dialog box. Windows NT Windows NT supports up to 256 serial ports, fro m COM1 to COM256.
Software Installation Smartio CP-104UL User’s Manual 3-29 Installing the Driver First Time Driver Installation The following procedure shows how to install the Smartio CP-168U driver for the first time. First make sure the board or boards are already pl ugged into the system’s PCI slot (s).
3-30 Smartio CP-104UL User’s Manual 8. Select the just instal led CP-168U board from the Board Type pul l-down list, click on a specific port item , and then click on the [Port Sett ing] button to open the Port X window. 9. Select a COM num ber for the specific port from Port Num ber pull-down list.
Software Installation Smartio CP-104UL User’s Manual 3-31 13. Click [OK] in the Port X dial og box to confirm the port settings, and then click [OK] in the Property dialog box to complete the port setti ngs and return to the MOXA Smartio/Industio Configuration Panel di alog box.
3-32 Smartio CP-104UL User’s Manual " [MOXA Utility] " [MOXA Smarti o/Industio Configuration Panel] " [Propert y], and then refer to the instructions in the previous section , “ First Time Driver Installation .” 1. Open the [ Control Panel] , click on the [ Network] icon, and select t he [ Adapters ] tab.
Software Installation Smartio CP-104UL User’s Manual 3-33 Configuring Another CP-168U Board In this section, we explain how t o configure another MOXA CP-168U board that is already installed. Up to four CP-168U boards can be i nstalled in one system under Windows NT, provided sufficient system resources are available.
3-34 Smartio CP-104UL User’s Manual 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 Sm artio/Industio Fami ly Adapter from the Net work Adapter list.
Software Installation Smartio CP-104UL User’s Manual 3-35 DOS MOXA DOS API-232 is a software package that assist s users to develop and/or debug programs for serial communications. This section will show you how to install the p ackage, how to set up the driver, and how to load or unload the driver.
3-36 Smartio CP-104UL User’s Manual 2. After the installation is complete, a message wi ndow will open to ask if you want to run the SETUP.EXE file. It is strongly recom mended that you press Y to run this SETUP.EXE file. Setting up the Driver The following steps are using CP-134U Series as an exam ple.
Software Installation Smartio CP-104UL User’s Manual 3-37 2. Press Enter to select the proper model name, in this case, CP-134U Series. 3. Press PgDn to configure the CP-134U’s port settings , including port number, flow control, etc. You can enter/modify each port’s settings now.
3-38 Smartio CP-104UL User’s Manual NOTE Up to now you have comple ted the configuration for CP-134U Series board. You m ight skip this step and go directly to step 4 i f you need not change any setting or configure any board. 4. Press F10 to save the modificat ions and exit the SETUP program.
Software Installation Smartio CP-104UL User’s Manual 3-39 Loading the Driver Having complet ed the setup, now you can load the driver BINDP-DRV.EXE at t he DOS prompt.
3-40 Smartio CP-104UL User’s Manual Warning: loading /lib/modules/2.4.20-8/kernel/d rivers/char/mxser.o will taint the kernel: no license See http://www.t ux.org/lkml/#export-t ainted for informati on about tainted m odules MOXA Smarti o/Industio family dri ver version 1.
Software Installation Smartio CP-104UL User’s Manual 3-41 /tmp/ moxa/mxi ntall /tmp/ moxa/sco.tar 3. # cd/tmp/mxinstall # ./mxinstall 4. The window shown below will open next . Press any key to continue. Copyright© 2004 Moxa Technol ogies Co., Ltd.
3-42 Smartio CP-104UL User’s Manual C104 PCI Series CP-104U Series CP-168U Series CP-104JU Series 7. Some basic information of this board will be shown n ext, such as I/O address, Bus No., Device No. Since you selected the PCI board y ou installed, the resource was assigned to this board by the SCO system .
Software Installation Smartio CP-104UL User’s Manual 3-43 12. The window shown below will open next. ----------------------------------------[Message]-------------------------------------------- --- Do you want to rebuild the system? (y/n) Rebuilding kernel.
.
4 4 Serial Programming Tools Moxa supports a class of easy to use, ye t powerful serial programm ing libraries and communication troubleshooting utilities under Wi ndows NT/2000/XP/2003 and Windows 95/98. Use these MOXA Serial Programm ing Tools to decrease your software development time.
4-2 Smartio CP-104UL User’s Manual external testing of IRQ, TxD/RxD, UART, CTS/ RTS, DTR/DSR, DTR/DCD, etc. It allows the user to check the function of both software and hardware. To run the Diagnostic program , click on [Start] " [Program ] " [ PComm Lite] " [Diagnostic].
Serial Programming Tools Smartio CP-104UL User’s Manual 4-3 Monitor (for MOXA boards under Windows NT/2000/XP/2003) A useful port status m onitoring program allows y ou to monitor data transm ission of selected MOXA COM ports.
4-4 Smartio CP-104UL User’s Manual Terminal Emulator Terminal Em ulator can be used to connect to various ports to see if data transmission is functioning correctly. Terminal Em ulator features multi-window s, and supports VT100 and ANSI terminal types.
5 5 Connection Cables and Cable Wiring In this chapter, we illustrate the possible conn ections and cable wiring for the CP-104UL boards. In serial data com munications, DTE stands for Data Term inal Equipment, such as a PC’s COM1/2, serial printers, and term inals, and DCE stands for Data Com munication Equipm ent, such as modem s.
5-2 Smartio CP-104UL User’s Manual DB-9/M Pin Assignment (CBL-M44M9x4-50, Opt4-M9B) D B - 2 5 / M Pin Assignment (CBL-M44M25x4-50) RJ 45 Pi n As si gn m ent (Opt4-RJ45B) MODE PIN RS232 1 DCD 2 RxD 3.
6 6 Troubleshooting Comm on Smartio CP-104UL board errors and possible correspondi ng solutions are given below. If the problem still cannot be solved after following these suggestions, contact your d.
6-2 Smartio CP-104UL User’s Manual Windows NT This section is specifi c for troubleshooting under Windows NT. For general problem s and solutions, please see the previous secti on, General Troubleshooting.
A A A. Technical Reference Specifications • Bus interface: 32-bit PCI • Number of ports: 4 • I/O address: Assigned by PCI B IOS • IRQ: Assigned by PCI BIOS • Data bits: 5, 6, 7, 8 • Stop bits: 1, 1.5, 2 • Parity: None, even, odd, space, mark • UART: Moxa UART (16C550C or com patible) • Speed: 50 bps to 921.
A-2 Smartio CP-104UL User’s Manual throughput, special features such as on-chip FIFO and on-chip hardware fl ow control are used to reduce the number of interrupt s to the onboard CPU, and to prevent loss of valuable data .
Return Procedure For product repair, exchange, or refund, you m ust: ! Provide evidence of original purchase. ! Fill out the Problem Report Form (PRF) as detaile d as possible for shorter product repair time. ! Obtain a Return Me rchandise Authorization (RMA) num ber from the sales representati ve or dealer.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Moxa Technologies CP-104UL c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Moxa Technologies CP-104UL - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Moxa Technologies CP-104UL, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Moxa Technologies CP-104UL va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Moxa Technologies CP-104UL, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Moxa Technologies CP-104UL.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Moxa Technologies CP-104UL. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Moxa Technologies CP-104UL ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.