Page 2 - User’s Manual; with the terms of that agreement.; Copyright Notice; Copyright; Trademarks; MOXA is a registered trademark of Moxa Technologies Co., Ltd.; Disclaimer
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 used only in accordance with the terms of that agreement. Copyright Notice Copyright 2004 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without pe...
Page 4 - Table of Contents; Chapter 1; Revision History
Table of Contents Chapter 1 Introduction ......................................................................................1-1 Overview ................................................................................................ 1-2 Package Checklist.............................................
Page 5 - Introduction; The following topics are covered in this chapter:; Overview
1 1 Chapter 1 Introduction 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 6 - Standard Accessories; Product Features
Overview Connect a compact NPort 1200 Series product to your computer—you don’t even have to power-down—install the supplied software, and then connect your serial devices directly to the NPort. In minutes, and with state-of-the-art accuracy, you’re capturing data—temperature, pressure, sound level,...
Page 7 - Product Specifications
Introduction Product Specifications NPort 1240 USB 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 4 Interface RS-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND Connector DB9 Male FIFO 128 bytes Serial line protection 16 KV ESD ...
Page 9 - Panel Layout; serial interfaces
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
Page 11 - DIP Switch Setting; On
Introduction DIP Switch No. DIP Switch Setting Interface & Termination Resistor Setting On 4-wire RS-422/485 1 Off 2-wire RS-485 On Termination Resistor on 2 Off Termination Resistor off NPort 1220/1240 USB-to-Serial Hub User’s Manual 1-7
Page 13 - Driver Installation; Installing the Driver; NOTE
2 2 Chapter 2 Driver Installation 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 t...
Page 14 - and your computer is properly connected.
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. 3. When the Found New Hardware Wizar...
Page 15 - Specify a; CD drive,and then click; Browse; to locate the installation file.; 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 i...
Page 17 - A window will open showing the; Driver Files Search Results; to install the driver.; Completing the Found New Hardware Wizard; window opens, click; Finish; to close
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. NPort 1220/1240 USB-to-Serial Hub User’s Manual 2-5
Page 18 - CD drive, and then click; to locate the installation file. Select; OPEN
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 . Clic...
Page 19 - A window will open showing the; to close this
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. NPort 1220/1240 USB-to-Serial Hub User’s Manual 2-7
Page 21 - Checking the Installation; Device Manager; You should check under both; Universal Serial Bus controllers; while the Device Manager window is open
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 po...
Page 22 - Configuring the Ports
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 Se...
Page 24 - Uninstalling the Driver
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 th...
Page 25 - Serial Programming Tools; This chapter includes the following sections:
3 3 Chapter 3 Serial Programming Tools 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 fo...
Page 27 - To run the Diagnostic program, click on; Monitor (for MOXA boards under Windows NT Only); To run the Monitor program, click on
Serial Programming Tools Diagnostic (for MOXA boards only) A convenient diagnostic program, ONLY for MOXA boards and ports, provides internal and 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...
Page 28 - Terminal Emulator; To run Terminal Emulator, click on; Start
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 ...
Page 29 - Technical Reference; In this appendix, we cover the following topics.; Win32 API Function Compatible List
A A Appendix A Technical Reference In this appendix, we cover the following topics. Win32 API Function Compatible List Windows 98 Windows 2000/XP General Technical Reference
Page 30 - Test function; cbInQue
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...
Page 31 - SETDTR
Technical Reference 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 S...
Page 32 - General Technical Reference
11.SetCommTimeouts ReadIntervalTimeout ReadTotalTimeoutMultiplier ReadTotalTimeoutConstant WriteTotalTimeoutMultiplier WriteTotalTimeoutConstant 12. HWFlowContrl() dcb.fRtsControl=RTS_CONTROL_HANDSHAKE 13. ReadFile() General Technical Reference Question 1 Why does the port stop responding when I use...
Page 33 - Service Information; MOXA Internet Services
B B Appendix B Service Information 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 34 - The following services are provided; or
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. The following services a...
Page 35 - Problem Report Form
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 message...
Page 36 - Product Return Procedure; Provide evidence of original purchase.
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 produc...