Instruction/ maintenance manual of the product 1240 Moxa Technologies
Go to page of 34
NPort 1220/1240 USB-to-Serial Hub User ’ s Manual Third Edition, November 2005 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 World wide: support@moxa.com.tw The Americas support@ moxa.
NPort 1220/1240 USB-to-Serial Hub 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.
Table of Contents Chapter 1 Introduction ..................................................................................... 1-1 Overview ....................................................... .......................................... 1-2 Package Checklist .
1 1 Chapter 1 Introduction Welcome to MOX A NP o rt 1220/124 0 USB -t o-Serial Hu b. NPort 1220 pr ovi des 2 RS-4 22/ 485 serial ports and NPort 1240 pro vides 4 RS-232 serial ports.
NPort 1200/1240 User’s Manual Introduction 1-2 Overview NPort 1200 Series USB to serial serve rs provid e an extremely convenient means of connecting serial devices to a PC. In fact, you don’t e ven need to power-down the PC. Just install the software that comes with the product, and th en connect your ser ial devices dir ectly to the NPort.
NPort 1200/1240 User’s Manual Introduction 1-3 Product Specifications NPort 1240 USB Compliant with USB 1.1, 1.0 USB 2.0 backwar ds com patible Connector USB type B Speed Full speed 12 Mbps Serial No.
NPort 1200/1240 User’s Manual Introduction 1-4 NPort 1220 USB Compliant with USB 1.1, 1.0 USB 2.0 backwar ds com patible Connector USB type B Speed Full speed 12 Mbps Serial No.
NPort 1200/1240 User’s Manual Introduction 1-5 Panel Layout Å NPort 1240 Top Panel Å NPort 1220 Top Panel Å NPort 1240 serial interfaces Å NPort 1220 serial interfaces.
NPort 1200/1240 User’s Manual Introduction 1-6 Dimensions Å NPort 1240 Å NPort 1220.
NPort 1200/1240 User’s Manual Introduction 1-7 DIP Switch Settings.
2 2 Chapter 2 Driver Installation This chapter includ es in formation about installin g the driver for NPort 1220/1240 . We present the installation pr ocedure for both W indows 98 and Windows 20 00 (.
NPort 1200/1240 User’s Manual Driver Installation 2-2 Installing the Driver 1. Connect NPort 1220/1240’s USB Port to your computer’ s US B por t. Make sure NPort 1220/1240 and yo ur computer is prop erly connected . 2. After you connect NPor t 1220/1 240 to your computer, a Found New Hardware wind ow will automatically open.
NPort 1200/1240 User’s Manual Driver Installation 2-3 5. A window will open asking you where you want to locate the driver files. Check Specify a location box, .
NPort 1200/1240 User’s Manual Driver Installation 2-4 7. Select klsibus.inf , and then click OPEN . 8. Click OK to continue..
NPort 1200/1240 User’s Manual Driver Installation 2-5 9. A window will open showing the Driver Files Search Results . Click Ne xt to install the driver. 10. When t he Completing the Found New Hardware Wiz ard window op ens, click Finish to close the wizard.
NPort 1200/1240 User’s Manual Driver Installation 2-6 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, and th en click Browse to locate the installation file.
NPort 1200/1240 User’s Manual Driver Installation 2-7 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 windo w opens, clic k Finish to close this wizard.
NPort 1200/1240 User’s Manual Driver Installation 2-8 NOTE If you wish to install the driver using “Ins ta ll Driver” pro gram, you will need to follow the instructions below. 1. Insert the softwar e CD (included in th e NPort 1220/124 0 pack age) into your computer’s CD drive, and t hen click o n Install Software .
NPort 1200/1240 User’s Manual Driver Installation 2-9 Checking the Installation You can check th e installation of NPort 1220 /12 40 under your co mputer’s Device Mana ger window. You sh ould check under bo th Ports (COM & LPT) and Universal Serial Bus controllers .
NPort 1200/1240 User’s Manual Driver Installation 2-10 Configuring the Ports Port configuration for NPort 12 20/1240 differs sligh tly b etween Windows 98 and Windows 2000/XP. To modify the configuration for a particul ar port, double click on the listing for that port under Ports (COM & LPT) in the Devi ce Manager wi ndow.
NPort 1200/1240 User’s Manual Driver Installation 2-11 Windows 2000/XP The figures shown here we re created und er Windows 2000. The pro cedure for Windo ws XP is essentially the same. Click on the Por t Setting s tab to chang e th e Bits per second (data tra nsmission speed), Data bits , Parity , Stop bits , a nd Flow control .
NPort 1200/1240 User’s Manual Driver Installation 2-12 Uninstalling the Driver To uninstall the driver, open the Device Manger window, and simply delete the NPort 1220/1240 ports under P orts (COM&LP T).
3 3 Chapter 3 Serial Programming Tools Moxa supports a class of easy to use, ye t powerful serial program ming libraries and communication trou bleshooting u tilities u nder Windows NT/2000/XP and W indows 95/98. Use these MOXA Seri al Programm ing Tools t o decrease your software de velopm ent time.
NPort 1200/1240 User’s Manual Serial Programming Tools 3-2 Overview PComm, a pro fessional serial comm tool for PCs, is a software packa ge that runs under Win dows NT/2000/XP and Windows 95/98 . PComm provid es: y A powerf ul serial comm unication li brary for easy program ming in the m ost popular programmi ng langua ges.
NPort 1200/1240 User’s Manual Serial Programming Tools 3-3 Terminal Emulator Terminal Em ulator can be used to connect t o various po rts to see if data transm ission is functioning correctly. Terminal Emulator featur es multi-windows, and su pports VT100 and ANSI terminal types.
A A Appendix A Technical Reference In this appendix, we cover th e fo llowing topics. Win32 API Function Compatible List ¾ Windows 98 ¾ Windows 2000/XP General Technical Reference.
NPort 1200/1240 User’s Manual Technical Refernece A-2 Win32 API Function Compatible List Windows 98 T est function Te s t F l a g 1. PurgeComm PURGE_TXABOR T PURGE_RXABORT 2. ClearCommBreak() 3. SetCommBreak() 4. ClearCommError cbInQue cbOutQue 5. EscapeCommFunction SETDTR SETRTS SETXON SETXOFF SETBREAK,CLRBREAK 6.
NPort 1200/1240 User’s Manual Technical Refernece A-3 E 14. CloseHandle() 15. ReadFile() 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.
NPort 1200/1240 User’s Manual Technical Refernece A-4 fRtsControl=R TS_CONTROL_DISABLE fRtsControl=R TS_CONTROL_ENABLE fDtrControl=DT R_CONTROL_DISABLE fDtrControl=DTR_ CONTROL_ENABLE FDsrSensitivity=TRUE 1 1.
NPort 1200/1240 User’s Manual Technical Refernece A-5 Question 4 When I install NPort 1 22 0/ 1 2 40 un der Wi nd ow s 20 0 0/ XP , t he COM p ort number is assigne d by which USB slot I use to connect to my comput er. What happens if I change the USB slot? Answer 4 The port number will change.
B B Appendix B Service Information This appen dix shows y ou how to co ntact Moxa for info rmation abo ut this and other pro ducts, and how to repo rt problems.
NPort 1200/1240 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 our products, Moxa Internet Services has bee n set up to provide technical s upport, dri ver updates, product infor mation, and user’s manual upd ates.
NPort 1200/1240 User’s Manual Service Information B-3 Problem Report Form MOXA NPort 1220/1240 Customer name: Comp any: T el: Fax: Email: Date: 1. Moxa Product: NPort 1220 N Port 1240 2.
NPort 1200/1240 User’s Manual Service Information B-4 Product 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.
An important point after buying a device Moxa Technologies 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 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 1240 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Moxa Technologies 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 1240 will certainly help you make a decision on the purchase.
If you already are a holder of Moxa Technologies 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 1240.
However, one of the most important roles played by the user manual is to help in solving problems with Moxa Technologies 1240. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Moxa Technologies 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