Moxa Technologies 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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Moxa Technologies 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 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 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 1240 should contain:
- informations concerning technical data of Moxa Technologies 1240
- name of the manufacturer and a year of construction of the Moxa Technologies 1240 item
- rules of operation, control and maintenance of the Moxa Technologies 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 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 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 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 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 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.com[...]

  • Page 2

    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., Ltd. All rights reserved. Reproducti o n without perm ission is prohi bited. Trademarks MO[...]

  • Page 3

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

  • Page 4

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

  • Page 5

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

  • Page 6

    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. of Ports 4 Interface RS-232: TxD, RxD, RTS, CTS, DTR, DSR, GND Connector DB9 Male FIFO 64 bytes Serial line pr otection 16 KV ESD f or all signals [...]

  • Page 7

    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. 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 64 bytes S[...]

  • Page 8

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

  • Page 9

    NPort 1200/1240 User’s Manual Introduction 1-6 Dimensions Å NPort 1240 Å NPort 1220[...]

  • Page 10

    NPort 1200/1240 User’s Manual Introduction 1-7 DIP Switch Settings[...]

  • Page 11

    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 (the pro cedure for W indows XP is essentially the same as for Windows 2000):  Installing the Driver  Checking the Installation  Comfiguring t[...]

  • Page 12

    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. 3. When the F oun[...]

  • Page 13

    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, .and then click Next . 6. A window will open asking you to insert the installation disk. Insert the installation disk into your CD drive,an d th en click Browse to locate the installation [...]

  • Page 14

    NPort 1200/1240 User’s Manual Driver Installation 2-4 7. Select klsibus.inf , and then click OPEN . 8. Click OK to continue.[...]

  • Page 15

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

  • Page 16

    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. Select klsiw2k.inf and then click OPEN[...]

  • Page 17

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

  • Page 18

    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 . 2. When the Install Driv[...]

  • Page 19

    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 . Windows 98 Windows 2000/XP NOTE To double check that the driver and por t i[...]

  • Page 20

    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. Windows 98 Click o[...]

  • Page 21

    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 . Click on Advanced[...]

  • Page 22

    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). NOTE If you used the Install Driver program discussed at the begi nning of t his chapte r, you can m ake use of the Uninstall Driver program[...]

  • Page 23

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

  • Page 24

    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. The serial communicat [...]

  • Page 25

    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. You can transfer data interactivel y, send patterns p eriodically, [...]

  • Page 26

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

  • Page 27

    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. GetCommMask EV_BREAK EV_CTS EV_[...]

  • Page 28

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

  • Page 29

    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.SetCommT imeouts ReadIntervalT imeout ReadT otalT imeoutMultipli er ReadT otalT im eoutConstant WriteT otalT imeoutMultiplier WriteT otalT [...]

  • Page 30

    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. Keep in mind that the port number is automatically a[...]

  • Page 31

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

  • Page 32

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

  • Page 33

    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. Serial Number: ___________ ______ Problem Desc ription: Please describe the sym ptoms of the problem as clearly as possible, including any error messages[...]

  • Page 34

    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.  Fill out the Problem Report Fo rm (PRF). Include as much detail as possi[...]