Moxa Technologies CP-134U manuel d'utilisation

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

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Moxa Technologies CP-134U. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Moxa Technologies CP-134U ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Moxa Technologies CP-134U décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Moxa Technologies CP-134U devrait contenir:
- informations sur les caractéristiques techniques du dispositif Moxa Technologies CP-134U
- nom du fabricant et année de fabrication Moxa Technologies CP-134U
- instructions d'utilisation, de réglage et d’entretien de l'équipement Moxa Technologies CP-134U
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Moxa Technologies CP-134U ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Moxa Technologies CP-134U et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Moxa Technologies en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Moxa Technologies CP-134U, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Moxa Technologies CP-134U, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Moxa Technologies CP-134U. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Industio CP-134U Series User ’ s Manual Industrial 4-Port RS-422/485 Serial Board for PCI Bus www .moxa.com/product Fif th Edition, January 2004 This manual is also availabl e on CD-ROM and at Moxa’s Website 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[...]

  • Page 2

    Industio CP-134U Series User’s Manual The software d escribed in this m anual is furnis hed under a license agreem ent and may be used 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 prohibit ed. Trademarks MOXA is a re [...]

  • 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 Inter net Services has been set up to provide technical support, driver updates, product information , and user’s manual updates. The following services are provided E-mail for tech nical support.[...]

  • Page 4

    Table of Contents 1 Introducti on ........................................................................... 1-1 Overview ....................................................................................................... 1-2 Features ......................................................................................................... 1-4 [...]

  • Page 5

    1 1 1 Introduction Welcome to the MOXA CP-134U Series of indust rial 4-port RS-422/485 serial boards for the PCI bus. The following topics are covered in this chapter:  Overview  Features  Package Checklist[...]

  • Page 6

    Overview Industio—The Industrial Multiport Async Solution Moxa Industio products are smart, multiport serial I/ O solutions for industrial applications. The Industio CP-134U Series boards , includi ng CP134-UI and CP-134UL , are de signed for a 32-bit PCI bus with the Plug and Play and Universal PCI feature. The ports for these boards can be conf[...]

  • Page 7

    Introduction PCI BIOS. This means that th e board MUST be pl ugged into the com puter first before installing the driver so ftware. For more PCI information, refer to the Technical Reference Appendi x. Universal PCI The 32/64-bit PCI local bus sp ecification specifies both 3.3V and 5V connector types for the PCI hardw are. Moxa’s un iversal PCI c[...]

  • Page 8

    Features The Industio CP-134U Series includes the following products: CP-134U 4 RS-422/485 po rts, Universal PCI inte rface with embedded Surge Protecti on and Isolation P rotection (16 KV ESD, 2 KV Isolation) CP-134UI 4 RS-422/485 po rts, Universa l PCI interf ace with embedded Surge Protection a nd Isolation P rotection Below we list the outstand[...]

  • Page 9

    2 2 2 Hardware Installation You will need to install both hardware and so ftware for Industio CP-134U Series boards. The hardware install ation procedure is given in this chapter, and the next chapter deals wi th software installation for vario us operating system s. The foll owing topics are cov ered in this chapter:  CP-134 Series Block Diagra[...]

  • Page 10

    CP-134U Series Block Diagrams Industio CP-134U Series boa rds’ hardware config uration for IRQ num ber and I/O address is automat ically assigned by t he PCI BIOS. This m eans that the boa rd MUST be plugge d in first before installing the driver software. CP-134UI Industio CP-134U Series User’s Manual 2-2[...]

  • Page 11

    Hardware Installation CP-134U The Industio CP-134U Seri es has two 30-pin jumpers and t wo sets of four DIP Switches on the board that allow the us er to set the seri al interface for each of t h e board’s four ports. Ports 1 and 2 c an be set to RS -232, RS-422, RS-485 (2-wir e), or RS-485 (4- wire). Ports 3 and 4 can be set to RS-422, RS -485 ([...]

  • Page 12

    Jumper Settings The two on-board 30-p in jumpers are us ed to select between the RS-23 2 and RS-422/485 serial interfaces. If you select RS-422/485, th en you will also need to set the DIP Switches to select between RS-422 , RS-485 (4-wire), an d RS-485 (2-wire). Note that the two ports can be configured inde pendently. Jumper pins : Top for Port 1[...]

  • Page 13

    Hardware Installation Port 1 DIP Switch Settings S1-1 S2-1 RS-232 — — RS-422 — OFF RS-485 (2-wire) ON ON RS-485 (4-wire) OFF ON Port 2 DIP Switch Settings S1-2 S2-2 RS-232 — — RS-422 — OFF RS-485 (2-wire) ON ON RS-485 (4-wire) OFF ON Industio CP-134U Series User’s Manual 2-5[...]

  • Page 14

    Port 3 DIP Switch Settings S1-3 S2-3 RS-422 — OFF RS-485 (2-wire) ON ON RS-485 (4-wire) OFF ON Port 4 DIP Switch Settings S1-4 S2-4 RS-422 — OFF RS-485 (2-wire) ON ON RS-485 (4-wire) OFF ON Industio CP-134U Series User’s Manual 2-6[...]

  • Page 15

    Hardware Installation Installing the Industio CP-134U Series Board St e p 1 : Power off the PC. Wa r n i n g ! T o avoid damaging your system and board , make sure your computer is turned off before installing any board. St e p 2 : Remove the PC’ s cover . St e p 3 : Remove the sl ot cover bracket if there is one. St e p 4 : Plug the Industio CP-[...]

  • Page 16

    [...]

  • Page 17

    3 3 3 Software Installation In this chapter, the software driver installa tion, configurati on, and driver update/removal procedures are described for various operating system s, including Window s NT, Windows 95/98, Windows 2000/XP, a nd Linux. Before pr oceeding with the s oft ware installation, complete the hardware installation, discu ssed in t[...]

  • Page 18

    Windows NT Windows NT suppo rts up to 256 serial ports, from COM1 to COM256 . To fully integrate the advanc ed features of W indows NT, Moxa has developed multi-process and multi-thread, pure 32-bit W indows NT device d rivers for the Industio CP-134U Series m ultiport boards. The driver conforms to th e W in32 COMM API standa rd.  T o install t[...]

  • Page 19

    Software Installation Installing the Driver The following proced ure is for installing th e Industio CP-134U Series driver for the first time under Windo ws NT 4.0. Before ta king these steps, m ake sure the board(s) have already been pl ugged into the system’s PCI sl ot(s). 1. Log into NT as Administrator . 2. Open the [ Control Panel ], click o[...]

  • Page 20

    5. Select “ MOXA Smartio / Industio Fa mily multiport board ” from the “Select OEM Option” dialog bo x, and then click [ OK ] to enter the “ MOXA Smartio/Indus tio Configuration Panel ” dialog box to start the installation. 6. Click the [ Add ] butt on to open t he Property dialog box to chan ge port settings a nd advanced FIF O configu[...]

  • Page 21

    Software Installation 8. The [ Port # ] window will open to allow you to chang e settings, as described below , for that partic ular port. Port Number Y ou must set up all of the board’ s ports with the desired “ COM number ,” which Industio CP-134U Series User’s Manual 3-5[...]

  • Page 22

    should not conflict wit h other COM num bers in use. In t his “Individual P ort Setting” dialog box, t here are two ways to map physical po rts to COM num bers, depending on whether you check the “ Auto Enumerating COM Number ” box. If “Auto Enumerating COM Num ber” is check ed, and the COM number of the first port is specifie d, then s[...]

  • Page 23

    Software Installation 10. When you have finish ed the configuration, click on the [Close] button in the “Netwo rk Settings” dialog bo x. 11. Restart the W indows NT system. The new co nfiguration will take effect when the system restarts. Note ! The latest configuration will not take effect unless the system restarts. 12. Once the system restar[...]

  • Page 24

    Note ! Once the board and the driver are installed an d the driver restarts successfully , you can start to de velop applications with t he PComm library (see the “Serial Progra mming T ools” chapter) or t he Microsoft W in32 API. Y ou can also execute ready-made applications, such as PComm utility T erminal emulator (see “Serial Programming [...]

  • Page 25

    Software Installation Y ou may use this co nfiguration panel to:  Click on [ Property ] to enter the “Prope rty” dialog box to configure th e selected board with the correct “COM Number ,” “Rx FIFO T rigger ,” and “Tx FIFO Size.” See S teps 8 and 9 in the previous section, “Installing the Driver ,” for more details.  Click[...]

  • Page 26

    Removing the Driver To remove the driver for the Industio CP-134U Series b o a rd , 1. Open the [ Control Panel ], click on the [ Network ] icon, and select the [ Adapters ] tab. 2. Select “ MOXA Smartio / Industio Family Adapter ” from the adapter list, and then click on the [ Remove ] button, and then click [ OK ] to remove the driver . 3. Re[...]

  • Page 27

    Software Installation Install the Smartio PCI board in th e system. Start W indows 95/98 to d etect the board. D r i v e r i n s t a l l e d b e f o r e ? Y e s N o Install the driver from the diskette. See the “ First T ime Driver Installation ” section. Configure the port. See the “ Port Configur ation ” section. The Industio CP-134U Seri[...]

  • Page 28

    First Time Driver Installation Stage This stage presents the step s for installing the Industio CP-134U Series board driver for the first time. The installation of the Industio CP-134U Series board for Windows 95 and Windows 98 are sligh tly differ ent and will be described in two columns. Follo w the steps in the left colu mn for Windows 95, or th[...]

  • Page 29

    Software Installation Windows 95 Windows 98 3. T ype A:Windows.95 in the Location field, and then click [ OK ] in the [ Select Other Location ] window . The system will start reading the files from the disket te. 3. Select Other Devices and t hen click [ Next ] to continue. 4. Click on [ Finish ]. 4. Click on [ Have Disk ]. Industio CP-134U Series[...]

  • Page 30

    Windows 95 Windows 98 5. T ype E:Sof twareW in98W indows.95 and then click [ OK ]. The system will start reading the files from the diskette. 6. Click on [ Next ] to continu e. 7. Click on [ Next ] to continu e. Industio CP-134U Series User’s Manual 3-14[...]

  • Page 31

    Software Installation Port Configuration Stage This stage presents the steps for configuring the Industio CP-134U Series boa rd’s ports under Windows 95/98. After the driver is installed, the CP-134U Series Installation window wil l appear automatically, and the port mapping will be done auto matically by the system. If one CP-134U Series bo ard [...]

  • Page 32

    defined Rx FI FO T rigger to all ports. 7. Select a Tx FIFO Size from the Tx FIFO Si ze pull-down list. Tx FIFO sizes from 1 to 64 bytes are availabl e, with the default value set at 64 bytes. 8. Check the [ Set the change to al l ports ] check-box if you want to apply the just defined Tx FIFO Size to all p orts. 9. Click the [ OK ] button in the P[...]

  • Page 33

    Software Installation Board and Port Ready Stage The Board and Port Ready Stages for Windows 95 and Windo ws 98 are slight ly different . This last stage completes the driver installation. Windows 95 Windows 98 After configuring th e ports, restart W ind ows 95 before usin g the Industio CP-134U Series board’ s COM ports. After configuring the po[...]

  • Page 34

    Configuring the Board and Ports Follow the procedur e given below if you would lik e to reconfigure the COM nu mbers of ports for bo ards that are alr eady installed und er Windows 95/98. Since this is a PCI board, once the board is added or unplugged, the configu ration will be automatically added or removed by the system. 1. Open the [ Control Pa[...]

  • Page 35

    Software Installation you woul d like to change. 4. Click on the Por t Setting button to open the Por t x window . Note! Step 5 is optional if you want to assign COM numbers to the Port m anually . 5. Check the [ Auto Enumerating COM N ame ] check-box to assign continuous COM numbers for subsequent po rts. For exampl e, if COM 3 is ass igned to Por[...]

  • Page 36

    6. Re-assign the Rx FIFO T rigger by selec ting a number from the pull-down list. Check the [ Set the change to all ports ] check-box if you want to app ly this setting to all ports. Rx FIFO trigger levels of from 1 to 62 bytes are available, with the default value set at 64 bytes. 7. Re-assign the Tx FIFO Size by select ing a number from the pull-[...]

  • Page 37

    Software Installation 2. Once the CP-134U Series Port x [COM y ] Properties window opens, click o n the Port Settings tab. 3. You may now m ake modifications t o Bits per second , Data bits , Parit y , Stop bits , or Flow control . Industio CP-134U Series User’s Manual 3-21[...]

  • Page 38

    4. Clic k OK to accept the changes. Updating the Driver This section will discuss how to update the Wi ndows 95/98 driver to enhance th e function of the board. 1. Open the [ Control Panel ], click the [ System ] icon, and select the [ Device Manager ] tab. 2. Click on MOXA CP-134U Seri es and then click on [ Properties ]. 3. Select the [ Driver ] [...]

  • Page 39

    Software Installation 4. Click on the [ Update Driver ... ] button. 5. Click on the [ Specify a location ] checkbox and either type in the path to the file, or click on [ Browse ] to use Wi ndows Exp lorer to locat e the file, and then click on [ Next ] to continue. 6. Insert the source dis kette in the floppy drive or CD -ROM drive. 7. Click on [ [...]

  • Page 40

    Removing the Driver This section ex plains how to rem ove the Industio CP-134U Series board driver. 1. Open the [ Control Panel ], double click on the [ Add /Remove P rograms ] icon, and then select the [ Install/Uninstall ] tab. 2. Click on the MOXA Smartio/Indu stio Driver option and then click on the [ Add/Remove ] button to start the driver rem[...]

  • Page 41

    Software Installation Windows 2000/XP Windows 2000/X P supports up to 256 serial ports, from COM 1 to COM256 . To fully utilize Windows 20 00/XP’s multi-process an d multi-thread advanc ed features, pure 32-bit Windows 2000 /XP device drivers were deve loped for the Industio CP-134U Series and other MOX A multiport boards. The dri vers conform to[...]

  • Page 42

    Industio CP-134U Series 3-26 User’s Manual 3. Select Sear ch for a suitable driver… and then click on Next to continu e. 4. Select Specify a loca tion and then click on Next to conti nue. 3. Select Search for the bes t driver… and then click on Next to contin ue. 4. W ait while the installation wizard searches.[...]

  • Page 43

    Software Installation 5. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as F:/multi_bd/software/win2k as sh own below (change the drive letter if needed). Click OK to continue. 6. Clic k Next to copy the driver files to your system. 5. W ait while the driver software is installed. 6. The next wi ndow show[...]

  • Page 44

    7. The next window shows t he model number of the board, and indicates that W indows has completed the driver installation. Click on Finish to continue with the rest of the installation procedure. 8. The ne xt Found New Har dware Wizard window to appear indicates that Wi ndows has identified the board’ s serial ports, and is starting to install t[...]

  • Page 45

    Software Installation 10. Select Search for a suitable driver for my device [recommended] , and then click on Next to conti nue. 11. Select Specify a location and then click on Next to cont inue 8. Select Install the software from a specific location and then click on Next to continue. 9. Input the location of the driv er in the text input box, or [...]

  • Page 46

    Next to conti nue. 12. Insert the Moxa Driver CD into the CD-ROM drive, and then specify the location of the file as F:/multi_bd/software/win2k as sh own below (change the drive letter , if needed). Click OK to continue. 13. Cli ck on Next to continue with th e 10. W ait while the installation wizard search es. 11. W ait while the wizard installs t[...]

  • Page 47

    Software Installation installation. 14. After all files have been copied to the system, the Completing t he Found New Hardware Wiz ar d w indow will open to indicate that it has finished i nstalling “Port 0 .” Click on Finish to install the board’ s second port. 12. After all files have been copied to th e system, the Completing t he Found Ne[...]

  • Page 48

    How to Check the Installation There are three ways t o check the inst allation of the CP-134 U Series board. Device Manager 5. You can check the instal lation of the boar d by selecting Start  Settings  Control Panel  System , and t hen click on the Device Manager button. Windows 2000 Windows XP Industio CP-134U Series User’s Manual 3-32[...]

  • Page 49

    Software Installation If the driver in stallation was successful, you will be able to see the model num ber of the CP-134U board listed under Multi-port serial adapters . You may al so expand the P orts (COM & LPT) item to check the status of the COM ports. If you see a question m ark on top of t he icon, then the i nstallation m ight have a pr[...]

  • Page 50

    Removing the Driver 1. Y ou can uninst all the board by selecting St a r t  Settings  Control Panel  System . Windows 2000 Windows XP Industio CP-134U Series User’s Manual 3-34[...]

  • Page 51

    Software Installation 2. Select the Hardware tab, and then click on Device Manager . Use the mouse to place the cursor over the CP -134U Series boa rd under Mul ti-port serial adap ters , and then clic k the right m ouse button. Select the Uninstall… option. Windows 2000 Windows XP 3. Clic k OK to proceed with the un-i nstallation of the board. W[...]

  • Page 52

    4. The Device M anager window will automatically refresh to show that the driver and ports for the CP-134U Series board ha ve been removed. Industio CP-134U Series User’s Manual 3-36[...]

  • Page 53

    Software Installation Linux NOTE: This se ction applies t o Linux kernel 2 .2.14 or later. The Moxa Smartio/Industio driver is included in the Linux kernel 2.2.14 or later versions. However, to use this built-in driver, you need so me additional utilities that can be downloaded from the Mox a website, or softwa re CD-ROM. We suggest that you back u[...]

  • Page 54

    msdiag Diagnost ic program for displaying inst alled Moxa Sm artio/Industio boa rds. msmon Monitoring program to observe data count a nd line status si gnals. msterm A sim ple ter minal program which is useful when testing serial ports. io-irq.exe Configuration pr ogram for set ting up ISA boards. Please note that this program can only be executed [...]

  • Page 55

    Software Installation installing the bo ard. PCI IRQ Sharing Each port on the same multiport board will share the same IRQ. Up to 4 Moxa Smartio/Industio PCI Family multiport boards can be installed together on the same system, and it’s quite possible that they will all share the same IRQ. However, since the IRQ is assigned auto matically by the [...]

  • Page 56

    2nd board ttyM8 - tt yM15 cum8 - cum 15 3rd board tt yM16 - ttyM23 cum16 - cum 23 4th board ttyM24 - t tym31 cum24 - cum31 Board sequence This driver will activate ISA boards according to the parameter set in the driver. After all specified ISA boards have been activated, PCI board will be installed in the syste m automatically driven. Th is mean s[...]

  • Page 57

    Software Installation the source code if you modify the source c ode . For example, if y ou change the driver's major number (see Section 3.7), then you will need to redo this step. Find "Makefil e" in /moxa/mxser, a nd then run # make clean; make install The driver files "mxser.o" and utilities will be properly compiled an[...]

  • Page 58

    # mv mxse r. c mxs er .c. ol d For Red Hat 7.x users, you must create a link: # cd /usr/src # ln -s linux-2.4 linux 2. Create link # cd /usr/src/linux/drivers/char # ln -s /moxa/m xser/driver/mxser.c mxser.c 3. Configure the k ernel: # cd /usr/src/linux # make m enuconfig You will go into a menu-driven sy stem. Please select [Character devices][Non[...]

  • Page 59

    Software Installation # make clean; make install 7. Reboot Static driver configuration (for Linux kernel 2.0.3x, and 2.2.14 or earlier) 1. Create link # cd /usr/src/linux/drivers/char # ln -s /moxa/m xser/driver/mxser.c mxser.c 2. Modify tty_i o.c # cd /usr/src/linux/drivers/char/ # vi tty_io.c Find pty_init (), insert "mxser_init()" as p[...]

  • Page 60

     If you use the 'lilo' utility, yo u should check the /etc/lilo .conf 'image' ite m specified in the 'vmlinuz ' path, or you will load the wro ng (or old) boot kernel image (vmlinuz). After checking /etc/lilo.conf, run "lilo". Note that if the result of "make bzImage" is ERROR, then you must go b[...]

  • Page 61

    Software Installation 3. Insert the new ma jor numbers into t he driver’s source c ode. Run vi to open /moxa/m xser/driver/m xse r.c. Locate the line that contains "MXSERMAJOR", and change the content as below: #define MXSERMAJ OR 40 #define MXSERCUM AJOR 45 4. Run "make clean; make inst all" from /m oxa/mxser/driver. Verifyin[...]

  • Page 62

    Setserial Supported Setserial parameters are listed as below. uart set UART type (164 50-->disable FIFO, 1655 0A-->enable FIFO) close_delay set the amount of tim e(in 1/100 of a second ) that DTR should be kept low while bein g closed. closing_wait set the amount of tim e (in 1/100 of a secon d) that the serial port s hould wait for data to b[...]

  • Page 63

    Software Installation equal to zero) for one Moxa boar d. Error msg: No interrupt ve ctor can be set for the Moxa ISA board (CA P=xxx). Solution: Moxa ISA boards need an i nterrupt vector. Refer to the "Hardware Installation" chapt er from the user' s manual to set an interrupt ve ctor. Error msg: Couldn't install the MOXA Smart[...]

  • Page 64

    [...]

  • Page 65

    4 4 4 Serial Programming Tools Moxa suppo rts an easy to use y et powerful se rial programmi ng library and com munication troubleshooting utilities under Windows NT, Windows 95/98, Wind ows 2000/XP, and DOS. You will save a lot of development time by using MOXA’s Serial Programming Tools. The following sections detail the installatio n, the libr[...]

  • Page 66

    PComm Installation To install PComm , run Setup.exe from the diskette. Note that the PComm diagnostic and monitor utilities are for MOXA boards only. MOXA W indows NT, Windows 95/98, or Windows 2000/XP device drivers, as well as MOXA boards are required. The drivers are installed separately, with details giv en in the “Software Installation” c[...]

  • Page 67

    Serial Programming Tools How to transmit and receive data for Windows NT, and 95/98 In order to ac quire precise tim ing control for RS-4 85 2-wire transmi ssion, we recommend that you configure you r Industio CP-134U Series ports as described below . There are 2 solutions to control RS-485 2-wire transmission . Solution 1 The followin g method is [...]

  • Page 68

    [...]

  • Page 69

    5 5 5 Connection Cables and Cable Wiring Pinouts and Cable Wiring The CP-134U Series boards have one DB44 female por t on the board that sends sign als to four indepe ndent serial ports. The DB44 (Male) to 4 x DB9 (Male) cable (Model CBL-M44M9x4) or DB44 (Male) to 4 x DB25 (Male) (Model CBL-M44M25x4 ), both of which are a vailable from Moxa , can b[...]

  • Page 70

    RS-232 Interface When ports 1 an d/or 2 are configured for the RS-232 interface, the pinou ts are as shown below. CP-134U (RS-232) Port 1 Port 2 13 TxD 9 TxD 14 RxD 10 RxD 15 RTS 11 RTS 28 CTS 24 CTS 29 DTR 25 DTR 30 DSR 26 DSR 42 DCD 39 DCD 44 GND 41 GND RS-422 Interface The RS-422 standard uses a balanced voltage digital interface to allow 10 Mbp[...]

  • Page 71

    Connection Cables and Cable Wiring RS-485 Interface The RS-485 st andard is an enhance d version of t he RS-422 bala nced line standard . It allows multiple drivers and receivers to work on a m ultidrop network. A maximum of 32 drivers and 32 receivers can be set up on a multidrop network. The CP-134U Series suppor ts both 2-wire half-dup lex and 4[...]

  • Page 72

    CP-134U (2-wire RS-485 ) Port 1 Port 2 Port 3 Port 4 13 Data+(B) 9 Data+(B) 5 Data+(B) 1D a t a + ( B ) 29 Data-(A) 25 Data-(A) 21 Data-(A) 17 Data-(A) Individual Port Pinouts In this su bsection we give the pinouts f or individual ports. Refer to t he DB9 pinout diagrams i f you are using the Model M44M9 x4 cable, and re fer to the DB25 pi nout di[...]

  • Page 73

    Connection Cables and Cable Wiring RS-422 DB9 DB25 Pin No. Signal Pin No. Signal 1 TxD-(A) 3 RxD +(B) 2 TxD+(B) 2 TxD+(B) 3 RxD+(B) 4 RTS+(B) 4 RxD-(A) 5 CTS+(B) 5 GND 7 GND 6 RTS-(A) 22 CTS-(A) 7 RTS+(B) 8 RxD-(A) 8 CTS+(B) 20 TxD-(A) 9 CTS-(A) 6 RTS-(A) RS-485 (4-wire) DB9 DB25 Pin No. Signal Pin No. Signal 1 TxD-(A) 3 RxD +(B) 2 TxD+(B) 2 TxD+(B[...]

  • Page 74

    RS-485 (2-wire) DB9 DB25 Pin No. Signal Pin No. Signal 4 Data-(A) 2 Data+(B ) 3 Data+(B) 7 GND 5 GND 20 Data-(A) Industio CP-134U Series User’s Manual 5-6[...]

  • Page 75

    Connection Cables and Cable Wiring Cable Wiring—DB9 RS-422 Point-to-poi nt RS-422 Broadcasting CP-134U RS-422 Device CP-134U 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 Device N RxD+(B) TxD+(B) RxD-(A) TxD[...]

  • Page 76

    Multidrop 2-w ire RS-485 (half-duplex) CP-134U 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-w ire RS-485 (full-duplex) CP-134U RS-485 Device 1 Master Slave 2 TxD+(B) RxD+(B) 1 TxD-(A) RxD-(A) 3 RxD+(B) TxD+(B) 4 RxD-(A) TxD-(A) 5 GND GND RS-485 Device N Slave RxD+(B) RxD-(A) Tx[...]

  • Page 77

    Connection Cables and Cable Wiring Impedance Matching and Termination Resistors When using RS-422/485 serial communications , a n electrical signal that travels through two different resistance junctions in a tran smi ssion line will sometimes give rise to signal reflection due to the impedanc e mismatch. Signa l reflection causes signal distortio [...]

  • Page 78

    [...]

  • Page 79

    6 6 6 Troubleshooting Comm on Industio CP-134U Series problem s and possible solutions are listed bel ow. If you still have problems, contact your deal er or Moxa for help, or use th e Problem Report Form at the en d of this manual to report probl ems to your dealer. General Troubleshooting 1. The MOX A PCI board cannot be detect ed by the MOXA dri[...]

  • Page 80

    2. The MOX A board and driver are activate d but cannot transfer (transmit/receive) data. Hardware Causes and Solutions: a. Make sure the cable wiring is connected correctly. Refer to the “ Connection Cable and Cable Wiring ” chapter for correct cable connections . b. The cable or the board a re probably defec tive. Try other ports, ca bles, or[...]

  • Page 81

    Troubleshooting Windows NT This section is specific fo r troubleshootin g under Windows NT. For general problem s and solutions, see t he previous secti on, “General Troubles hooting.” 1. After the system reboots, the error message “Another driver in the s ystem, which did not report its resources, has alre ady claimed the interrupt used by x[...]

  • Page 82

    Windows 95/98 This section is specific fo r troubleshootin g under Windows 95/ 98. For general problem s and solutions, see the previous sec tion, “ General Troubleshooting.” 1. The system fails to find the Industio CP-134U Series board!  The board(s) is(are) not p lugged properly.  The slot the boards are plugged into is defective. Try a[...]

  • Page 83

    A A A Technical Reference Specifications Bus interface 32-bit PCI Number of por ts 4 Max. No. of boards 4 I/O address Assigned by PCI BIOS IRQ Assigned by PC I BIOS Comm. cont roller 16C550C o r compatible Transmission speed 50 bps – 230.4 Kbps 230.4 Kbp s (CP-134UI, CP-134UL) Data bits 5, 6, 7, 8 Stop bits 1, 1.5, 2 Parity none, even, odd, space[...]

  • Page 84

    Power requi rement CP-134U 420 mA m ax. (+5V) CP-134UI 700 m A max. (+5V ) CP-134IS 710 mA m ax. (+5V) Dimensions CP-134U 120 × 80 mm (W × D) CP-134UI 120 × 110 mm (W × D) CP-134S 120 × 80 mm (W × D) CP-134IS 120 × 110 mm (W × D) Operating Systems Windows 95/98 /NT/2000/XP, Linux PCI The 32-bit Industio CP-134U Series board complies with PC[...]

  • Page 85

    Service Information Return Procedure For product repair, excha nge, or refund, the customer m ust:  Provi de evidence 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 possible for a shorter product repair time.  Ca[...]

  • Page 86

    Industio CP-134U Series User’s Manual A-4 Revision History Document Edition Revision Date Revision Deta ils 3 rd August 8, 20 03 1. p. 5-2 : Changed Rx D-(A) of P ort 2 from 21 to 25, RTS -(A) of Port 2 from 22 to 9, TxD-(A) of P ort 2 from 35 to 39, CTS- (A) of Port 2 from 36 to 40, GND o f Port 2 from 37 to 41 in R S-422 Interface. 2. p. 5-5: C[...]

  • Page 87

    Service Information Industio CP-134U Series User’s Manual A-5 5. p. 5-7 Changed RS -422 Device to RS-485 Device of th e wiring table of 2-wire RS-485 un der Cable Wiring-DB9. 5 th January 27, 2004 1. Update the edit ion of this manual on the title page. 2. Change the contact phone number on the title p age. 3. p. 5-2 Under RS- 422 Interface secti[...]