Moxa Technologies NPort 1240 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Moxa Technologies NPort 1240, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Moxa Technologies NPort 1240 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Moxa Technologies NPort 1240. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Moxa Technologies NPort 1240 should contain:
- informations concerning technical data of Moxa Technologies NPort 1240
- name of the manufacturer and a year of construction of the Moxa Technologies NPort 1240 item
- rules of operation, control and maintenance of the Moxa Technologies NPort 1240 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Moxa Technologies NPort 1240 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Moxa Technologies NPort 1240, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Moxa Technologies service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Moxa Technologies NPort 1240.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Moxa Technologies NPort 1240 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    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 (T he Americas)[...]

  • Page 2

    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., Ltd. All rights reserved. Reproducti on without permission is prohibit ed. Trademarks MOXA is [...]

  • Page 3

    [...]

  • Page 4

    Table of Contents Chapter 1 Introduction ......................................................................................1-1 Overview ....................................................... ......................................... 1-2 Package Checklist .............................................. .................................... 1-2 Pr[...]

  • Page 5

    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. The following topics are covered in this chapter:  Overview  Package Checklist  Product Features  Product Specifications[...]

  • Page 6

    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. And you’v[...]

  • Page 7

    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. of Ports 4 Interface RS-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND Connector DB9 Male FIFO 128 bytes Serial line prot ection 16 KV ESD fo r all signals Serial Communication Parameters[...]

  • Page 8

    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 : TxD+/-, RxD +/-, GND 2-wire RS-485: Data+, Data-, GND Connector Terminal Block FIFO 128 bytes Serial line prot ection 16 KV ESD fo r all signals Ser[...]

  • Page 9

    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 10

    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. NPort 1220/124[...]

  • Page 11

    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 NPort 1220/1240 USB-to-Serial Hub User’s Manual 1-7[...]

  • Page 12

    [...]

  • Page 13

    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 (th e procedure f or Windows XP is essentially the same as for Windows 2000):  Installing the Driver  Checking the Installation  Configuring th[...]

  • Page 14

    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. 3. When the Found New Hardware Wizard starts up, click Next to continue inst[...]

  • Page 15

    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. NPort 1220/1240 USB-to-Serial H[...]

  • Page 16

    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[...]

  • Page 17

    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. NPort 1220/1240 USB-to-Serial Hub User’s Manual 2-5[...]

  • Page 18

    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. Select klsiw2k.inf and then click OPEN . Click OK to continue. NPort 1220/1240 USB-to-Serial H[...]

  • Page 19

    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. NPort 1220/1240 USB-to-Serial Hub User’s Manual 2-7[...]

  • Page 20

    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 . 2. When the Install Driver window opens, click on Install to install the driv[...]

  • Page 21

    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 . Windows 98 Windows 2000/XP NOTE To double c heck that t he driver a nd port inst allati on is correct, unpl ug th[...]

  • Page 22

    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. Windows 98 Click on the Por t Settings tab to change the Bits per second [...]

  • Page 23

    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 . Click on Advanced… to open t he Advanced Port Settings t[...]

  • Page 24

    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 ). NOTE If you used the Install Driver program discussed at the beginning o f this chapte r, you can m ake use of the Uninstall Driver progr am to remove t he driver files from the directory i n w[...]

  • Page 25

    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 . In the following sections, we describe the insta[...]

  • Page 26

    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. T he serial comm unication l ibrary is useful f or developi ng appli cations for da[...]

  • Page 27

    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. To run the Diagnostic program , click on Start  Prog[...]

  • Page 28

    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. You can transfer data interactively, send pattern s periodically, and transfer files using ASCII, XMODEM, YM ODEM, ZMOD EM, an[...]

  • Page 29

    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[...]

  • Page 30

    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. GetCommMask EV_BREAK EV_CTS EV_DSR EV_ERR EV_RING EV_RLSD EV_RXCHAR EV_RXFLAG EV_TXEMPTY[...]

  • Page 31

    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. EscapeCommFunction SETDTR SETRTS SETXON SETXOFF SETBREAK,CLRBREAK 6. GetCommMask EV_[...]

  • Page 32

    1 1.SetCommT imeouts ReadIntervalT imeout ReadT otalT im eoutMultiplier ReadT otalT im eoutConstant WriteT otalT imeoutMultiplier WriteT otalT imeoutConstant 12. HWFlowContrl() dcb.fRt s Control=R TS_CONTROL_HANDSHAKE 13. ReadFile() General Technical Reference Question 1 Why does the p ort stop respon ding when I use a pr ogram to fast open/close t[...]

  • Page 33

    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. In this appendix, we cover the fo llowing topics.  MOXA Internet Services  Problem Report Form  Product Return Procedure[...]

  • Page 34

    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. The following services are provided E-mail for tech nical sup[...]

  • Page 35

    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. A clearly written descrip[...]

  • Page 36

    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). Include as much detail as possible for a shorter product repair time.  Carefully pack[...]

  • Page 37

    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. 3. p. 1-3 Add DCD to S erial signal. Change FIFO from 64 bytes to 128 bytes. [...]