Instruction/ maintenance manual of the product NPort 1240 Moxa Technologies
Go to page of 37
NPort 1220/1240 USB-to-Serial Hub User ’ s Manual Second Edition, January 2004 Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 www.
NPort 1220/1240 USB-to-Serial Hub User’s Manual The software described in this manual is furnished under a license agreement and may be use d only in accordance with the terms of that agreement. Copyright Notice Copyright 2004 Moxa Technologies Co.
.
Table of Contents Chapter 1 Introduction ......................................................................................1-1 Overview ....................................................... ......................................... 1-2 Package Checklist .
1 1 Chapter 1 Introduction Welcome to MOXA NP ort 1220/12 40 USB-to- Serial Hub. NPort 1220 provides 2 RS -422/48 5 serial ports and NPort 1240 prov ides 4 RS-232 serial ports.
Overview Connect a compact NPor t 1200 Series product to your co mputer—you don’t even have to power-down—install th e supplied software, and then conn ect your serial devices directly to the NPort. In minutes, and with state-of-the -art accuracy , you’re capturin g data—temperature, press ure, sound level, whatever you n eed.
Introduction Product Specifications NPort 1240 USB Compliant with USB 1.1, 1.0 USB 2.0 backwar ds compatible Connector USB type B Speed Full speed 12 Mbps Serial No.
NPort 1220 USB Compliant with USB 1.1, 1.0 USB 2.0 backwar ds compatible Connector USB type B Speed Full speed 12 Mbps Serial No. of Ports 2 Interface 4-wire RS-422: TxD+/-, RxD+/-, GND 4-wire RS-485 .
Introduction Panel Layout NPort 1240 Top Panel NPort 1220 Top Panel NPort 1240 serial interfaces NPort 1220 serial interfaces NPort 1220/1240 USB-to-Serial Hub User’s Manual 1-5.
Dimensions NPort 1240 NPort 1220 DIP Switch Settings This example sho ws DIP Switch setting s for port 1, which uses DIP Switches 1 and 2. The settings for port 2, which uses DIP Switches 3 and 4, are similar . Y ou can refer to the DIP Switch diag rams at the right, or to the table on the next p age for the correct settings.
Introduction DIP S witch No. DIP S witch Setting Interface & T ermination Resistor Setting On 4-wire RS-422/485 1 Off 2-wire RS-485 On T ermination Re sistor on 2 Off T ermination Resisto r off NP.
.
2 2 Chapter 2 Driver Installation This chapter includ es information about installin g the driver for NPort 1220/1240. We present th e installation pr ocedure for both W indows 98 and W indows 2000 (t.
Installing the Driver 1. Connect NPort 12 20/1240’s USB Port to your computer’s U SB port. Make sur e NPort 1220/1240 and your computer is properly connecte d. 2. After you connect NPor t 1220/1240 to your computer , a Found New Hardware window will automatically open.
Driver Installation 5. A window will open asking you where you want to locate the driver files. Check Specify a location box, .and then click Next . 6. A window will open asking you to insert the installation disk. Insert the installation disk into your CD drive,and t hen click Browse to locate the installation file.
7. Select klsibus.inf , and then click OPEN . 8. Click OK to continue. NPort 1220/1240 USB-to-Serial Hub User’s Manual 2-4.
Driver Installation 9. A window will open showing the Driver Files Search Results . Click Nex t to install the driver. 10. When the Completing the Found New Hardware Wizard wi ndow opens, click Finish to close the wizard.
11. A welcome message will appear. Click Next to continue installing Moxa [Port 1]. 12. A window will open asking you to insert the installation disk. Insert the installation disk into your CD drive, an d then click Browse to locate the installation file.
Driver Installation 13. A window will open showing the Driver Files Search Results . Click Next to install the driver. 14. When Completing the Found New Hardware Wizard wind ow opens, cli ck Finish to close t his wizard.
NOTE If you wish to install the driver using “Insta ll Driver” pro gram, you will need to follow the instructions below. 1. Insert the soft ware CD (incl uded i n the NPort 1220/12 40 package ) into you r computer’s C D drive, and t hen click o n Instal l Software .
Driver Installation Checking the Installation You can check th e installation of NPort 1220/1240 under your computer’ s Device M anager window. You should ch eck under bot h Ports (COM & LPT) and Universal Serial Bus controllers .
Configuring the Ports Port configuration for NPort 1220/1240 differs sligh tly between Windows 98 and Windows 2000 /XP. To modify the configu ration for a particu lar port, double click on the listing for that po rt under Port s (COM & LPT) in the Device Ma nager wind ow.
Driver Installation Windows 2000/XP The figures shown here wer e created under W indows 2000. Th e procedure for Windows XP is essentially the same. Click on the Por t Settings tab to change the Bits per second (data transmission speed), Da ta bits , Parity , Stop bits , a nd Flow control .
Uninstalling the Driver To uninstall the driver, op en the Device Manger win dow, and simply del ete the NPort 1 220/124 0 ports under Ports (COM&LPT ).
3 3 Chapter 3 Serial Programming Tools Moxa support s a class of easy t o use, yet p owerful serial p rogrammi ng libraries an d comm unication troubleshooting utilities under Windows NT/2000/XP and Windows 95/98. Use these MOXA Serial Programmi ng Tools to decrease yo ur software developm ent time .
Overview PComm, a pro fessional serial comm tool for PCs, is a software package that ru ns under Windows NT/2000/XP and Windows 95/98 . PComm provides: A powerful serial com munication l ibrary fo r easy program ming in t he most pop ular prog ramming languages.
Serial Programming Tools Diagnostic (for MOXA boards only) A convenien t diagnostic program, ONLY for MOXA boards and por ts, provides internal and extern al testing of IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD, etc. It allows t he user to check the function of both s oftware and hardware.
Terminal Emulator Terminal Em ulator can be used to con nect to vario us ports to see if data tra nsmission i s functioni ng correctly. Terminal Emulator feat ures multi-wi ndows, and supports VT100 and ANSI terminal types.
A A Appendix A Technical Reference In this appendix, we cover the fo llowing topics. Win32 API Function Compatible List Windows 98 Windows 2000/XP General Technical Reference.
Win32 API Function Compatible List Windows 98 T est function Te s t F l a g 1. PurgeComm PURGE_TXABORT PURGE_RXABORT 2. ClearCommBreak() 3. SetCommBreak() 4. ClearCommError cbInQue cbOutQue 5. EscapeCommFunction SETDTR SETRTS SETXON SETXOFF SETBREAK,CLRBREAK 6.
Technical Reference Windows 2000/XP T est function Te s t F l a g 1. PurgeComm PURGE_TXABORT PURGE_RXABORT PURGE_TXCLEAR 2. ClearCommBreak() 3. SetCommBreak() 4. ClearCommError CE_BREAK CE_RXP ARITY CE_FRAME CE_RXOVER fCtsHold fDsrHold fXoffHold cbInQue cbOutQue 5.
1 1.SetCommT imeouts ReadIntervalT imeout ReadT otalT im eoutMultiplier ReadT otalT im eoutConstant WriteT otalT imeoutMultiplier WriteT otalT imeoutConstant 12.
B B Appendix B Service Information This appen dix shows y ou how to contact Moxa for info rmation a bout this an d other products, a nd how to report pro blems.
MOXA Internet Services Customer satisfaction is our num ber one concern, and to ensure that customers receive the full benefit of our prod ucts, Moxa Int ernet Ser vices has been set up to provi de technical su pport, dri ver updates, product inf ormation, a nd user’s m anual upda tes.
Service Information Problem Report Form MOXA NPort 1220/1240 Customer name: Comp any: T el: Fax: Email: Date: 1. Moxa Pr oduct: NPort 1220 N Port 1240 2. Serial Number: ___________ ______ Problem Desc ription: Please describe the sym ptoms of the problem as clearly as possible, including any error messages you see.
Product Return Procedure For product repair, exc hange, or refund, the custom er must: Provi de evidence o f original purc hase. Obtain a Product Return Agreement (PRA) from the sales representative or dealer. Fill out the Problem Report Form (PRF).
Service Information NPort 1220/1240 USB-to-Serial Hub User’s Manual B-5 Revision History Document Edition Revision Date Revision Details 2 nd January 27, 2004 1. Update the edition of th is manual on the title page. 2. Change the contact phone number on the title p age.
An important point after buying a device Moxa Technologies NPort 1240 (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 NPort 1240 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 NPort 1240 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Moxa Technologies NPort 1240 you will learn all the available features of the product, as well as information on its operation. The information that you get Moxa Technologies NPort 1240 will certainly help you make a decision on the purchase.
If you already are a holder of Moxa Technologies NPort 1240, 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 NPort 1240.
However, one of the most important roles played by the user manual is to help in solving problems with Moxa Technologies NPort 1240. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Moxa Technologies NPort 1240 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