Manuel d'utilisation / d'entretien du produit CP-168U du fabricant Moxa Technologies
Aller à la page of 86
Smartio CP-168U User’s Manual Smartio 8-Port RS-232 Serial Board for Universal PCI Bus Third Edition, December 2004.
.
Smartio CP-168U User’s Manual The product described in this m anual is furnished under a li cense agreement and ma y be used only in accordance with the terms of that agreem ent. 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 updat es, product information, and user’s m anual updates.
.
Table of Contents 1 Introductio n .......................................................................... 1-2 Overview ------------------------------------------------------------------------------.
1-2 Smartio CP-168U User’s Manual 1 1 Introduction Overview Smartio—The Smart Multiport Async Solution The term Smartio stands for smart multiport serial I/O solution. The Smartio CP-168U board is designed for the 32-bit PCI bus wi th Plug and Play feature.
Introduction Smartio CP-168U User’s Manual 1-3 PCI Solution The CP-168U board complie s with PCI Spec. 2.1, and does not use either switches or jumpers. The hardware configuration for t he IRQ and memory addresses is automatically assigned by the PCI BIOS.
1-4 Smartio CP-168U User’s Manual Features The Smartio CP -168U board has 8 RS-232 ports, embedded ESD 15 KV surge protect ion, and uses a Moxa UART (MU860), and has the followi ng important features: ! Supports universal PCI, plug and pl ay (no switches or jum pers) ! Fits both 3.
Introduction Smartio CP-168U User’s Manual 1-5 Package Checklist You should find the following i tems in the Sm artio CP-168U board package: ! Smartio C P-168U 8-port serial board ! Documentat ion and Software CD that contains dri vers for Windows 2000/XP/2003, Windows NT, Windows 95/98, DOS, FreeBSD, SCO, and Linux.
1-6 Smartio CP-168U User’s Manual 136.9 × 100 mm (5.39 × 3.94 in) (CP-168U v1).
Introduction Smartio CP-168U User’s Manual 1-7 Installation Guide This section gives a brief summa ry of how to install the Smartio CP-168U board under each supported operating system . The installati on is simple and invol ves the following stages: Check the PCI BIOS settings.
.
2 2 Hardware Installation The installation of t he Smartio CP-168U boa rd invol ves both hardware and software. 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-168U board’s IRQ num ber and I/O addresses are assigned automati cally by the PCI BIOS.
2-2 Smartio CP-168U User’s Manual Note! Moxa Universal PCI or PCI boards must occupy one unique IRQ and I/O addresses, which are assigned automatically by the PCI BIOS. Step 8: Proceed with the software installation, as described in the next chapter, “Software Installation”.
3 3 Software Installation In this chapter, the driver software i nstallation, configurati on, and driver 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-168U User’s Manual Installing the Driver 1. After installing the UPCI/PCI board and powering on your PC, Windows 2003 will auto detect and find the UPCI/P CI board you just added. The Found New Hardware window will open at the bottom ri ght corner of the desktop.
Software Installation Smartio CP-168U User’s Manual 3-3 4. Wait while the instal lation wizard searches. The next window that opens caut ions you that although this soft ware hasn’t passed Windows Logo testing, this driver has already been tested and been shown that it can support Windows OS.
3-4 Smartio CP-168U User’s Manual 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.
Software Installation Smartio CP-168U User’s Manual 3-5 8. Wait while the instal lation wizard searches. The next window that opens caut ions you that although this soft ware hasn’t passed Windows Logo testing, this driver has already been tested and been shown that it can support Windows OS.
3-6 Smartio CP-168U User’s Manual 10. Repeat steps 6 to 9, u ntil the port dr iver installation for every p ort is completed. How to Check the Installation There are three ways to check the installat ion of the CP-168U Series board. Using Device Manager 1.
Software Installation Smartio CP-168U User’s Manual 3-7 4. If there are any special marks, such as a ques tion m ark or an exclamat ion mark in front of the icons, the installat ion of the board or the ports was not successful. Exam ine the Event Log for details.
3-8 Smartio CP-168U User’s Manual 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 conti nuous COM numbers. For exam ple, if COM 3 is assigned t o Port 1, then COM 4 will be automatically assigned to Port 2.
Software Installation Smartio CP-168U 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 Hi gh to Low are available, with a default value is High Level (120 bytes). Check Set the change to all ports check-box to apply the just defined Rx FIFO Trigger to all ports.
3-10 Smartio CP-168U User’s Manual 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 inform ation relevant to M OXA’s drivers under System category.
Software Installation Smartio CP-168U User’s Manual 3-11 and Play devices. 2. Click on Next t o continue. 3. Select Search for a suitable driver… and then click on Next to continue. 4. Select Specify a location and then click on Next to continue. and Play devices.
3-12 Smartio CP-168U User’s Manual 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 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-168U User’s Manual 3-13 7. W ait while the installation wizard search es. The next window that opens cautions y ou that although this software hasn’ t passed W indows Logo testing, t his driver has already been tested a nd been shown that it can support W indows OS.
3-14 Smartio CP-168U User’s Manual 9. The next W elcome to the Found New Hardware W izard window to open start s the port installation stage. Click on Next to continue. 10. Select Search for a suitable driver for my device [recommended] , and then cl ick on Next to continue.
Software Installation Smartio CP-168U User’s Manual 3-15 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). Click OK to continue.
3-16 Smartio CP-168U User’s Manual 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.
Software Installation Smartio CP-168U User’s Manual 3-17 How to Check the Installation There are three ways to check the installat ion of the CP-168U Series board.
3-18 Smartio CP-168U User’s Manual If the driver installation was su ccessful, you will be able to see th e model number of the CP-168U board liste d 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-168U User’s Manual 3-19 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 conti nuous COM numbers. For exam ple, if COM 3 is assigned t o Port 1, then COM 4 will be automatically assigned to Port 2.
3-20 Smartio CP-168U User’s Manual 4. Select an Rx FIFO Trigger from the Rx FI FO Level pull-down list. Rx FIFO trigger levels from Hi gh to Low are available, with a default value is High Level (120 bytes). Check Set the change to all ports check-box to apply the just defined Rx FIFO Trigger to all ports.
Software Installation Smartio CP-168U User’s Manual 3-21 Removing the Driver You can uninstall the board by first selecting Start " Settings " Control Panel " System .
3-22 Smartio CP-168U User’s Manual 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 Mu ltiport serial adapters, and then click the right mouse butt on. Select the Uninstall… option.
Software Installation Smartio CP-168U User’s Manual 3-23 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 port s, from COM1 to C OM128.
3-24 Smartio CP-168U User’s Manual Installing the Driver Thanks to Windows 95/98’s Plug and Play cap ability, you can easily plug the Smartio CP- 168U board into an available PCI slot, and th en get to work right away with very little installation effort.
Software Installation Smartio CP-168U User’s Manual 3-25 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.
3-26 Smartio CP-168U User’s Manual for Windows 95 or the right colum n for Windows 98. If one MOXA CP-168U board was previously instal led and another MOXA CP-168U board is plugged in, the system will prom pt you to skip this stage, and take care of Port Configuration, which i s discussed in the next section.
Software Installation Smartio CP-168U User’s Manual 3-27 3. Type SoftwareWin9x 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 on [ Next ].
3-28 Smartio CP-168U User’s Manual Board and Port Ready Board and Port Ready for Windows 95 and Windows 98 are slight ly different. In finishi ng this stage, the driver in stallation will be complete.
Software Installation Smartio CP-168U User’s Manual 3-29 “Serial Programm ing Tools”), a PComm utility, or HyperTermi nal, to transmit/receive data, as well as Remote Access Service to provide dial-up n etworking capabilities.
3-30 Smartio CP-168U User’s Manual 2. Click on the desired C P-168U board, and then click on [ Properties ]. 3. Select the [ Ports Configuration ] tab, click on t he 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.
Software Installation Smartio CP-168U User’s Manual 3-31 the change to all ports check-box to apply the just defined Tx FIFO Size t o all ports. CP-168U v2 CP-168U 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 7.
3-32 Smartio CP-168U User’s Manual 3. Select the [ Driver ] tab, and cli ck 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.
Software Installation Smartio CP-168U User’s Manual 3-33 3. Click [ Yes ] in the following m essage box to confirm that y ou want to remove the driver. 4. Click [ OK ] in the Add/Rem ove Programs Properties dial og box. Windows NT Windows NT supports up to 256 serial ports, from COM1 to COM256.
3-34 Smartio CP-168U User’s Manual ! 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.
Software Installation Smartio CP-168U User’s Manual 3-35.
3-36 Smartio CP-168U User’s Manual 6. Select MOXA Smartio/Industio Family multiport board in Select OEM Option dialog box, and then click [ OK ] to start installing th e driver.
Software Installation Smartio CP-168U User’s Manual 3-37 8. Select the just install ed CP-168U board from the Board Type pull-down l ist, 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.
3-38 Smartio CP-168U User’s Manual 13. Click OK in the Port X dialog box to confir m 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.
Software Installation Smartio CP-168U User’s Manual 3-39 Once the board and the driver are installed and the driver restarts su ccessfully, you can start to develop applications wi th the PComm library (see “ Serial Programming Tools ”) or the Microsoft Win32 API.
3-40 Smartio CP-168U User’s Manual 3. Click on [ Property ] from the MOXA Sm artio/Industio Configuration Panel to open the Property window. 4. Next, refer to the instructions gi ven in the previous section, “ First Time Driver Installation ” from the “ Windows NT ” section.
Software Installation Smartio CP-168U User’s Manual 3-41 4. Next, refer to the instructions from the “ First Time Driver Installation ” subsect ion. Removing an Existing CP-168U Board Configuration First shut down your PC, and t hen physically rem ove the CP-168U board from the PCI or PCI-X slot.
3-42 Smartio CP-168U User’s Manual 4. Click the [ Close ] button in the Network dialog box. 5. Restart the system. 6. Refer to the instructions g iven in the “ First Time Driver Installation ” section to install the new driver. Removing the Driver To remove the Sm artio CP-168U board driver: 1.
Software Installation Smartio CP-168U User’s Manual 3-43 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 th e package, how to set up the driver, and how to load or unload t he driver.
3-44 Smartio CP-168U User’s Manual 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 recom mended that y ou press Y to run this SETUP.EXE file. Setting up the Driver The following steps are set 1 using CP-134U Seri es as an example.
Software Installation Smartio CP-168U User’s Manual 3-45 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 se ttings, including port number, flow control, etc. You can enter/modify each port’s settings now.
3-46 Smartio CP-168U User’s Manual NOTE Up to now you have comple ted the configuration for CP-134U Seri es board. You might skip thi s step and go directly to step 4 i f you need not change any setting or confi gure any board. 4. Press F10 to save the modificat ions and exit the SETUP program.
Software Installation Smartio CP-168U User’s Manual 3-47 RxD buffer size The receiving (input) buffer allocated in the system for each port. F5 Group Edit This is a convenient functi on that helps you ed it the configurati on of several ports at one time as a group.
3-48 Smartio CP-168U User’s Manual Unloading the Driver To unload (release) the driver from memory, t ype DP-DRV/Q at the DOS prompt . Linux The Linux driver for MOXA’s multiport seri al boards su.
Software Installation Smartio CP-168U User’s Manual 3-49 5. You can use Moxa diagnostic utility to verify the driver status. # cd /moxa/mxser/utility/diag # ./msdiag == MOXA Smartio/Industio Family Multiport Board Status Utility(1.1) == Tty Device Major Number= 30.
3-50 Smartio CP-168U User’s Manual are similar as SCO OpenServer . 1. Copy the driver file .tar to your host. 2. #tar xvf <driver tar file > /tmp/ moxa/m xintall /tmp/ moxa/sco.tar 3. # cd/tmp/mxinstall # ./mxinstall 4. The window shown below will open next .
Software Installation Smartio CP-168U User’s Manual 3-51 PgDn: getty Setting Esc: Exit Enter: Confirm Input Value Tab: Change Item 6. Press Enter to select the MOXA Multiport Serial Board you installed. For example, select “CP-168U”, and press Enter .
3-52 Smartio CP-168U User’s Manual PgDn: getty Setting Esc: Exit Enter: Confirm Input Value Tab: Change Item 9. Press Esc to save the configuration and exit. Save configuration changes? (Y/N) 10. The driver files will be copied to the SCO system. Press any key to continue.
Software Installation Smartio CP-168U User’s Manual 3-53 13. After the system is rebuilt, the system will return to shell command. You can use MOXA Smartio Multiport Serial Board now. ----------------------------------------[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 troubleshooti ng utilities under Windows NT/2000/XP/2003 and Windows 95/98. Use these MOXA Serial Programm ing Tool s to decrease your software development time.
4-2 Smartio CP-168U User’s Manual hence remarkably reduces devel opment tim e. This serial com munication li brary provides a complete funct ion library and sampl e programs for Visual C++, Vi sual Basic, and Bor l an d De l ph i .
Serial Programming Tools Smartio CP-168U User’s Manual 4-3 Monitor (for MOXA boards under Windows NT/2000/XP/2003) A useful port status m onitoring program al lows you to monit or data transmission of selected MOXA COM ports.
4-4 Smartio CP-168U User’s Manual Terminal Emulator Terminal Em ulator can be used to connect to various ports to see i f data transmission is functioning correctly. Terminal Em ulator features multi-wi ndows, and supports VT100 and ANSI terminal types.
5 5 Connection Cables and Cable Wiring In this chapter, we illustra te the possible connections a nd cable wiring for the CP-168U boards. In serial data com munications, DTE stands for Data Term inal Equipment, such as a PC’s COM1/2, serial printers, and t erminals, and DCE stands for Dat a Comm unication Equipment, such as m odems.
5-2 Smartio CP-168U User’s Manual DB-9/M Pin Assignment (Opt8-M9, Opt8D) DB-25/M Pin Assignment (Opt8B/C) MODE PIN RS232 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS MODE PIN RS-232 2 TxD 3 RxD 4.
Connection Cables and Cable Wiring Smartio CP-168U User’s Manual 5-3 DB-25/F Pin Assignment (Opt8A/S) RJ45 Pin Assignment (Opt8-RJ45) MODE PIN RS-232 2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 8 DCD 20 DSR.
5-4 Smartio CP-168U User’s Manual DB-25/F Pin Assignment (Opt8F/Z) DB-25/F Pin Assignment (Opt8K) MODE PIN RS-422 2 RxD+(B) 3 TxD+(B) 7 GND 14 RxD-(A) 16 TxD-(A) MODE PIN RS-422/4-wire RS-485 2-wire.
6 6 Troubleshooting Comm on Smartio CP-168U board errors and possi ble corresponding solutions are given below. If the problem still cannot be solved af ter following these sugge stions, contact your .
6-2 Smartio CP-168U User’s Manual A. Smartio CP-168U board will ch eck the line status (CTS) before transmitting data if the RTS/CTS flow control featur e is set to Enable in the con figuration o r application program .
Troubleshooting Smartio CP-168U User’s Manual 6-3 and solutions, see the section, “General Troubl eshooting.” 1. The system fails to find the Smartio CP-168U board! C. The board(s) is (are) not properly plugged int o the PCI slot. D. The PCI slot is defective.
.
A A A. Technical Reference Specifications • Bus interface: 32-bit PCI • Number of ports: 8 • I/O address: Assigned by PCI BIOS • 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 compatible) • Speed: 50 bps to 921.
A-2 Smartio CP-168U User’s Manual identifying the respecti ve PCI slots, whereas some use 11, 12, 13 and 14. Due to this slot-depend ency, it is necessary to re-configu re the software driver on ce the board is plugged into a different PC I slot. Up to 4 Smartio CP-168U boards can be installe d in one system .
Return Procedure For product repair, exchange, or refund, you m ust: ! Provide evidence of original purchase. ! Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time. ! Obtain a Return Me rchandise Authorization (RMA) num ber from the sales representative or dealer.
Revision History Document Edit ion Revision Date Revision Detai ls 2 nd July 8, 2004 1. Updated th e edition of th is manual on the title page. 2. Changed the new Moxa logo on the title page. 3. Chapter 3: Added software installat ion procedures under Windows 2003, DOS, Linux, and SCO.
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-168U 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-168U - 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-168U, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Moxa Technologies CP-168U va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Moxa Technologies CP-168U, 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-168U.
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-168U. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Moxa Technologies CP-168U 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.