Page 2 - Industio; CP-134U Series User’s Manual; accordance with the terms of that agreement.; Copyright Notice; Copyright; Trademarks; MOXA is a registered trademark of Moxa Technologies Co., Ltd.; Disclaimer
Industio CP-134U Series User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright 2004 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission i...
Page 3 - MOXA Internet Services; The following services are provided; or
MOXA Internet Services Customer satisfaction is our number one concern, and to ensure that customers receive the full benefit of our products, Moxa Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates. The following services a...
Page 4 - Table of Contents; Installing the
Table of Contents 1 Introduction ........................................................................... 1-1 Overview ....................................................................................................... 1-2 Features ................................................................
Page 5 - Introduction; The following topics are covered in this chapter:; Overview
1 1 1 Introduction Welcome to the MOXA CP-134U Series of industrial 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 - Industio—The Industrial Multiport Async Solution; CP-134U Series boards; Termination Resistors Ready for RS-422/485; Surge/Isolation Protection; TVSS; PCI Solution
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 , including CP134-UI and CP-134UL , are designed for a 32-bit PCI bus with the Plug and Play and Universal PCI fe...
Page 7 - Technical Reference; Universal PCI; MOXA device drivers; are provided; Windows NT; MOXA Serial Comm Tools; PComm; Board Applications; Multipoint data acquisition
Introduction PCI BIOS. This means that the board MUST be plugged into the computer first before installing the driver software. For more PCI information, refer to the Technical Reference Appendix. Universal PCI The 32/64-bit PCI local bus specification specifies both 3.3V and 5V connector types for ...
Page 8 - Features; Package Checklist
Features The Industio CP-134U Series includes the following products: CP-134U 4 RS-422/485 ports, Universal PCI interface with embedded Surge Protection and Isolation Protection (16 KV ESD, 2 KV Isolation) CP-134UI 4 RS-422/485 ports, Universal PCI interface with embedded Surge Protection and Isolat...
Page 9 - Hardware Installation; You will need to install both hardware and software for; CP-134 Series Block Diagram; CP-134U Series Board
2 2 2 Hardware Installation You will need to install both hardware and software for Industio CP-134U Series boards. The hardware installation procedure is given in this chapter, and the next chapter deals with software installation for various operating systems. The following topics are covered in t...
Page 10 - CP-134U Series Block Diagrams
CP-134U Series Block Diagrams Industio CP-134U Series boards’ hardware configuration 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. CP-134UI Industio CP-134U Series User’s Manual 2-2
Page 11 - The
Hardware Installation CP-134U The Industio CP-134U Series has two 30-pin jumpers and two sets of four DIP Switches on the board that allow the user to set the serial interface for each of the board’s four ports. Ports 1 and 2 can be set to RS-232, RS-422, RS-485 (2-wire), or RS-485 (4-wire). Ports 3...
Page 12 - Jumper Settings; Jumper pins; Bottom for Port 2; DIP Switch Settings
Jumper Settings The two on-board 30-pin jumpers are used to select between the RS-232 and RS-422/485 serial interfaces. If you select RS-422/485, then you will also need to set the DIP Switches to select between RS-422, RS-485 (4-wire), and RS-485 (2-wire). Note that the two ports can be configured ...
Page 13 - DIP Switch
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 15 - any
Hardware Installation Installing the Industio CP-134U Series Board Step 1 : Power off the PC. Warning! To avoid damaging your system and board, make sure your computer is turned off before installing any board. Step 2: Remove the PC’s cover. Step 3: Remove the slot cover bracket if there is one. Ste...
Page 17 - Software Installation
3 3 3 Software Installation In this chapter, the software driver installation, configuration, and driver update/removal procedures are described for various operating systems, including Windows NT, Windows 95/98, Windows 2000/XP, and Linux. Before proceeding with the software installation, complete ...
Page 18 - Windows NT supports up to
Windows NT Windows NT supports up to 256 serial ports, from COM1 to COM256 . To fully integrate the advanced features of Windows NT, Moxa has developed multi-process and multi-thread, pure 32-bit Windows NT device drivers for the Industio CP-134U Series multiport boards. The driver conforms to the W...
Page 19 - Installing the Driver
Software Installation Installing the Driver The following procedure is for installing the Industio CP-134U Series driver for the first time under Windows NT 4.0. Before taking these steps, make sure the board(s) have already been plugged into the system’s PCI slot(s). 1. Log into NT as Administrator...
Page 21 - that particular port.; COM number
Software Installation 8. The [ Port # ] window will open to allow you to change settings, as described below, for that particular port. Port Number You 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 - OK
should not conflict with other COM numbers in use. In this “Individual Port Setting” dialog box, there are two ways to map physical ports to COM numbers, depending on whether you check the “ Auto Enumerating COM Number ” box. If “Auto Enumerating COM Number” is checked, and the COM number of the fir...
Page 23 - Administrative
Software Installation 10. When you have finished the configuration, click on the [Close] button in the “Network Settings” dialog box. 11. Restart the Windows NT system. The new configuration will take effect when the system restarts. Note ! The latest configuration will not take effect unless the sy...
Page 24 - Configuring the Board and Ports; Smartio
Note ! Once the board and the driver are installed and the driver restarts successfully, you can start to develop applications with the PComm library (see the “Serial Programming Tools” chapter) or the Microsoft Win32 API. You can also execute ready-made applications, such as PComm utility Terminal ...
Page 25 - Updating the Driver
Software Installation You may use this configuration panel to: Click on [ Property ] to enter the “Property” dialog box to configure the selected board with the correct “COM Number,” “Rx FIFO Trigger,” and “Tx FIFO Size.” See Steps 8 and 9 in the previous section, “Installing the Driver,” for more d...
Page 27 - Install the Smartio PCI board in the system.; First Time Driver; Board and Ports Ready
Software Installation Install the Smartio PCI board in the system. Start Windows 95/98 to detect the board. Driver installed before? Yes No Install the driver from the diskette. See the “ First Time Driver Installation ” section. Configure the port. See the “ Port Configuration ” section. The Indust...
Page 28 - First Time Driver Installation Stage; This stage presents the steps for installing the; Port Configuration; automatically display a [; New hardware found
First Time Driver Installation Stage This stage presents the steps 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 slightly different and will be described in two columns. Follow the s...
Page 30 - and; the files from the diskette.; Next
Windows 95 Windows 98 5. Type E:\Software\Win98\Windows.95 and then click [ OK ]. The system will start reading the files from the diskette. 6. Click on [ Next ] to continue. 7. Click on [ Next ] to continue. Industio CP-134U Series User’s Manual 3-14
Page 31 - Port Configuration Stage; CP-134U Series Installation
Software Installation Port Configuration Stage This stage presents the steps for configuring the Industio CP-134U Series board’s ports under Windows 95/98. After the driver is installed, the CP-134U Series Installation window will appear automatically, and the port mapping will be done automatically...
Page 33 - Board and Port Ready Stage; Finish; Port Configuration stage; Serial Programming Tools
Software Installation Board and Port Ready Stage The Board and Port Ready Stages for Windows 95 and Windows 98 are slightly different. This last stage completes the driver installation. Windows 95 Windows 98 After configuring the ports, restart Windows 95 before using the Industio CP-134U Series boa...
Page 34 - the
Configuring the Board and Ports Follow the procedure given below if you would like to reconfigure the COM numbers of ports for boards that are already installed under Windows 95/98. Since this is a PCI board, once the board is added or unplugged, the configuration will be automatically added or remo...
Page 35 - you would like to change.; Port Setting; button to open the; Port; Auto Enumerating COM Name; Steps 6 and 7 are optional if the system does not require special
Software Installation you would like to change. 4. Click on the Port Setting button to open the Port x window. Note! Step 5 is optional if you want to assign COM numbers to the Port manually. 5. Check the [ Auto Enumerating COM Name ] check-box to assign continuous COM numbers for subsequent ports. ...
Page 38 - to accept the changes.
4. Click OK to accept the changes. Updating the Driver This section will discuss how to update the Windows 95/98 driver to enhance the 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 Series and then clic...
Page 39 - ] checkbox and either type in the path to the file, or
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 Windows Explorer to locate the file, and then click on [ Next ] to continue. 6. Insert the source diskette in the ...
Page 40 - Removing the Driver; This section explains how to remove the; Control Panel; ] button in the message box shown below to continue.
Removing the Driver This section explains how to remove the Industio CP-134U Series board driver. 1. Open the [ Control Panel ], double click on the [ Add/Remove Programs ] icon, and then select the [ Install/Uninstall ] tab. 2. Click on the MOXA Smartio/Industio Driver option and then click on the ...
Page 41 - Windows 2000/XP supports up to; The following procedure shows how to install the; Windows XP; and then click on
Software Installation Windows 2000/XP Windows 2000/XP supports up to 256 serial ports, from COM1 to COM256 . To fully utilize Windows 2000/XP’s multi-process and multi-thread advanced features, pure 32-bit Windows 2000/XP device drivers were developed for the Industio CP-134U Series and other MOXA m...
Page 43 - Insert the Moxa Driver CD into the CD-ROM; to copy the driver files to your; to continue with the rest of the
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 shown below (change the drive letter if needed). Click OK to continue. 6. Click Next to copy the driver files to your system. 5. Wait while the driver ...
Page 44 - The next window shows the model number of; Found New Hardware Wizard
7. The next window shows the model number of the board, and indicates that Windows has completed the driver installation. Click on Finish to continue with the rest of the installation procedure. 8. The next Found New Hardware Wizard window to appear indicates that Windows has identified the board’s ...
Page 46 - Insert the Moxa Driver CD into the CD-ROM; to continue with the
Next to continue. 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 shown below (change the drive letter, if needed). Click OK to continue. 13. Click on Next to continue with the 10. Wait while the installation wizard sear...
Page 48 - How to Check the Installation; Device Manager; You can check the installation of the board by selecting; Start; , and then click on the Device Manager button.
How to Check the Installation There are three ways to check the installation of the CP-134U Series board. Device Manager 5. You can check the installation of the board by selecting Start Settings Control Panel System , and then click on the Device Manager button. Windows 2000 Windows XP Industio CP-...
Page 49 - item to check the status of the COM ports. If you see a; MOXA PComm Utility; To check the Event Log for MOXA boards, click
Software Installation If the driver installation was successful, you will be able to see the model number of the CP-134U board listed under Multi-port serial adapters . You may also expand the Ports (COM & LPT) item to check the status of the COM ports. If you see a question mark on top of the i...
Page 50 - You can uninstall the board by selecting
Removing the Driver 1. You can uninstall the board by selecting Start Settings Control Panel System . Windows 2000 Windows XP Industio CP-134U Series User’s Manual 3-34
Page 53 - Linux; To install the software:
Software Installation Linux NOTE: This section applies to 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 some additional utilities that can be downloaded from the Moxa website, or...
Page 54 - PCI board
msdiag Diagnostic program for displaying installed Moxa Smartio/Industio boards. msmon Monitoring program to observe data count and line status signals. msterm A simple terminal program which is useful when testing serial ports. io-irq.exe Configuration program for setting up ISA boards. Please note...
Page 55 - PCI IRQ Sharing; Obtaining Driver Files; Dialin and callout port
Software Installation installing the board. 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, s...
Page 56 - Board sequence; Module driver configuration; Create a tty device that has the correct major number.
2nd board ttyM8 - ttyM15 cum8 - cum15 3rd board ttyM16 - ttyM23 cum16 - cum23 4th board ttyM24 - ttym31 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 t...
Page 57 - Load the MOXA driver
Software Installation the source code if you modify the source code. For example, if you change the driver's major number (see Section 3.7), then you will need to redo this step. Find "Makefile" in /moxa/mxser, and then run # make clean; make install The driver files "mxser.o" and ut...
Page 60 - Custom configuration; Change Device name; Find free major numbers
If you use the 'lilo' utility, you should check the /etc/lilo.conf 'image' item specified in the 'vmlinuz' path, or you will load the wrong (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 mu...
Page 61 - Insert the new major numbers into the driver’s source code.; Utilities; msmon - Port Monitoring
Software Installation 3. Insert the new major numbers into the driver’s source code. Run vi to open /moxa/mxser/driver/mxser.c. Locate the line that contains "MXSERMAJOR", and change the content as below: #define MXSERMAJOR 40 #define MXSERCUMAJOR 45 4. Run "make clean; make install"...
Page 62 - Setserial; Supported Setserial parameters are listed as below.; Troubleshooting; Request_irq fail, IRQ address may conflict with another device.
Setserial Supported Setserial parameters are listed as below. uart set UART type (16450-->disable FIFO, 16550A-->enable FIFO) close_delay set the amount of time(in 1/100 of a second) that DTR should be kept low while being closed. closing_wait set the amount of time (in 1/100 of a second) that...
Page 63 - Couldn't install MOXA Smartio family callout driver!
Software Installation equal to zero) for one Moxa board. Error msg: No interrupt vector can be set for the Moxa ISA board (CAP=xxx). Solution: Moxa ISA boards need an interrupt vector. Refer to the "Hardware Installation" chapter from the user's manual to set an interrupt vector. Error msg: ...
Page 65 - , and consists of a powerful; Installation; Programming Library
4 4 4 Serial Programming Tools Moxa supports an easy to use yet powerful serial programming library and communication troubleshooting utilities under Windows NT, Windows 95/98, Windows 2000/XP, and DOS. You will save a lot of development time by using MOXA’s Serial Programming Tools. The following s...
Page 66 - for any COM port; ADDCTM (Automatic Data Direction Control); ADDCTM
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 Windows NT, Windows 95/98, or Windows 2000/XP device drivers, as well as MOXA boards are required. The drivers are installed separately, with de...
Page 67 - How to transmit and receive data for Windows NT, and 95/98; There are 2 solutions to control RS-485 2-wire transmission.; Solution 1; Send; For more information on these functions, refer to the
Serial Programming Tools How to transmit and receive data for Windows NT, and 95/98 In order to acquire precise timing control for RS-485 2-wire transmission, we recommend that you configure your Industio CP-134U Series ports as described below. There are 2 solutions to control RS-485 2-wire transmi...
Page 69 - Pinouts and Cable Wiring
5 5 5 Connection Cables and Cable Wiring Pinouts and Cable Wiring The CP-134U Series boards have one DB44 female port on the board that sends signals to four independent 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), ...
Page 70 - TxD
RS-232 Interface When ports 1 and/or 2 are configured for the RS-232 interface, the pinouts 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 ba...
Page 72 - Individual Port Pinouts; Signal
CP-134U (2-wire RS-485) Port 1 Port 2 Port 3 Port 4 13 Data+(B) 9 Data+(B) 5 Data+(B) 1 Data+(B) 29 Data-(A) 25 Data-(A) 21 Data-(A) 17 Data-(A) Individual Port Pinouts In this subsection we give the pinouts for individual ports. Refer to the DB9 pinout diagrams if you are using the Model M44M9x4 ca...
Page 73 - Connection Cables and Cable Wiring
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 N...
Page 75 - Cable Wiring—DB9
Connection Cables and Cable Wiring Cable Wiring—DB9 RS-422 Point-to-point 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 ...
Page 76 - See the section “; ” chapter for
Multidrop 2-wire 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-wire 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 ...
Page 77 - Impedance Matching and Termination Resistors
Connection Cables and Cable Wiring Impedance Matching and Termination Resistors When using RS-422/485 serial communications, an electrical signal that travels through two different resistance junctions in a transmission line will sometimes give rise to signal reflection due to the impedance mismatch...
Page 79 - Common; Problem; at the end of this manual to report problems to your dealer.; General Troubleshooting; Hardware causes and solutions:; a. The board is not installed in the computer. Please install it.
6 6 6 Troubleshooting Common Industio CP-134U Series problems and possible solutions are listed below. If you still have problems, 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...
Page 80 - Hardware Causes and Solutions:; a. Make sure the cable wiring is connected correctly. Refer to the “; Connection Cable; ” chapter for correct cable connections.; Software Causes and Solutions:; Pcomm
2. The MOXA board and driver are activated 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 are probabl...
Page 81 - Series board!” appears in the Event Log.; Make sure the PCI board is seated firmly in the expansion slot.; The COM number of the
Troubleshooting Windows NT This section is specific for troubleshooting under Windows NT. For general problems and solutions, see the previous section, “General Troubleshooting.” 1. After the system reboots, the error message “Another driver in the system, which did not report its resources, has alr...
Page 82 - The system fails to find the
Windows 95/98 This section is specific for troubleshooting under Windows 95/98. For general problems and solutions, see the previous section, “General Troubleshooting.” 1. The system fails to find the Industio CP-134U Series board! The board(s) is(are) not plugged properly. The slot the boards are p...
Page 83 - Specifications
A A A Technical Reference Specifications Bus interface 32-bit PCI Number of ports 4 Max. No. of boards 4 I/O address Assigned by PCI BIOS IRQ Assigned by PCI BIOS Comm. controller 16C550C or compatible Transmission speed 50 bps – 230.4 Kbps 230.4 Kbps (CP-134UI, CP-134UL) Data bits 5, 6, 7, 8 Stop b...
Page 84 - PCI; first plug in the board; please remember the order the boards are installed
Power requirement CP-134U 420 mA max. (+5V) CP-134UI 700 mA max. (+5V) CP-134IS 710 mA max. (+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 C...
Page 85 - Service Information; Return Procedure; Provide evidence of original purchase.
Service Information Return Procedure For product repair, exchange, or refund, the customer must: Provide evidence of original purchase. 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 sh...
Page 86 - Revision History
Industio CP-134U Series User’s Manual A-4 Revision History Document Edition Revision Date Revision Details 3 rd August 8, 2003 1. p. 5-2: Changed RxD-(A) of Port 2 from 21 to 25, RTS-(A) of Port 2 from 22 to 9, TxD-(A) of Port 2 from 35 to 39, CTS-(A) of Port 2 from 36 to 40, GND of Port 2 from 37 t...
Page 87 - Cable; Update the edition of this
Service Information Industio CP-134U Series User’s Manual A-5 5. p. 5-7 Changed RS-422 Device to RS-485 Device of the wiring table of 2-wire RS-485 under Cable Wiring-DB9. 5 th January 27, 2004 1. Update the edition of this manual on the title page. 2. Change the contact phone number on the title pa...