Moxa Technologies CP-132U Series 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

Go to page of

A good user manual

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

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 CP-132U Series 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

    CP-132U Series User’s Manual Industrial 2-Port RS-422/485 Serial Board for Universal PCI Bus Fif th Edition, December 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

    CP-132U Series User’s Manual The software d escribed in this manual is fur nished under a l icense agreement an d may be use d only in accordance with the term s of that agreement. Copyright Notice Copyright  2004 Moxa Technologies Co., Ltd. All rights reserved. Reproducti on without perm ission is prohibi ted. Trademarks MOXA is a re gistered[...]

  • Page 3

    MOXA Internet Services Customer satisfaction is our nu mber one c oncern, and to ensu re that customers receive the full benefit of ou r products, Moxa Internet Services has been set up to provi de technical support, driv er updates, product infor mation, and user’s manua l updates. The following services are provided: E-mail for technical suppor[...]

  • Page 4

    Table of Contents Chapter 1 Intr oduction .................................................................................. 1-1 Overview ....................................................................................................... 1-2 Features ...............................................................................................[...]

  • Page 5

    1 1 Chapter 1 Introduction Welcome to th e MOXA CP-132 UL Series of i ndustrial 2-port RS-422/485 serial boards for the PCI bus. Moxa’s Universal PCI CP-132UL series meets the new slot standard for expansion b oards, and works with both 3. 3V and 5V PCI sl ots. The CP- 132UL series offers 2 independent RS-422/48 5 serial ports for connecting data[...]

  • Page 6

    CP-132U Series User’s Manual 1-2 Overview Industio—The Industrial Multiport Async Solution Moxa Industi o products are smart, m ultiport serial I/ O solutions for industrial applications. The CP-132U Series boards , including CP-132UL V2 , an d CP-132UL-I V2 (the previous version is CP-132U-I V1) , are designed for a 32-bit PCI bus with the Plu[...]

  • Page 7

    Introduction CP-132U Series User’s Manual 1-3 PCI Solution The board complies with PCI Sp ec. 2.1 and does not requ ire either switches or jumpers. The hardware configuration for the IRQ and I/O address is auto matically assigned by the PCI BIOS. This means that th e board MUST be plugged into the computer first before installing the driver so ft[...]

  • Page 8

    CP-132U Series User’s Manual 1-4 Features The CP-132UL Series includes the following produ cts: CP-132UL V2 2 RS-422/485 ports, Un iversal PCI interface with embedded Surge Protection (16 KV ESD) CP-132UL-I V2 2 RS-422/485 ports, Universal PCI inte rface with embedded Surge Protection and Isolation Pr otection (16 K V ESD, 2 KV Isolation) CP-132U[...]

  • Page 9

    2 2 Chapter 2 Hardware Installation You will need to install both hardware and so ftware for CP-132UL Series boards. The hardware installation procedure is given in this chapter, and the next chapter deals with software installation for vario us operating system s. The following topics are covered in this chapter: ❑ CP-132UL Series Block Diagram [...]

  • Page 10

    CP-132U Series User’s Manual 2-2 CP-132UL Series Block Diagram CP-132UL Series boards’ h ardware configur ation for IRQ number and I/O address is automatically assigned by the PCI BIOS. This means that the board MUST be plugged in first before installing the driver software.[...]

  • Page 11

    Hardware Installation CP-132U Series User’s Manual 2-3 CP-132UL-I V2 (120 x 64.5 mm) CP-132U-I V1 (120 x 100 mm)[...]

  • Page 12

    CP-132U Series User’s Manual 2-4 CP-132UL V2 (120 x 64.5 mm) CP-132UL V1 (120 x 64.5 mm)[...]

  • Page 13

    Hardware Installation CP-132U Series User’s Manual 2-5 CP-132UL Se ries boards hav e four onboard DIP Switches, referred to bel ow as S1-1, S1 -2, S2-1, and S2-2, that allow the user to choo se one of three seri al interfaces—RS-422, RS-485 (2-wire), RS- 485 (4-wire)—for each of the two ports. Note that S2-1 and S2-2 select between R S-422 an[...]

  • Page 14

    CP-132U Series User’s Manual 2-6 Installing the CP-132UL Series Board St e p 1 : Power off the PC. Warning! To avoid dam aging your system and boar d, make sure your computer is turned off before installing a ny board. St e p 2 : Rem ove the PC’ s cover . St e p 3 : Rem ove the slot cove r bracket if there is one. St e p 4 : Plug the CP-132U Se[...]

  • Page 15

    3 3 Chapter 3 Software Installation In this chapter, the software driver installa tion, configurati on, and dri ver update/rem oval procedures are described for vari ous operating syst ems, including Windows NT, Windows 95/98, Windows 2000/XP/2003, DOS, FreeBSD, and Linux. Before proceeding with the software installation, complete the hardware inst[...]

  • Page 16

    CP-132U Series User’s Manual 3-2 The following installation steps use CP-168U as an example. Installing the Driver 1. After installing the UPCI/PCI board and pow ering on your PC, W indows 2003 will auto detect and find the UPCI/PC I board you just added. The Found New Hardwar e window will open in the bottom right corner of the W indows desktop.[...]

  • Page 17

    Software Installation CP-132U Series User’s Manual 3-3 4. W ait while the installation wizar d searches. The next window that opens cautions you that although t his software ha sn’t passe d W indows Logo testing, this driver has already been tested and been shown that it can support W indows OS. Click on Continue Anyway to proceed. 5. W ait whi[...]

  • Page 18

    CP-132U Series User’s Manual 3-4 6. The Found New Hardwar e W izard window will open to help you install the driver for MOXA Port 0 . Select Install fr om a list or specific location (Ad vanced) . Click on Next to conti nue. 7. Select Sear ch for the best driver in these locations , check Include this location in the sear ch , and then click on B[...]

  • Page 19

    Software Installation CP-132U Series User’s Manual 3-5 8. W ait while the installation wizar d searches. The next window that opens cautions you that although t his software ha sn’t passe d W indows Logo testing, this driver has already been tested and been shown that it can support W indows OS. Click on Continue Anyway to proceed. 9. W ait whi[...]

  • Page 20

    CP-132U Series User’s Manual 3-6 10. Repeat steps 6 to 9, until the port driver installation fo r every port is completed. How to Check the Installation There are three ways t o check the inst allation of the CP-168U Series bo ard. Using Device Manager 1. Use your m ouse to positi on the cursor o ver your desktop’ s My computer icon, click the [...]

  • Page 21

    Software Installation CP-132U Series User’s Manual 3-7 4. If there are a ny special marks, such as a ques tion m ark or an exclam ation mark in front of the icons, the installation of the bo ard or the ports was not successful. Examine the Event Log for details. Port Configuration After the driver is installed, the MOXA CP-1 68U Installation dial[...]

  • Page 22

    CP-132U Series User’s Manual 3-8 2. Select a COM num ber for the p ort from the Port Number pull-down list. 3. Check the Auto Enumerating COM Number chec k-box to have subsequent ports mapped to c ontinuous C OM numbers. F or exampl e, if COM 3 is a ssigned to Port 1, then COM 4 will be automatically assigned to Po rt 2.[...]

  • Page 23

    Software Installation CP-132U Series User’s Manual 3-9 4. Select an Rx FIFO Trigger from the Rx FI FO Level pull-down list. Rx FIFO trigger levels from High to Low are available, with the default set to High (120 bytes). Check Set the change t o all ports check-box t o apply the just defined Rx FIFO Trigger to all ports. 5. Select a Tx FIFO Size [...]

  • Page 24

    CP-132U Series User’s Manual 3-10 Using Event Log To use Event L og to check MOX A boards, cli ck Start # Setting s # Control Panel # Administrative Tools # Event Viewer to enter the Event Viewer progr am. You can find the latest information relev ant to MOXA’s drivers under System category. Windows 2000/XP Windows 2000/XP supports up to 256 se[...]

  • Page 25

    Software Installation CP-132U Series User’s Manual 3-11 Windows 2000 Windows XP 1. W indows 2000 can a uto-detect new devices, and activate the Found New Hardware function to install a device driver for Plug and Play devices. 2. Click Next to c ontinue. 3. Select Search for a suitable driver… and then click Next to continue. 1. W indo ws XP can[...]

  • Page 26

    CP-132U Series User’s Manual 3-12 4. Select Specify a locati on and then click Nex t to continue. 5. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as SoftwareWin2K-XP-2003 as shown below (change the drive letter if needed). Click OK to continue. 3. Checkmark Include this location in the search , click[...]

  • Page 27

    Software Installation CP-132U Series User’s Manual 3-13 6. Click Next to copy the driver files to your system. 7. W ait while the installation wizard searches. The next wi ndow that ope ns cautions y ou that although this software hasn’ t passed W indows Logo testing, this driv er has already been tested and been shown t hat it can support W i [...]

  • Page 28

    CP-132U Series User’s Manual 3-14 8. The next window sho ws the model num ber of the board, and indicates that W indows has completed the driver installation. Click Finish to continue with the rest of the installation procedure. 9. The next W elcome to the Found New Hardwar e Wiz ard window to open starts the port installation stage. Click on Nex[...]

  • Page 29

    Software Installation CP-132U Series User’s Manual 3-15 10. Select Sear ch for a suitable driver for my device [recommended] , and then click Ne xt to continue. 11. Select Specify a loca tion and then click Ne xt to continue. 8. Input the location of the driver in the text input box, or use the Browse button to locate the appropriate fo lder . 9.[...]

  • Page 30

    CP-132U Series User’s Manual 3-16 12. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as SoftwareWin2K-XP-2003 as shown below (change the drive letter , if needed). Click OK to continue. 13. Click Next to continue with the installation. 10. W ait wh ile the installation wizard searches. 11. W ait wh ile[...]

  • Page 31

    Software Installation CP-132U Series User’s Manual 3-17 14. After all files have been copied to the system, the Completing t he Found New Ha rdware Wiz ar d window will open to indicate th at it has finished i nstalling “Port 0.” Click Finish to install the board’ s second port. 15. Repeat the above procedure (Step 9 to S tep 14) for the re[...]

  • Page 32

    CP-132U Series User’s Manual 3-18 How to Check the Installation There are three ways t o check the inst allation of the CP-168U Series bo ard. Device Manager 1. You can check the installation of th e board by selecting Start # Settings # Control Panel # System , to ope n the System Prop ert ies window. Select the Hardware t ab, and then click on [...]

  • Page 33

    Software Installation CP-132U Series User’s Manual 3-19 Windows 2000 Windows XP Port Configuration After the driver is installed, the MOXA CP-1 68U Installation dialog box will be displayed, and the system will map the ports automatically. If one MOX A CP-168U boa rd was install ed previously, a nd another MOXA CP-168 U board is a dded, the syste[...]

  • Page 34

    CP-132U Series User’s Manual 3-20 2. Select a COM num ber for the p ort from the Port Number pull-down list. 3. Check the Auto Enumerating COM Number chec k-box to have subsequent ports mapped to c ontinuous C OM numbers. F or exampl e, if COM 3 is a ssigned to Port 1, then COM 4 will be assigned automatically to Port 2.[...]

  • Page 35

    Software Installation CP-132U Series User’s Manual 3-21 4. Select an Rx FIFO Trigger from the Rx FI FO Level pull-down list. Rx FIFO trigger levels from High to Low are available, with the default value set to High (120 bytes). Check Set the change to a ll ports check-box to ap ply the just defi ned Rx FIFO Trigger to all ports. 5. Select a Tx FI[...]

  • Page 36

    CP-132U Series User’s Manual 3-22 Removing the Driver You can uninstall the board by first selecting Sta rt # Settings # Control Panel # System . Windows 2000 Windows XP[...]

  • Page 37

    Software Installation CP-132U Series User’s Manual 3-23 Select the Hardware tab, a nd then click on Device Manager. Use the mouse to place the cursor over the CP-1 68U Series board under Mu ltipo rt serial adapters, and then click the right mouse button. Select the Uninstall … option. Windows 2000 Windows XP Click OK to proceed with the un-i ns[...]

  • Page 38

    CP-132U Series User’s Manual 3-24 The Device Man ager window will automatically refresh to show that the driver and ports for the CP- 168U Series boa rd have been removed. Windows 95/98 The Windows 95/98 drive r supports u p to 128 seri al ports, from COM1 to COM 128. To utilize fully the advan ced multi-process and mul ti-thread featur es of Win[...]

  • Page 39

    Software Installation CP-132U Series User’s Manual 3-25 The following steps use CP-168U to illustrate the installation procedure. Installing the Driver Thanks to Windows 95/98’s Plug and Play capability, yo u can easily plug the Smartio CP-168U board into an available PCI slot, an d then get to work right away with very little installation effo[...]

  • Page 40

    CP-132U Series User’s Manual 3-26 Install the Smartio Universal PCI or PCI board in the system Start Windows 95/98 to detect the bo ard D r i v e r i n s t a l l e d b e f o r e ? Y e s No Install the driver from the driver CD. See the section, “ First Time Driver Installation ” Configure the port. See the section, “ Port Configuration ” [...]

  • Page 41

    Software Installation CP-132U Series User’s Manual 3-27 If one MOXA CP-168U board was previously installed and another MOXA CP-168 U board is pl ugged in, the sy stem will pr ompt you to s kip this stage, and take care of Port Configurati on, which i s discussed i n the next section. 1. Upon detecting the first new Smartio CP -168U Series board, [...]

  • Page 42

    CP-132U Series User’s Manual 3-28 3. Type Softw areWin9xWindow s in the Location input box, and th en click [ OK ] from the Select Other Location wi ndow. The syste m will start reading the files from the CD. 3. Select Other Devices and then click [ Next ]. 4. Click [ Finish ]. 4. Click [ Have Dis k ]. 5. Type Soft wareWin9x Windows and cli[...]

  • Page 43

    Software Installation CP-132U Series User’s Manual 3-29 Board and Port Ready The final sta ge of the drive r installati on process is slig htly differe nt for Window s 95 and Windows 98. Af ter this stage, dr iver installatio n is complete. Windows 95 W indows 98 After port configur ation, you can immediately us e the COM ports of the Smartio CP-[...]

  • Page 44

    CP-132U Series User’s Manual 3-30 Configuring the Board and Ports Follow the p rocedures give n below to re -configure the C OM number f or the ports of installed boar ds and drivers under Wind ows 95/98. In addition to following the procedures listed below, you may also click on [Start] # [Programs] # [MOXA Utility] # [MOXA Smartio/In dustio Con[...]

  • Page 45

    Software Installation CP-132U Series User’s Manual 3-31 2. Click o n the desired CP -168U board, and then click on [Properties] . 3. Select the [Por ts Configurati on] tab, click on the specific port, and t hen click on the [Port Setting] butt on. 4. Check the Auto Enumerating COM Name check- box to assign co ntinuous COM numbers for subsequent p[...]

  • Page 46

    CP-132U Series User’s Manual 3-32 all ports. 6. Select a Tx FIFO Size from the T x FIFO Level pull-down list. Tx FIFO Levels from High to Low are available, with the d efault set to High (128 bytes). Check Set the change to all ports c heck-box to apply the just defi ned Tx FIF O Size to all ports. CP-132UL V2/CP-132UL-I V2 CP-132UL/CP-132U-I Tx [...]

  • Page 47

    Software Installation CP-132U Series User’s Manual 3-33 3. Select the [Driver] t ab, and click o n [Update Driver...] . 4. Click on [Have Disk...] and type the path of the new driver.[...]

  • Page 48

    CP-132U Series User’s Manual 3-34 5. Insert the driver CD into the CD-ROM drive, and then click [OK] in the Install from Disk window. 6. The system will automatically prompt you to restart the system. Click [Yes] to restart the system, or [No] if you want to reboot the system later. Removing the Driver This section e xplains how to remove the Sm [...]

  • Page 49

    Software Installation CP-132U Series User’s Manual 3-35 3. Click [Yes] in the following message box to confirm that you want to remove the driver. 4. Click [OK] in the A dd/Remove Pr ograms Properties dialog box. Windows NT Windows NT supports up to 256 serial port s, from COM1 to COM256. To utilize fully Windows NT’s multi-process and multi-th[...]

  • Page 50

    CP-132U Series User’s Manual 3-36 ! Universal PCI Boards: CP-168U, CP-104UL, CP-104 JU, CP-134 U, CP-134U-I, CP-132UL, CP-132UL- I V2(CP-132U-I V1) ! PCI Boards : C168H/PCI, C104H/P CI, C104HS/PCI, CP-114, CP-114I, CP-1 14S, CP-114IS, CP-132, CP-132I , CP-132S, CP-132IS ! ISA Boards: C168H, C168HS, C168P, C104H, C104HS, C104P, CI-104J, CI-104JS, [...]

  • Page 51

    Software Installation CP-132U Series User’s Manual 3-37 6. Select MOXA Smartio/Industio Family multiport board in the Select OEM Option dialog box, a nd then click [OK] to start installing the driver. 7. The Moxa Smarti o/Industio Configuration Panel dialog box appears. Click the [Add] button t o open the Pr operty dialog box to ch ange port sett[...]

  • Page 52

    CP-132U Series User’s Manual 3-38 8. Select the just installed CP-168U board from the Board Type pull-down list, click on a specific port item, and then click on th e [Port Setting] button to open the Port X window. 9. Select a COM num ber for the specific port from Port Number pull-down list. 10. Check the Auto Enumerating COM Numb er check-box [...]

  • Page 53

    Software Installation CP-132U Series User’s Manual 3-39 CP-132UL V2/CP-132UL-I V2 CP-132UL/CP-132U-I Tx FIFO Rx FIFO Tx FIFO Rx FIFO High 128 120 64 56 Middle 64 60 32 28 Low 1 1 1 1 Unit: Bytes 13. Click OK in the Port X dialog box to confirm the port settings, and th en click OK in the Property dialog box to complete the port settings and retur[...]

  • Page 54

    CP-132U Series User’s Manual 3-40 NOTE Double check t hat all Smartio CP -168U board c omponents—i ncluding the control board—are connected and fastened tightly to ensure that the system and driver can start up. Once the system restarts, you m a y check the event log issued by the MOXA driver to see if the board’s ports have b een initializ[...]

  • Page 55

    Software Installation CP-132U Series User’s Manual 3-41 3. Click on [Property] from the MOXA Smartio/Industio Configuration P anel to open the Property window. 4. Next, refer to the instructions given in the previous section, “ First Time Driver Installation ” from the “ Windows NT ” section.[...]

  • Page 56

    CP-132U Series User’s Manual 3-42 Configuring Another CP-168U Board In this section, we explain how to configure another MOXA CP- 168U board that is already installed. Up to four CP-168U board s can be installed in one system unde r Windows NT, provided sufficient system resources are avai lable. In addition to the procedures listed below, you ma[...]

  • Page 57

    Software Installation CP-132U Series User’s Manual 3-43 4. Next, refer to the instructions from the “ First Time Driver Installation ” subsection. Removing an Existing CP-168U Board Configuration First shut down your PC, and then physically remove the CP-168U board from the PCI or PCI-X slot. The next time you start up the PC, the system will[...]

  • Page 58

    CP-132U Series User’s Manual 3-44 Updating the Driver Take the following steps to upda te the Smartio CP-168U board driver. 1. Open [ Contr ol Panel ], click on the [ Network ] icon, and select the [ Adapters ] tab. 2. Click on MOXA Smartio/Industio Family Adapter from the Network Adapter list. 3. Click the [ Remove ] button in the Network dialog[...]

  • Page 59

    Software Installation CP-132U Series User’s Manual 3-45 4. Click the [Close] button to ex it the Network di alog box. 5. Restart the system to activate the new configuration. DOS MOXA DOS AP I-232 is a soft ware package that assist s users in devel oping new programs, or debuggin g existing pro grams for se rial communi cations. This sectio n exp[...]

  • Page 60

    CP-132U Series User’s Manual 3-46 2. After the installation is complete, a message window will open to ask if you want to run the SETUP.EX E file. It is str ongly recomm ended that you p ress Y to run this SETUP.EXE file.[...]

  • Page 61

    Software Installation CP-132U Series User’s Manual 3-47 Setting up the Driver The following steps use CP-134U to illustrate. This section does not cover all functions from the setup program that y ou might see duri ng the confi guration proce ss. If necessary, press F1 to refer to the on-line help instructio ns. 1. Run the BINSETUP.EXE file. 2. [...]

  • Page 62

    CP-132U Series User’s Manual 3-48 3. Press PgDn to configure the port settings, including port number, flow control, etc. You may ent er or modify the settings of each port at t his stage. The val ues display ed first are the port’s initial values that were set up when installing the driver. NOTE Up to this point, you have completed the configu[...]

  • Page 63

    Software Installation CP-132U Series User’s Manual 3-49 the structure of the program. TxD buffer size The TxD buffer is the transmission (output) buffe r allocated by the system for each port. RxD buffer size The RxD buffer is the recei ving (input) buffe r allocated by the system for each port. F5 Group Edit This is a convenient function that al[...]

  • Page 64

    CP-132U Series User’s Manual 3-50 can execute ap plications that support API-2 32 functions, or start devel oping applicati ons using the API-232 library. Unloading the Driver To unload (release) the driver from memory, type DP-DRV/Q at the DOS prom pt. Linux The Linux d river for MOX A’s multiport serial boards s upports the following pr oduct[...]

  • Page 65

    Software Installation CP-132U Series User’s Manual 3-51 4. # modprobe mxser <- Universal PCI or PCI (If you inst all ISA Boards, ase type com mand # insm od mxser ioad dr=0x???, 0x ???, 0x???, 0x ??? <- 1st ISA, 2nd IS A, 3rd ISA, 4th IS A) Using /lib/modules/2.4.20-8/ke rnel/drivers/char/m xser .o W arning: loadi ng /lib/modules/2.4.20-8/k[...]

  • Page 66

    [...]

  • Page 67

    4 4 Chapter 4 Serial Programming Tools Moxa suppo rts an easy to use yet powerful serial program ming libra ry and comm unication troubleshooting utilities under Windows NT, Windows 95/98, and Windows 2000/XP/2003.You can save a lot of development ti me by using MOXA’s Serial Programmi ng Tools. The following sections give details about the in st[...]

  • Page 68

    CP-132U Series User’s Manual 4-2 PComm Programming Library The serial com munication li brary helps you develop pro grams for seri al communicati ons for any COM port complying with the Mi crosoft Win32 API. It facilitates th e implementation of multi-process and multi-thread serial communicatio n programs, and consequentl y greatly reduces devel[...]

  • Page 69

    Software Installation CP-132U Series User’s Manual 4-3 Monitor (for MOXA boards under Windows NT/2000/XP/2003) A useful po rt status moni toring program allows you to m onitor data t ransmission of selected MOXA COM ports. It monitors da ta transmission/receivi ng throughput, and communicat ion line status, wit h data updated a nd displayed on th[...]

  • Page 70

    CP-132U Series User’s Manual 4-4 Terminal Emulator Terminal Em ulator can be use d to connect to va rious ports t o see if data transm ission is functioning correctly. Terminal Emulator feat ures multi-windows, and supports VT100 and ANSI terminal types. You can transfer data interactively, sen d patterns periodically, and transfer files using AS[...]

  • Page 71

    Software Installation CP-132U Series User’s Manual 4-5 RS-485 Programming If you intend to use your CP-132UL Series board for RS-485 applications, you can refe r to the RS-485 pr ogramming gui de below, and al so see the chapter, “Connection Cables and Cable Wiring ,” for more details about RS -485 operati on. The CP-132UL Series suppor ts on[...]

  • Page 72

    CP-132U Series User’s Manual 4-6 and receiving), since it is automatically ma naged with the board’ s built-in intelligent hardware mechanism. This m eans that RS-485 programming us ing ADDC™ mode is just as simple and straight forward as RS-232 or RS-42 2 programming . How to transmit and receive data for Windows 95/98NT/2000/ XP/2003 In ord[...]

  • Page 73

    5 5 Chapter 5 Connection Cables and Cable Wiring In serial data c ommunicati ons, the term DTE stands for Data Terminal Equi pment, such as a PC’s COM1/2, serial printers, and terminals. The term DCE stands for Data Communi cation Equipment , such as modems.[...]

  • Page 74

    CP-132U Series User’s Manual 5-2 RS-422/485 Pinouts and Cable Wiring RS-422 Interface The RS-422 standard uses a balanced voltage digital interface to allow 9600 bps communication over cables of up to 4000 feet in length. Ten receivers can be connecte d to any one driver for broadcasting systems. RS-485 Interface The RS-485 st andard is an e nhan[...]

  • Page 75

    Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-3 Pinouts RS-422/485 pinouts for CP-132UL Series CP-132UL (RS-422/485) RS-422 and 4-wire RS-485 2- wire RS-485 8 CTS-(A) 9 RxD-(A) Data-(A) 10 RTS-(A) 11 RTS+(B) 12 RxD+(B) Data+(B) 21 TxD-(A) 22 SGND 23 CTS+(B) Port 1 24 TxD+(B) 2 TxD-(A) 3 SGND 4 CTS+(B) 5 TxD+(B) 14 CTS-(A) 15 [...]

  • Page 76

    CP-132U Series User’s Manual 5-4 RS-422 pinouts for CP-132UL Series CP-132UL (RS-422) 1 TxD-(A) 2 TxD+(B) 3 RxD+(B) 4 RxD-(A) 5 GND 6 RTS-(A) 7 RTS+(B) 8 CTS+(B) 9 CTS-(A) 2-wire RS-485 pinouts for CP-132UL : CP-132UL (2- wire RS-485) 1 --- 2 --- 3 Data+(B) 4 Data-(A) 5 GND 6 --- 7 --- 8 --- 9 --- 4-wire RS-485 pinouts for CP-132UL Series CP-132U[...]

  • Page 77

    Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-5 Cable Wiring RS-422 Point-to-poi nt RS-422 Broadcasting CP-132UL RS-422 Device CP-132UL RS-422 Device 1 2 TxD+(B) RxD+(B) 2 TxD+(B) RxD+(B) 1 TxD-(A) RxD-(A) 3 RxD+(B) TxD+(B) 3 RxD+(B) TxD+(B) 1 TxD-(A) RxD-(A) 4 RxD-(A) TxD-(A) 4 RxD-(A) TxD-(A) 5 GND GND 5 GND GND RS-422 Devi[...]

  • Page 78

    CP-132U Series User’s Manual 5-6 Multidrop 2-wir e RS-485 (half-duplex) CP-132UL RS-485 Device 1 Master Slave 3 Data+ Data+ 4 Data- Data- 5 GND GND RS-485 Device N Slave Data+ Data- GND Multidrop 4-wir e RS-485 (full-duplex) CP-132UL RS-485 Device 1 Master Slave 2 TxD+(B) RxD+(B) 1 TxD-(A) RxD-(A) 3 RxD+(B) Tx D+(B) 4 RxD-(A) TxD-(A) 5 GND GND RS[...]

  • Page 79

    Connection Cables and Cables Wiring CP-132U Series User’s Manual 5-7 Impedance Matching and Termination Resistors When using RS-422/485 se rial communicati ons , an electrical signal that travels t hrough two different resistance junctions in a tran smi ssion line will sometimes give rise to signal reflection due to the impedanc e mismatch. Signa[...]

  • Page 80

    [...]

  • Page 81

    6 6 Chapter 6 Troubleshooting Common CP-132UL Series problems and possible solutions are listed below. If you still have problems after readi ng this chapter, contact your dealer or Moxa for help, or use the Problem Report Form at the end of this manual to report problems to your dealer. General Troubleshooting 1. The MOXA PCI board cannot be detec[...]

  • Page 82

    CP-132U Series User’s Manual 6-2 2. The MOXA board and driver are activate d but cannot transfer (transmit/receive) data. Hardware Causes and Solutions: a. Make sure the cable wiring is co nnected correctly. Refer to the “ Connection Cable and Cable Wiring ” chapter for correct cable connections . b. The cable or t he board are probably defec[...]

  • Page 83

    Technical Reference CP-132U Series User’s Manual 6-3 Windows NT This section is specifically for troubleshooting under Windows NT. For general problems and solutions, see the previous sec tion, “ General Troubleshooting.” 1. After the system reboots, the error message “Another driver in the system, which did not report its resources, has al[...]

  • Page 84

    CP-132U Series User’s Manual 6-4 Windows 95/98 This section is specifically for troubleshooting under Windows 95/98. For gen eral problems and solutions, see the previous sec tion, “ General Troubleshooting.” 1. The system fails to find the CP-132U Series board! ! The board(s) is(are) not p lugged properly. ! The slot the boards are plugged i[...]

  • Page 85

    A A Appendix A Technical Reference Specifications Bus interface 32-bit PCI Number of por ts 2 Max. No. of boards 4 I/O address Assigned by PCI BIOS IRQ Assigned by PC I BIOS Comm. cont roller MOXA UART ( 16C550C co mpatible) Transmission speed 50 bps to 230.4 Kbps (CP-132UL, CP-132U-I) 50 bps to 921.6 Kbp s (CP-132UL V2, CP-132U L-I V2) Data bits 5[...]

  • Page 86

    CP-132U Series User’s Manual A-2 Power requi rement C P-132UL 220 mA (+5 V) CP-132UL V2 120 mA (+5V) CP-132U-I 578 mA (+ 5V) CP-132UL-I V2 490 mA (+5V) Dimensions (W × D) CP-132U L 120 × 64.5 mm CP-132UL V2 120 × 64.5 mm CP-132U-I 120 × 100 mm CP-132UL-I V2 120 × 64.5 mm PCI The 32-bit CP-132UL Series b oard complies with PCI Specifications [...]

  • Page 87

    Technical Reference CP-132U Series User’s Manual A-3 Return Procedure For product repair, excha nge, or re fund, the custom er must: $ Provide e vidence of origi nal purchase. $ Obtain a Product Return Agreement (PRA) from the sales representative or dealer. $ Fill out the Problem Report Form (PRF). In clude as much detail as po ssible for a shor[...]

  • Page 88

    CP-132U Series User’s Manual A-4 Revision History Document Edition Revision Date Revision Deta ils 3 rd January 27, 2004 1. Update the edition of this manual on the title page. 2. Change the contact phone number on the title p age. 3. p. 5-4 Add 4-wire RS -485 pinouts. 4 th July 23, 2004 1. Updated the edition of this manual on the title page. 2.[...]