Industio CP-134U Series User’s Manual Industrial 4-Port RS-422/485 Serial Board for PCI Bus Second Edition, April 2003 This manual is also available on CD-ROM and at Moxa’s Website Moxa Technologies Co., Ltd. Tel: +866-2-8919-1230 Fax: +886-2-8919-1231 www.moxa.com support@moxa.com.
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 2003 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Technologies Co., Ltd. All other trademarks or registered marks in this manual belong to their respective manufacturers.
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 are provided E-mail for technical support................................support@moxa.com.tw World Wide Web (WWW) Site for product information: .............................http://www.moxa.com ...................
Table of Contents 1 Introduction ........................................................................... 1-1 Overview ....................................................................................................... 1-2 Features ......................................................................................................... 1-4 Package Checklist ......................................................................................... 1-4 2 Hardware Installation ........................
1 1 Introduction Welcome to the MOXA CP-134U Series of industrial 4-port RS-422/485 serial boards for the PCI bus.
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 feature. The ports for these boards can be configured independently, with ports 1 and 2 set to the RS-232, RS-422, or RS-485 interface, and ports 3 and 4 set to the RS-422 or RS-485 interface.
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 the PCI hardware. Moxa’s universal PCI card allows the user to plug into both a 3.3V and 32/64-bit slot.
Features The Industio CP-134U Series includes the following products: CP-134U CP-134UI 4 RS-422/485 ports, Universal PCI interface with embedded Surge Protection and Isolation Protection (16 KV ESD, 2 KV Isolation) 4 RS-422/485 ports, Universal PCI interface with embedded Surge Protection and Isolation Protection Below we list the outstanding features of the Industio CP-134U Series boards: z z z z z z z z z z z z Supports 4 independent serial ports—2 ports for RS-232 or RS-422/485, and 2 ports for RS-422
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.
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.
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 and 4 can be set to RS-422, RS-485 (2-wire), or RS-485 (4-wire). Refer to the following information to determine the proper settings for your board.
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 independently. Jumper pins: Top for Port 1, Bottom for Port 2 RS-422/485: Cover the left two columns of pins with the jumper to select the RS-422/485 option.
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
2-6 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
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: Step 3: Step 4: Step 5: Step 6: Step 7: Remove the PC’s cover. Remove the slot cover bracket if there is one. Plug the Industio CP-134U Series control board firmly into a free 32-bit PCI slot, or the CP-134U Series board into both a 32-bit/64-bit slot.
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 the hardware installation, discussed in the previous chapter, “Hardware Installation.” If you need to develop your own applications, refer to the next chapter, “Serial Programming Tools,” for programming issues.
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 Win32 COMM API standard. 3-2 z To install the driver for the first time, go directly to the next section, “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. 2. Open the [Control Panel], click on the [Network] icon, and select the [Adapters] tab. 3. Click on the [Add] button, then the [Have Disk...] button in the “Select Network Adapter” dialog box. 4.
3-4 5. Select “MOXA Smartio/Industio Family multiport board” from the “Select OEM Option” dialog box, and then click [OK] to enter the “MOXA Smartio/Industio Configuration Panel” dialog box to start the installation. 6. Click the [Add] button to open the Property dialog box to change port settings and advanced FIFO configurations done automatically by the system. 7. In the “Property” dialog box, select the newly plugged Industio CP-134U Series board from the Board Type pull down list.
Software Installation 8. The [Port #] window will open to allow you to change settings, as described below, for that particular port.
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 first port is specified, then subsequent ports are mapped to the next available COM number. For instance, if the first port is mapped to COM3, then the second port is mapped to COM4.
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 system restarts. 12. Once the system restarts, you may check the event log issued by the MOXA driver to see if the board’s ports have been initialized successfully.
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 emulator (see “Serial Programming Tools” chapter) or HyperTerminal to transmit/receive data, as well as Remote Access Service to provide dial-up networking capabilities.
Software Installation You may use this configuration panel to: z 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 details. z Click on [Add] to add one more board that has not yet been configured for the system. See Steps 6 to 9 in the previous section, “Installing the Driver,” for more details.
Removing the Driver To remove the driver for the Industio CP-134U Series board, 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. Restart the system to activate the new configuration. Windows 95/98 Windows 95/98 supports up to 128 serial ports, from COM1 to COM128.
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 Industio CP-134U Series ports should now be ready for use. See the “Board and Ports Ready” section.
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 steps in the left column for Windows 95, or the right column for Windows 98, respectively.
Software Installation 3. 4. Windows 95 Type A:\Windows.95 in the Location field, and 3. then click [OK] in the [Select Other Location] window. The system will start reading the files from the diskette. Windows 98 Select Other Devices and then click [Next] to continue. Click on [Finish]. Click on [Have Disk]. 4.
Windows 95 5. Windows 98 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.
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 by the system. If one CP-134U Series board was already installed, and another CP-134U Series board is plugged in, then the system will prompt you to take care of port configuration, as discussed in this section.
defined Rx FIFO Trigger to all ports. 7. Select a Tx FIFO Size from the Tx FIFO Size pull-down list. Tx FIFO sizes from 1 to 64 bytes are available, with the default value set at 64 bytes. 8. Check the [Set the change to all ports] check-box if you want to apply the just defined Tx FIFO Size to all ports. 9. Click the [OK] button in the Port X dialog box to confirm the port settings. 10. Click the [OK] button in the Property dialog box to complete the port settings.
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 After configuring the ports, restart Windows 95 before using the Industio CP-134U Series board’s COM ports. Windows 98 After configuring the ports, click the [Finish] button. You can start using the Industio CP-134U Series board’s COM ports after restarting Windows 98.
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 removed by the system. 1. Open the [Control Panel], click on the [System] icon, select the [Device Manager] tab, and then select Moxa Smartio/Industio multiport board. 2.
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. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2. Note! Steps 6 and 7 are optional if the system does not require special performance tuning.
6. Re-assign the Rx FIFO Trigger by selecting a number from the pull-down list. Check the [Set the change to all ports] check-box if you want to apply 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 selecting a number from the pull-down list. Check the [Set the change to all ports] check-box if you want to apply this setting to all ports.
Software Installation 2. Once the CP-134U Series Port x [COMy] Properties window opens, click on the Port Settings tab. 3. You may now make modifications to Bits per second, Data bits, Parity, Stop bits, or Flow control.
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 click on [Properties]. 3. Select the [Driver] tab.
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 floppy drive or CD-ROM drive. 7. Click on [OK] in the [Install from Disk] dialog box. 8. The system will automatically prompt you to restart the system.
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 [Add/Remove] button to start the driver removal. 3. Click the [Yes] button in the message box shown below to continue. 4. Click [OK] in the [Add/Remove Programs Properties] dialog box.
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 multiport boards. The drivers conform to the Win32 COMM API standard.
3. Select Search for a suitable driver… and then click on Next to continue. 3. Select Search for the best driver… and then click on Next to continue. 4. Select Specify a location and then click on Next to continue. 4. Wait while the installation wizard searches.
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 software is installed. 6. The next window shows the model number of the board, and indicates that Windows has completed the driver installation.
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. 7. The next Found New Hardware Wizard window to appear indicates that Windows has identified the board’s serial ports, and is starting to install the ports. 8. The next Found New Hardware Wizard window to appear indicates that Windows has identified the board’s serial ports, and is starting to install the ports.
Software Installation 8. Select Install the software from a specific location and then click on Next to continue. 10. Select Search for a suitable driver for my device [recommended], and then click on Next to continue. 9. Input the location of the driver in the text input box, or use the Browse button to locate the appropriate folder. 11.
Next to continue. 10. Wait while the installation wizard searches. 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. 11. Wait while the wizard installs the software. 13.
Software Installation installation. 12. After all files have been copied to the system, the Completing the Found New Hardware Wizard window will open to indicate that it 14. After all files have been copied to the system, has finished installing “Port 0.” Click on the Completing the Found New Hardware Finish to install the board’s second port. Wizard window will open to indicate that it has finished installing “Port 0.” Click on Finish to install the board’s second port.
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.
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 icon, then the installation might have a problem. Check the Event Log to determine the reason for the problem.
Removing the Driver 1. You can uninstall the board by selecting Start Æ Settings Æ Control Panel Æ System.
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 board under Multi-port serial adapters, and then click the right mouse button. Select the Uninstall… option. Windows 2000 3. Windows XP Click OK to proceed with the un-installation of the board.
4. The Device Manager window will automatically refresh to show that the driver and ports for the CP-134U Series board have been removed.
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 software CD-ROM. We suggest that you back up the built-in driver (/usr/src/linux/drivers/char/mxser.c), and use the driver downloaded from Moxa or the software CD-ROM.
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 that this program can only be executed under DOS. The source code for all of these drivers and utilities are published under GNU General Public License.
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, since the IRQ is assigned automatically by the system, the user does not need to worry about which IRQ is used for which board.
2nd board 3rd board 4th board ttyM8 - ttyM15 ttyM16 - ttyM23 ttyM24 - ttym31 cum8 - cum15 cum16 - cum23 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 system automatically driven. This means that the board number is sorted by the ISA boards’ CAP address.
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 utilities will be properly compiled and copied to system directories, respectively. 3. Load the MOXA driver # insmod mxser will activate the module driver. You may run "lsmod" to check if "mxser.o" is activated.
# mv mxser.c mxser.c.old 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/mxser/driver/mxser.c mxser.c 3. Configure the kernel: # cd /usr/src/linux # make menuconfig You will go into a menu-driven system. Please select [Character devices][Non-standard serial port support], enable the [Moxa SmartIO support] driver with "[*]" for built-in (not "[M]"), then select [Exit] to exit this program. 4.
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/mxser/driver/mxser.c mxser.c 2. Modify tty_io.c # cd /usr/src/linux/drivers/char/ # vi tty_io.c Find pty_init(), insert "mxser_init()" as pty_init(); mxser_init(); 3. Modify tty.h # cd /usr/src/linux/include/linux # vi tty.
z 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 must go back to the Linux configuration setup. Type "make menuconfig" in directory /usr/src/linux. 6. Make tty device and special file # cd /moxa/mxser/driver # ./msmknod 7.
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 #define 4. MXSERMAJOR MXSERCUMAJOR 40 45 Run "make clean; make install" from /moxa/mxser/driver. Verifying driver installation You may refer to /var/log/messages to check the latest status log reported by this driver whenever it's activated.
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 the serial port should wait for data to be drained while being closed, before the receiver is disabled. spd_hi Use 57.6kb when the application requests 38.4kb. spd_vhi Use 115.
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: Couldn't install the MOXA Smartio/Industio family driver! Solution: If loading the Moxa driver failed, the major number may conflict with other devices. Refer to Section 3.
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 sections detail the installation, the library, and the utilities for various platforms. PComm is a professional serial comm tool for use on a PC.
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 details given in the “Software Installation” chapter.
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 transmission.
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), both of which are available from Moxa, can be used to separate the signals coming from the board into the signals for the four different ports.
RS-232 Interface When ports 1 and/or 2 are configured for the RS-232 interface, the pinouts are as shown below. 13 14 15 28 29 30 42 44 Port 1 TxD RxD RTS CTS DTR DSR DCD GND CP-134U (RS-232) Port 2 TxD RxD RTS CTS DTR DSR DCD GND 9 10 11 24 25 26 39 41 RS-422 Interface The RS-422 standard uses a balanced voltage digital interface to allow 10 Mbps communication over cables of up to 4000 feet in length. Ten receivers can be connected to any one driver for broadcasting systems.
Connection Cables and Cable Wiring RS-485 Interface The RS-485 standard is an enhanced version of the RS-422 balanced line standard. It allows multiple drivers and receivers to work on a multidrop network. A maximum of 32 drivers and 32 receivers can be set up on a multidrop network. The CP-134U Series supports both 2-wire half-duplex and 4-wire full-duplex RS-485 communications. In 2-wire RS-485, Data+/- pins are used for both data transmitting and receiving, depending on the RTS signal.
Port 1 CP-134U (2-wire RS-485) Port 3 Port 4 Port 2 13 Data+(B) 9 Data+(B) 29 Data-(A) 25 Data-(A) 5 Data+(B) 21 Data-(A) 1 Data+(B) 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 cable, and refer to the DB25 pinout diagrams if you are using the Model M44M25x4 cable. RS-232 DB9 Pin No. 5-4 Signal DB25 Pin No.
Connection Cables and Cable Wiring RS-422 DB9 Pin No. Signal DB25 Pin No. Signal 1 TxD-(A) 2 TxD+(B) 2 TxD+(B) 3 RxD+(B) 3 RxD+(B) 4 RTS+(B) 4 RxD-(A) 5 CTS+(B) 5 GND 7 GND 6 RTS-(A) 13 CTS-(A) 7 RTS+(B) 14 TxD-(A) 8 CTS+(B) 16 RxD-(A) 9 CTS-(A) 19 RTS-(A) RS-485 (4-wire) DB9 Pin No. Signal DB25 Pin No.
RS-485 (2-wire) DB9 Pin No. Signal DB25 Pin No.
Connection Cables and Cable Wiring Cable Wiring—DB9 RS-422 Point-to-point CP-134U 2 TxD+(B) 1 TxD-(A) 3 RxD+(B) 4 RxD-(A) 5 GND RS-422 Device RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND RS-422 Broadcasting CP-134U 2 TxD+(B) 3 RxD+(B) 1 TxD-(A) 4 RxD-(A) 5 GND RS-422 Device 1 RxD+(B) TxD+(B) RxD-(A) TxD-(A) GND RS-422 Device N RxD+(B) TxD+(B) RxD-(A) TxD-(A) GND CP-134U – RS-422 with Handshaking CP-134U 2 TxD+(B) 1 TxD-(A) 3 RxD+(B) 4 RxD-(A) 5 GND 7 RTS+(B) 6 RTS-(A) 8 CTS+(B) 9 CTS-(A) RS-422 Device RxD+(B)
Multidrop 2-wire RS-485 (half-duplex) CP-134U Master 3 Data+ 4 Data5 GND RS-485 Device 1 Slave Data+ DataGND RS-485 Device N Slave Data+ DataGND Multidrop 4-wire RS-485 (full-duplex) CP-134U Master 2 TxD+(B) 1 TxD-(A) 3 RxD+(B) 4 RxD-(A) 5 GND RS-485 Device 1 Slave RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND RS-485 Device N Slave RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND See the section “RS-485 Programming” in the “Serial Programming Tools” chapter for more details on RS-485 programming.
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. Signal reflection causes signal distortion, which in turn contributes to communication errors.
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 board cannot be detected by the MOXA driver while installing the driver. Hardware causes and solutions: a. The board is not installed in the computer. Please install it. b.
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 probably defective. Try other ports, cables, or boards to verify this, or use the PComm Diagnostic utility to test the MOXA board’s and port conditions. If Diagnostic reports an error, replace the faulty components.
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 already claimed the interrupt used by xxx.” appears in the Event Log. This indicates the MOXA board was found, but the IRQ is conflicting with another adapter.
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. 2. The system fails to find the Industio CP-134U Series board! z The board(s) is(are) not plugged properly. z The slot the boards are plugged into is defective. Try another slot until you find one that works. z The board might be defective.
A A Technical Reference Specifications Bus interface Number of ports Max. No. of boards I/O address IRQ Comm. controller Transmission speed Data bits Stop bits Parity Data signals Connectors Optical isolation Surge protection Termination Resistor Operating temperature 32-bit PCI 4 4 Assigned by PCI BIOS Assigned by PCI BIOS 16C550C or compatible 50 bps – 230.4 Kbps 230.4 Kbps (CP-134UI, CP-134UL) 5, 6, 7, 8 1, 1.
Power requirement Dimensions Operating Systems CP-134U 420 mA max. (+5V) CP-134UI 700 mA max. (+5V) CP-134IS 710 mA max. (+5V) 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) Windows 95/98/NT/2000/XP, Linux PCI The 32-bit Industio CP-134U Series board complies with PCI Specifications 2.1. The IRQ and I/O address hardware configuration is automatically assigned by the PCI BIOS.
Industio CP-134U Series User’s Manual A-1