Moxa Technologies NPort 1240, NPort 1220 User Manual

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.moxa.com
support@moxa.com.tw (Worldwide) support@moxa.com (The Americas)
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 permission is prohibited.
Trademarks
MOXA is a registered trademark of Moxa Technologies Co., Ltd.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa.
Moxa provides this document “as is,” without warranty of any kind, either expressed or implied, including, but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa Technologies assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication.
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-6
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
Windows 2000/XP ........................................................................ 2-11
Uninstalling the Driver .......................................................................... 2-12
Chapter 3 Serial Programming Tools ..............................................................3-1
Overview ................................................................................................ 3-2
PComm Installation ................................................................................ 3-2
PComm Programming Library................................................................ 3-2
Utilities.................................................................................................... 3-2
Diagnostic (for MOXA boards only)........................................................ 3-3
Monitor (for MOXA boards under Windows NT Only)............................ 3-3
Terminal Emulator.................................................................................. 3-4
Appendix A Technical Reference ....................................................................... A-1
Win32 API Function Compatible List......................................................A-2
Windows 98 ....................................................................................A-2
Windows 2000/XP ..........................................................................A-3
General Technical Reference ................................................................A-4
Appendix B Service Information ........................................................................ B-1
MOXA Internet Services.........................................................................B-2
Problem Report Form.............................................................................B-3
Product Return Procedure .....................................................................B-4
Revision History…………………………………………………………….. B-5
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
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, whatever you need. And you’ve done this without programming, without opening up your PC, without even thinking about IRQs, board configuration, power requirements, or connection schemes.
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.
More and more peripherals are connected by the Ethernet or USB interface. The problem is how to integrate these different interfaces. Today’s solution is to connect all devices using the open standard Ethernet and USB. The total cost of ownership is reduced, not only in short term hardware investment, but also in long term management and integrating cost.
The NPort 1200 Series supports both bus power and external power via an adapter. Bus power is adapted for laptop or workstation connections that support 500 mA output for USB devices. External power is adapted for those USB hubs that can only output 100 mA of current.
Package Checklist
MOXA NPort 1220/1240 products are shipped with the following items:
Standard Accessories
1 NPort 1240 4-port USB to RS-232 HUB, or NPort 1220 2-port USB to RS-422/485 Hub NPort 1200 Series Document & Software CD NPort 1220/1240 Quick Installation Guide Product Warranty Booklet
Optional Accessories
DK-35A DIN-Rail Mounting Kit (35 mm) CB-USBAMB-1M USB A type to B type Cable, 1m
NOTE: Notify your sales representative if any of the above items is missing or damaged.
Product Features
NPort 1240 Series products enjoy the following features:
Expand to 4 RS-232 ports (NPort 1240) or 2 RS-422/485 ports (NPort 1220) through USB Hot plug and play No additional I/O or IRQ required RS-232 (NPort 1240) and RS-422/485 (NPort 1220) speed up to 115.2 Kbps Supports USB 1.1, full rate speed up to 12 Mbps Built-in 16 KV ESD Surge Protection Supports Windows 98/ME/2000/XP drivers Supports both bus power and external power NPort 1220/1220I: Supports 4-wire RS-422/485 and 2-wire RS-485 applications NPort 1220I: Supports 2 KV Isolation Protection
1-2
NPort 1220/1240 USB-to-Serial Hub User’s Manual
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 for all signals
Serial Communication Parameters Parity None, Even, Odd Data bits 7, 8 Stop bit 1, 2 Flow Control RTS/CTS, XON/XOFF Speed 600 to 115.2 Kbps
Power Requirements Power Input 12 to 48 VDC (External) or 5 VDC (Bus power) Power Consumption BUS: 172 mA @ 5 VDC Ext. PWR: 117 mA @ 12 VDC
Mechanical Specifications Material ABS Gross Weight
Environmental Operating Temperature 0 to 55°C (32 to 131°F) Storage Temperature -20 to 85°C (-4 to 185°F) Operating Humidity 5 to 95% RH
Agency Approvals
EMC FCC (class B), CE (Class B) Safety UL, CUL, TÜV
Warranty
Introduction
220±5 g (0.48 lb)
5 years
NPort 1220/1240 USB-to-Serial Hub User’s Manual
1-3
NPort 1220
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 2 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 FIFO 128 bytes Serial line protection 16 KV ESD for all signals
Serial Communication Parameters Parity None, Even, Odd Data bits 7, 8 Stop bit 1, 2 RS-485 Data Direction ADDC™ (Auto Data Direction Control) Speed 600 to 115.2 Kbps
Power Requirements Power Input 12 to 48 VDC (external) or 5 VDC (Bus power) Power Consumption BUS: 140 mA @ 5 VDC Ext. PWR: 306 mA @ 12 VDC
Mechanical Specifications Material ABS Gross Weight
Environmental Operating Temperature 0 to 55°C (32 to 131°F) Storage Temperature -20 to 85°C (-4 to 185°F) Operating Humidity 5 to 95% RH
Agency Approvals
EMC FCC (class B), CE (Class B) Safety UL, CUL, TÜV
Warranty
215±5 g (0.48 lb)
5 years
1-4
NPort 1220/1240 USB-to-Serial Hub User’s Manual
Panel Layout
Introduction
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
DIP Switch Settings
This example shows DIP Switch settings for port 1, which uses DIP Switches 1 and 2. The settings for port 2, which uses DIP Switches 3 and 4, are similar. You can refer to the DIP Switch diagrams at the right, or to the table on the next page for the correct settings.
NPort 1220
1-6
NPort 1220/1240 USB-to-Serial Hub User’s Manual
DIP Switch No. DIP Switch Setting
1
2
On 4-wire RS-422/485
Off 2-wire RS-485
On Termination Resistor on
Off Termination Resistor off
Introduction
Interface & Termination
Resistor Setting
NPort 1220/1240 USB-to-Serial Hub User’s Manual
1-7
Loading...
+ 25 hidden pages