Moxa Technologies NPort 1220 User Manual

Moxa Technologies NPort 1220 User Manual

Usb-to-serial hub
Hide thumbs Also See for NPort 1220:

Advertisement

Quick Links

NPort 1220/1240 USB-to-Serial Hub
Third Edition, November 2005
www.moxa.com/product
User's Manual
Moxa Technologies Co., Ltd.
Tel:
Fax:
Web: www.moxa.com
MOXA Technical Support
Worldwide:
The Americas
+886-2-8919-1230
+886-2-8919-1231
support@moxa.com.tw
support@moxa.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NPort 1220 and is the answer not in the manual?

Questions and answers

Summary of Contents for Moxa Technologies NPort 1220

  • Page 1 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 Worldwide: support@moxa.com.tw The Americas support@moxa.com...
  • Page 2: Copyright Notice

    The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2005 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited.
  • Page 3: Table Of Contents

    Table of Contents Chapter 1 Introduction ..................1-1 Overview....................1-2 Package Checklist ..................1-2 Product Features ..................1-2 Product Specifications ................1-3 NPort 1240 ..................1-3 NPort 1220 ..................1-4 Panel Layout...................1-5 Dimensions .....................1-6 DIP Switch Settings ................1-7 Chapter 2 Driver Installation ................2-1 Installing the Driver.................2-2 Checking the Installation ................2-9 Configuring the Ports................2-10 Windows 98 ..................2-10...
  • Page 4: Chapter 1 Introduction

    Introduction Chapter 1 Welcome to MOXA NPort 1220/1240 USB-to-Serial Hub. NPort 1220 provides 2 RS-422/485 serial ports and NPort 1240 provides 4 RS-232 serial ports. The following topics are covered in this chapter: Overview Package Checklist Product Features Product Specifications...
  • Page 5: Overview

    NPort 1200/1240 User’s Manual Introduction Overview NPort 1200 Series USB to serial servers provide an extremely convenient means of connecting serial devices to a PC. In fact, you don’t even need to power-down the PC. Just install the software that comes with the product, and then connect your serial devices directly to the NPort. NPort 1200 Series products are compliant with both USB 1.0 and 1.1 specifications, are compatible with USB 2.0, and meet the 12 Mbps full speed requirement.
  • Page 6: Product Specifications

    NPort 1200/1240 User’s Manual Introduction Product Specifications NPort 1240 Compliant with USB 1.1, 1.0 USB 2.0 backwards compatible Connector USB type B Speed Full speed 12 Mbps Serial No. of Ports Interface RS-232: TxD, RxD, RTS, CTS, DTR, DSR, GND Connector DB9 Male FIFO...
  • Page 7: Nport 1220

    NPort 1200/1240 User’s Manual Introduction NPort 1220 Compliant with USB 1.1, 1.0 USB 2.0 backwards compatible Connector USB type B Speed Full speed 12 Mbps Serial No. of Ports Interface 4-wire RS-422: TxD+/-, RxD+/-, GND 4-wire RS-485: TxD+/-, RxD+/-, GND 2-wire RS-485: Data+/-, Data+/-, GND Connector Terminal Block...
  • Page 8: Panel Layout

    NPort 1200/1240 User’s Manual Introduction Panel Layout NPort 1240 Top Panel NPort 1220 Top Panel NPort 1240 serial interfaces NPort 1220 serial interfaces...
  • Page 9: Dimensions

    NPort 1200/1240 User’s Manual Introduction Dimensions NPort 1240 NPort 1220...
  • Page 10: Dip Switch Settings

    NPort 1200/1240 User’s Manual Introduction DIP Switch Settings...
  • Page 11: Chapter 2 Driver Installation

    Driver Installation Chapter 2 This chapter includes information about installing the driver for NPort 1220/1240. We present the installation procedure for both Windows 98 and Windows 2000 (the procedure for Windows XP is essentially the same as for Windows 2000): Installing the Driver Checking the Installation Comfiguring the Ports...
  • Page 12: Installing The Driver

    NPort 1200/1240 User’s Manual Driver Installation Installing the Driver 1. Connect NPort 1220/1240’s USB Port to your computer’s USB port. Make sure NPort 1220/1240 and your computer is properly connected. 2. After you connect NPort 1220/1240 to your computer, a Found New Hardware window will automatically open.
  • Page 13 NPort 1200/1240 User’s Manual 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 then click Browse to locate the installation file.
  • Page 14 NPort 1200/1240 User’s Manual Driver Installation 7. Select klsibus.inf, and then click OPEN. 8. Click OK to continue.
  • Page 15 NPort 1200/1240 User’s Manual Driver Installation 9. A window will open showing the Driver Files Search Results. Click Next to install the driver. 10. When the Completing the Found New Hardware Wizard window opens, click Finish to close the wizard.
  • Page 16 NPort 1200/1240 User’s Manual Driver Installation 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 then click Browse to locate the installation file. Select klsiw2k.inf and then click OPEN.
  • Page 17 NPort 1200/1240 User’s Manual 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 window opens, click Finish to close this wizard.
  • Page 18 NPort 1200/1240 User’s Manual Driver Installation NOTE If you wish to install the driver using “Install Driver” program, you will need to follow the instructions below. 1. Insert the software CD (included in the NPort 1220/1240 package) into your computer’s CD drive, and then click on Install Software.
  • Page 19: Checking The Installation

    NPort 1200/1240 User’s Manual Driver Installation Checking the Installation You can check the installation of NPort 1220/1240 under your computer’s Device Manager window. You should check under both Ports (COM & LPT) and Universal Serial Bus controllers. Windows 98 Windows 2000/XP NOTE To double check that the driver and port installation is correct, unplug the NPort 1220/1240 from your computer’s USB port—while the Device Manager window is open.
  • Page 20: Configuring The Ports

    NPort 1200/1240 User’s Manual Driver Installation Configuring the Ports Port configuration for NPort 1220/1240 differs slightly between Windows 98 and Windows 2000/XP. To modify the configuration for a particular port, double click on the listing for that port under Ports (COM & LPT) in the Device Manager window. Windows 98 Click on the Port Settings tab to change the Bits per second (data transmission speed), Data bits, Parity, Stop bits, and Flow control.
  • Page 21: Windows 2000/Xp

    NPort 1200/1240 User’s Manual Driver Installation Windows 2000/XP The figures shown here were created under Windows 2000. The procedure for Windows XP is essentially the same. Click on the Port Settings tab to change the Bits per second (data transmission speed), Data bits, Parity, Stop bits, and Flow control.
  • Page 22: Uninstalling The Driver

    NPort 1200/1240 User’s Manual Driver Installation Uninstalling the Driver To uninstall the driver, open the Device Manger window, and simply delete the NPort 1220/1240 ports under Ports (COM&LPT). NOTE If you used the Install Driver program discussed at the beginning of this chapter, you can make use of the Uninstall Driver program to remove the driver files from the directory in which they were installed, and uninstall NPort 1220/1240’s ports.
  • Page 23: Serial Programming Tools

    Serial Programming Tools Chapter 3 Moxa supports a class of easy to use, yet powerful serial programming libraries and communication troubleshooting utilities under Windows NT/2000/XP and Windows 95/98. Use these MOXA Serial Programming Tools to decrease your software development time. In the following sections, we describe the installation of the library, and the utilities supported for various programming platforms.
  • Page 24: Overview

    NPort 1200/1240 User’s Manual Serial Programming Tools Overview PComm, a professional serial comm tool for PCs, is a software package that runs under Windows NT/2000/XP and Windows 95/98. PComm provides: A powerful serial communication library for easy programming in the most popular programming languages.
  • Page 25: Terminal Emulator

    NPort 1200/1240 User’s Manual Serial Programming Tools Terminal Emulator Terminal Emulator can be used to connect to various ports to see if data transmission is functioning correctly. Terminal Emulator features multi-windows, and supports VT100 and ANSI terminal types. You can transfer data interactively, send patterns periodically, and transfer files using ASCII, XMODEM, YMODEM, ZMODEM, and KERMIT protocols.
  • Page 26: Appendix A Technical Reference

    Technical Reference Appendix A In this appendix, we cover the following topics. Win32 API Function Compatible List Windows 98 Windows 2000/XP General Technical Reference...
  • Page 27: Win32 Api Function Compatible List

    NPort 1200/1240 User’s Manual Technical Refernece Win32 API Function Compatible List Windows 98 Test function Test Flag 1. PurgeComm PURGE_TXABORT PURGE_RXABORT 2. ClearCommBreak() 3. SetCommBreak() 4. ClearCommError cbInQue cbOutQue 5. EscapeCommFunction SETDTR SETRTS SETXON SETXOFF SETBREAK,CLRBREAK 6. GetCommMask EV_BREAK EV_CTS EV_DSR EV_ERR EV_RING...
  • Page 28: Windows 2000/Xp

    NPort 1200/1240 User’s Manual Technical Refernece 14. CloseHandle() 15. ReadFile() Windows 2000/XP Test function Test Flag 1. PurgeComm PURGE_TXABORT PURGE_RXABORT PURGE_TXCLEAR 2. ClearCommBreak() 3. SetCommBreak() 4. ClearCommError CE_BREAK CE_RXPARITY CE_FRAME CE_RXOVER fCtsHold fDsrHold fXoffHold cbInQue cbOutQue 5. EscapeCommFunction SETDTR SETRTS SETXON SETXOFF SETBREAK,CLRBREAK...
  • Page 29: General Technical Reference

    NPort 1200/1240 User’s Manual Technical Refernece fRtsControl=RTS_CONTROL_DISABLE fRtsControl=RTS_CONTROL_ENABLE fDtrControl=DTR_CONTROL_DISABLE fDtrControl=DTR_CONTROL_ENABLE FDsrSensitivity=TRUE 11.SetCommTimeouts ReadIntervalTimeout ReadTotalTimeoutMultiplier ReadTotalTimeoutConstant WriteTotalTimeoutMultiplier WriteTotalTimeoutConstant 12. HWFlowContrl() dcb.fRtsControl=RTS_CONTROL_HANDSHAK 13. ReadFile() General Technical Reference Question 1 Why does the port stop responding when I use a program to fast open/close the port? On the other hand, if I just do a normal port open/close, the port will stop responding after about 100 times.
  • Page 30 NPort 1200/1240 User’s Manual Technical Refernece Question 4 When I install NPort 1220/1240 under Windows 2000/XP, the COM port number is assigned by which USB slot I use to connect to my computer. What happens if I change the USB slot? Answer 4 The port number will change.
  • Page 31: Appendix B Service Information

    Service Information Appendix B This appendix shows you how to contact Moxa for information about this and other products, and how to report problems. In this appendix, we cover the following topics. MOXA Internet Services Problem Report Form Product Return Procedure...
  • Page 32: Moxa Internet Services

    NPort 1200/1240 User’s Manual Service Information MOXA Internet Services Customer satisfaction is our number one concern, and to ensure 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 manual updates.
  • Page 33: Problem Report Form

    NPort 1200/1240 User’s Manual Service Information Problem Report Form MOXA NPort 1220/1240 Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: NPort 1220 NPort 1240 2. Serial Number: _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see.
  • Page 34: Product Return Procedure

    NPort 1200/1240 User’s Manual Service Information Product Return Procedure For product repair, exchange, or refund, the customer must: Provide evidence of original purchase. Obtain a Product Return Agreement (PRA) from the sales representative or dealer. Fill out the Problem Report Form (PRF). Include as much detail as possible for a shorter product repair time.

This manual is also suitable for:

Nport 1240

Table of Contents