Universal PCI Board User’s Manual Multiport Serial Board for PCI and PCI-X Bus First Edition, July 2007 www.moxa.com/product MOXA Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 Web: www.moxa.com MOXA Technical Support support@moxa.com Worldwide: support@usa.moxa.
Universal PCI Board 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 © 2007 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of the Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction ...............................................................................................1-1 Overview .............................................................................................................................. 1-2 Applications.................................................................................................................. 1-3 Package Checklist...................................................................................
Installing the Ports................................................................................................................ 4-7 Verifying the Installation .................................................................................................... 4-10 Configuring the Ports ......................................................................................................... 4-12 Using PComm .................................................................................................
PComm Terminal Emulator.......................................................................................... 9-4 Chapter 10 Pin Assignments .....................................................................................10-1 Overview ............................................................................................................................ 10-2 CP-102U.............................................................................................................................
1 Chapter 1 The following topics are covered in this chapter: Overview ¾ Package Checklist Product Features Product Specifications ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ Applications Hardware Interface Signals Performance Configuration Power and Environment Certifications Warranty Installation Guide Introduction
Universal PCI Board User’s Manual Introduction Overview MOXA Universal PCI (UPCI) multiport serial boards can be installed in PCI or PCI-X slots, and support both 3.3V and 5V PCI/PCI-X. With a UPCI board, you can connect data acquisition equipment and other serial devices to your PC over RS-232, RS-422, or RS-485. Each board has on-chip hardware and software flow control, a built-in 128-byte Tx/Rx FIFO, and well-designed device drivers that have been fine-tuned.
Universal PCI Board User’s Manual Introduction ESD and Isolation Protection Certain models include TVSS (Transient Voltage Surge Suppressor) technology to help prevent damage due to lightning or high potential voltage. Optical isolation (2000V) and embedded surge protection (max. ESD of 16 KV, max. EFT of 2 KV) are also available with certain models. These features help provide protection in critical or harsh factory-type environments. PCI Solution UPCI boards comply with PCI Spec. 2.
Universal PCI Board User’s Manual Introduction Package Checklist UPCI boards are shipped with the following items: z 1 Moxa UPCI multiport serial board z Document & Software CD z Quick Installation Guide z 5-year Product Warranty statement For the CP-102UL, CP-104UL V2, POS-104UL, CP-114UL, CP-132UL V2, and CP-132UL-I V2, the following item is also included: z Low profile bracket NOTE: Notify your sales representative if any of the above items is missing or damaged.
Universal PCI Board User’s Manual Introduction Max. No. of Boards: CP-118U-I: CP-118U: CP-138U-I: CP-138U: CP-168U V2: CP-104UL V2: CP-104JU V2: POS-104UL: CP-102UL: CP-102U: CP-114UL: CP-134U V2: CP-134U-I V2: CP-132UL V2: CP-132UL-I V2: 4 RS-232: RS-422: 4-wire RS-485: 2-wire RS-485: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND TxD+(B), TxD-(A), RxD+(B), RxD-(A), GND TxD+(B), TxD-(A), RxD+(B), RxD-(A), GND Data+(B), Data-(A), GND No.
Universal PCI Board User’s Manual Introduction Certifications Approved: EN55022 Class B EN55024 EN6100-3-2 EN61000-3-3 FCC Part 15 Class B Warranty Period: 5 years Installation Guide UPCI board installation can be divided into six steps as follows: Step 1: Select serial transmission mode For certain models, you will need to set onboard DIP switches to select the serial transmission mode for each port.
2 Chapter 2 Hardware Installation The following topics are covered in this chapter: Overview Configuring the Board ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ ¾ CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-114UL CP-118U CP-118U-I CP-132UL V2 CP-132UL-I V2 CP-134U V2 CP-134U-I V2 CP-138U CP-138U-I CP-168U V2 POS-104UL Plugging the Board into an Expansion Slot
Universal PCI Board User’s Manual Hardware Installation Overview This chapter explains the hardware installation procedure in detail. Since the BIOS automatically assigns the IRQ number and I/O addresses, you will need to install the board before you install the drivers. You can install up to 4 UPCI boards in one system, as long as sufficient I/O address and IRQ number resources are available. Configuring the Board CP-102U COM1 COM2 This board does not require configuration.
Universal PCI Board User’s Manual Hardware Installation CP-102UL This board does not require configuration. CP-104JU V2 This board does not require configuration.
Universal PCI Board User’s Manual Hardware Installation CP-104UL V2 This board does not require configuration.
Universal PCI Board User’s Manual Hardware Installation CP-114UL Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP4. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1, S2, and S3, are used to select RS-232, RS-422, or RS-485 mode for each serial port.
Universal PCI Board User’s Manual Hardware Installation CP-118U Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP8. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1, S2, and S3, are used to select RS-232, RS-422, or RS-485 mode for each serial port.
Universal PCI Board User’s Manual Hardware Installation CP-118U-I Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP8. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1, S2, and S3, are used to select RS-232, RS-422, or RS-485 mode for each serial port.
Universal PCI Board User’s Manual Hardware Installation CP-132UL V2 Onboard termination resistors can be activated individually for each serial port using jumpers JP1 and JP2. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1 and S2, are used to select RS-422 or RS-485 mode for each serial port.
Universal PCI Board User’s Manual Hardware Installation CP-132UL-I V2 Onboard termination resistors can be activated individually for each serial port using jumpers JP1 and JP2. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1 and S2, are used to select RS-422 or RS-485 mode for each serial port.
Universal PCI Board User’s Manual Hardware Installation CP-134U V2 Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP4. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1 and S2, are used to select RS-422 or RS-485 mode for each serial port. Switches 1 through 4 on each bank correspond to the 4 serial ports.
Universal PCI Board User’s Manual Hardware Installation CP-134U-I V2 Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP4. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1 and S2, are used to select RS-422 or RS-485 mode for each serial port. Switches 1 through 4 on each bank correspond to the 4 serial ports.
Universal PCI Board User’s Manual Hardware Installation CP-138U Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP8. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1 and S2, are used to select RS-422 or RS-485 mode for each serial port. There are 8 switches on each bank corresponding to the 8 serial ports.
Universal PCI Board User’s Manual Hardware Installation CP-138U-I Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP8. JP1 corresponds to serial port 1. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor. The onboard DIP switches, S1 and S2, are used to select RS-422 or RS-485 mode for each serial port. There are 8 switches on each bank corresponding to the 8 serial ports.
Universal PCI Board User’s Manual Hardware Installation CP-168U V2 This board does not require configuration.
Universal PCI Board User’s Manual Hardware Installation POS-104UL The onboard jumpers are used to specify the pin 9 power signal for each serial port. Step a The top row of jumper pins selects the source of 12V power; the bottom row of jumper pins selects the source of 5V power: Bus power External power If 5V or 12V external power is enabled, you will need to connect the cable from the back of POS-104UL to the PC’s power supply. Remove both jumpers to disable all power signals to all ports.
Universal PCI Board User’s Manual Hardware Installation Plugging the Board into an Expansion Slot ATTENTION Safety First! To avoid damaging your system and board, make sure your PC’s power is turned off before installing your Universal PCI Board. Step 1: Power off the PC. Step 2: Shut off the power to any peripheral devices and remove the PC’s cover. Step 3: Configure the UPCI board’s DIP switches and jumpers as necessary. This only applies to certain models.
3 Chapter 3 Driver Installation: Windows Vista The following topics are covered in this chapter: Overview Installing the Driver Installing the Ports Verifying the Installation Configuring the Ports Disabling the Board Uninstalling the Board
Universal PCI Board User’s Manual Driver Installation: Windows Vista Overview This chapter explains how to install, configure, update, and remove the board drivers for Windows Vista. The following models are supported: CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-114UL CP-118U CP-118U-I CP-132UL V2 CP-132UL-I V2 CP-134U V2 CP-134U-I V2 CP-138U CP-138U-I CP-168U V2 POS-104UL Windows Vista supports up to 256 serial ports, from COM1 to COM256.
Universal PCI Board User’s Manual Driver Installation: Windows Vista Installing the Driver The following instructions show how to install the driver for the first time under Windows Vista. You will need to plug the board in an available PCI or PCI-X slot first, before installing the driver. ATTENTION The following steps will not be necessary if a MOXA UPCI board was already installed on your computer. Windows will automatically detect and install any additional board(s) at bootup.
Universal PCI Board User’s Manual Driver Installation: Windows Vista 2. Select I don’t have the disc. Show me other options. 3. Select Browse my computer for driver software (advanced).
Universal PCI Board User’s Manual 4. Driver Installation: Windows Vista Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-118U Series\Software). For 32-bit (x86) platforms, select the \Windows Vista\x86 folder. For 64-bit (x64) platforms, select the \Windows Vista\x64 folder. After selecting the folder, click Next to continue. 5.
Universal PCI Board User’s Manual 6. Driver Installation: Windows Vista After the drivers have been installed, click Close to exit the wizard. Installing the Ports After the board and drivers have been installed, an installation wizard will guide you through installation of the newly added serial ports, starting with port 0. 1. When prompted to insert a disc, select I don’t have the disc. Show me other options.
Universal PCI Board User’s Manual 2. Driver Installation: Windows Vista Select Browse my computer for driver software (advanced).
Universal PCI Board User’s Manual Driver Installation: Windows Vista 3. Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-118U Series\Software). For 32-bit (x86) platforms, select the \Windows Vista\x86 folder. For 64-bit (x64) platforms, select the \Windows Vista\x64 folder. After selecting the folder, click Next to continue. 4.
Universal PCI Board User’s Manual 5. Driver Installation: Windows Vista After the drivers have been installed, click Close to exit the wizard. The other serial ports will automatically install in the background.
Universal PCI Board User’s Manual Driver Installation: Windows Vista Verifying the Installation You can use Windows Device Manager to verify proper installation. 1. Under My Computer, click System Properties. 2. In the System window, click Device Manager.
Universal PCI Board User’s Manual 3. Driver Installation: Windows Vista In the Device Manager window, you should see the UPCI board under Multi-port serial adapters (CP-118U in this example). You should also see MOXA communication ports under Ports (COM & LPT). If you see any special marks, such as a question mark or an exclamation mark, next to the MOXA items, the installation of your module or serial ports was not successful. Examine the Windows event log for details.
Universal PCI Board User’s Manual Driver Installation: Windows Vista Configuring the Ports After the board and serial port drivers are installed, the board’s Properties window will appear. The system will map the ports automatically. You may be prompted to take care of port configuration if other Moxa boards have been installed. 1. On the Ports Configuration tab, select a port to configure and click Port Setting. Under Port Number, select a COM number to assign to the serial port.
Universal PCI Board User’s Manual Driver Installation: Windows Vista Disabling the Board 1. Right-click My Computer and select Properties in the context menu. 2. In the System window, click Device Manager. 3. In Device Manager, right-click the UPCI board under Multi-port serial adapters and select Disable in the context menu. This will disable the board.
Universal PCI Board User’s Manual Driver Installation: Windows Vista Uninstalling the Board 1. Right-click My Computer and select Properties in the context menu. 2. In the System window, click Device Manager. 3. Right-click the UPCI board under Multi-port serial adapters (CP-118U in this example) and select Uninstall in the context menu. 4. A confirmation dialog will appear. Click OK to uninstall the device.
4 Chapter 4 Driver Installation: Windows XP/2003 The following topics are covered in this chapter: Overview Installing the Driver Installing the Ports Verifying the Installation Configuring the Ports Using PComm Using Event Log Disabling the Board Uninstalling the Board
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Overview This chapter explains how to install, configure, update, and remove the board drivers for Windows XP/2003. The following models are supported: CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-114UL CP-118U CP-118U-I CP-132UL V2 CP-132UL-I V2 CP-134U V2 CP-134U-I V2 CP-138U CP-138U-I CP-168U V2 POS-104UL Windows XP/2003 supports up to 256 serial ports, from COM1 to COM256.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Installing the Driver The following instructions show how to install the driver for the first time under Windows XP. The same procedure is used for Windows 2003. You will need to plug the board in an available PCI or PCI-X slot first, before installing the driver. ATTENTION The following steps will not be necessary if a MOXA UPCI board was already installed on your computer.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 2. Select Install from a list or specific location (Advanced) and click Next to continue. 3. Select Search for the best driver in these locations and Include this location in the search. Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-118U Series\Software).
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 4. If you see a warning that the software has not passed Windows Logo testing, click Continue Anyway. 5. Windows will install the drivers. When the installation is complete, click Finish.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 4-6
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Installing the Ports After the board and drivers have been installed, an installation wizard will guide you through installation of the newly added serial ports, starting with port 0. 1. When prompted to connect to Windows Update, select No, not this time and click Next to continue. 2. Select Install from a list or specific location (Advanced) and click Next to continue.
Universal PCI Board User’s Manual 3. Driver Installation: Windows XP/2003 Select Search for the best driver in these locations and Include this location in the search. Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-118U Series\Software). For 32-bit (x86) platforms, select the \Windows XP_2003\x86 folder.
Universal PCI Board User’s Manual 5. Driver Installation: Windows XP/2003 After the drivers for the serial port have been installed, click Finish to close the wizard. Repeat this process for the remaining serial ports.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Verifying the Installation You can use Windows Device Manager to verify proper installation of the board. 1. Right-click My Computer and select Properties in the context menu. 2. In the Hardware tab, click Device Manager.
Universal PCI Board User’s Manual 3. Driver Installation: Windows XP/2003 In the Device Manager window, you should see your UPCI board under Multi-port serial adapters (CP-118U in this example). You should also see MOXA communication ports under Ports (COM & LPT). If you see any special marks, such as a question mark or an exclamation mark, next to the MOXA items, the installation of the board was not successful. Examine the Windows event log for details.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Configuring the Ports After the board and serial port drivers are installed, the board’s Properties window will appear. The system will map the ports automatically. You may be prompted to take care of port configuration if other Moxa boards have been installed. 1. On the Ports Configuration tab, select a port to configure and click Port Setting. Under Port Number, select a COM number to assign to the serial port.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Using PComm PComm Diagnostic is a useful program for checking the board’s status. It provides internal and external testing of IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, and other items. You can use PComm Diagnostic to verify that the module and serial ports are working properly. You may download PComm from the Moxa website. Using Event Log You may refer to the Windows event log to verify operation of the board.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Disabling the Board 1. Right-click My Computer and select Properties in the context menu. 2. In the Hardware tab, click Device Manager. 3. In Device Manager, right-click the UPCI board under Multi-port serial adapters and select Disable in the context menu. This will disable the board.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 Uninstalling the Board 1. Right-click My Computer and select Properties in the context menu. 2. In the Hardware tab, click Device Manager.
Universal PCI Board User’s Manual Driver Installation: Windows XP/2003 3. Right-click the UPCI board under Multi-port serial adapters (CP-118U in this example) and select Uninstall in the context menu. 4. A confirmation dialog will appear. Click OK to uninstall the device.
5 Chapter 5 Driver Installation: Windows 2000 The following topics are covered in this chapter: Overview Installing the Driver Installing the Ports Verifying the Installation Configuring the Ports Using PComm Using Event Log Disabling the Board Uninstalling the Board
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Overview This chapter explains how to install, configure, update, and remove the board drivers for Windows 2000. The following models are supported: CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-114UL CP-118U CP-118U-I CP-132UL V2 CP-132UL-I V2 CP-134U V2 CP-134U-I V2 CP-138U CP-138U-I CP-168U V2 POS-104UL Windows 2000 supports up to 256 serial ports, from COM1 to COM256.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Installing the Driver The following instructions show how to install the driver for the first time under Windows 2000. You will need to plug the board in an available PCI or PCI-X slot first, before installing the driver. ATTENTION The following steps will not be necessary if a MOXA UPCI board was already installed on your computer. Windows will automatically detect and install any additional board(s) at bootup.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 2. Select Search for a suitable driver for my device (recommended) and click Next to continue. 3. Select Specify a location and click Next to continue.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 4. Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-118U Series\Software). Select the \Windows 2K folder and click Next to continue. 5. After the wizard has located the driver files, click Next to proceed.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 6. If you see a warning that the digital signature has not been found, click Yes to proceed. 7. Windows will install the drivers. When the installation is complete, click Finish.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Installing the Ports After the board and drivers have been installed, an installation wizard will guide you through installation of the newly added serial ports, starting with port 0. 1. When the installation wizard opens, click Next to proceed. 2. Select Search for a suitable driver for my device (recommended) and click Next to continue.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 3. Select Specify a location and click Next to continue. 4. Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-118U Series\Software). Select the \Windows 2K folder and click Next to continue.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 5. After the wizard has located the driver files, click Next to proceed. 6. After the drivers have been installed, click Finish to exit the wizard. The other serial ports will automatically install in the background.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Verifying the Installation You can use Windows Device Manager to verify proper installation of the board. 1. Right-click My Computer and select Properties in the context menu. 2. In the Hardware tab, click Device Manager.
Universal PCI Board User’s Manual 3. Driver Installation: Windows 2000 In the Device Manager window, you should see your UPCI board under Multi-port serial adapters (CP-118U in this example). You should also see MOXA communication ports under Ports (COM & LPT). If you see any special marks, such as a question mark or an exclamation mark, next to the MOXA items, the installation of the board was not successful. Examine the Windows event log for details.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Configuring the Ports After the board and serial port drivers are installed, the board’s Properties window will appear. The system will map the ports automatically. You may be prompted to take care of port configuration if other Moxa boards have been installed. 1. On the Ports Configuration tab, select a port to configure and click Port Setting. Under Port Number, select a COM number to assign to the serial port.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Using PComm PComm Diagnostic is a useful program for checking the board’s status. It provides internal and external testing of IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, and other items. You can use PComm Diagnostic to verify that the module and serial ports are working properly. You may download PComm from the Moxa website. Using Event Log You may refer to the Windows event log to verify operation of the board.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Disabling the Board 1. Right-click My Computer and select Properties in the context menu. 2. In the Hardware tab, click Device Manager. 3. In Device Manager, right-click the UPCI board under Multi-port serial adapters and select Disable in the context menu. This will disable the board.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 Uninstalling the Board 1. Right-click My Computer and select Properties in the context menu. 2. In the Hardware tab, click Device Manager.
Universal PCI Board User’s Manual Driver Installation: Windows 2000 3. Right-click the UPCI board under Multi-port serial adapters (CP-118U in this example) and select Uninstall in the context menu. 4. At the warning prompt, click OK to uninstall the device.
6 Chapter 6 Driver Installation: Windows NT The following topics are covered in this chapter: Overview Installing the Driver Configuring the Ports Removing the Board Updating the Driver Removing the Driver
Universal PCI Board User’s Manual Driver Installation: Windows NT Overview This chapter explains how to install, configure, update, and remove the board drivers for Windows NT. The following models are supported: CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-118U CP-118U-I CP-132UL V2 CP-132UL-I V2 CP-134U V2 CP-134U-I V2 CP-168U V2 Windows NT supports up to 256 serial ports, from COM1 to COM256.
Universal PCI Board User’s Manual Driver Installation: Windows NT Installing the Driver You will need to plug the board in an available PCI or PCI-X slot first, before installing the driver. Note that these instructions use the CP-168U V2 as an example. The procedure for installing all models is the same. 1. Log into Windows NT as Administrator. 2. Locate the appropriate folder for your board’s drivers on the Document & Software CD.
Universal PCI Board User’s Manual Driver Installation: Windows NT 4. When prompted, select your board model (Smartio/Industio Family multiport board in this example) and click OK. 5. After the files have been installed, a configuration panel will open. This is where boards are installed, configured, and removed. If another board has already been installed on the system, it will already be listed.
Universal PCI Board User’s Manual 6. Driver Installation: Windows NT Under Board Type, select the UPCI board that is being installed. The window will show the COM settings for the serial ports on the board. You can modify the COM settings for any port at this time by selecting a port and clicking Port Setting. If you are satisfied with the COM settings, click OK to return to the configuration panel.
Universal PCI Board User’s Manual Driver Installation: Windows NT 7. The board will now appear in the configuration panel (CP-168U Series in this example). Click OK to return to the Network applet. After that, click OK again to exit the Network applet 8. Restart the PC. After you have logged back into Windows NT, you may check the event log issued by the MOXA driver to see if the board’s ports have been initialized successfully. In the Administrative group, open Event Viewer and select Log and System.
Universal PCI Board User’s Manual Driver Installation: Windows NT Configuring the Ports 1. In Windows Control Panel, open the Network applet. In the Adapters tab, UPCI boards will appear as a type of Moxa adapter (MOXA Smartio/Industio Family Adapter in this example). Select the Moxa adapter and click Properties… 2. The configuration panel will open with a list of installed boards. Select your board and click Property. Up to 4 Moxa UPCI boards can be installed at a time.
Universal PCI Board User’s Manual 3. Driver Installation: Windows NT Select a port to configure and click Port Setting. Under Port Number, select a COM number to assign to the serial port. Select Auto Enumerating COM Number to map subsequent ports in numerical order. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2. 4. Select an Rx FIFO Trigger and Tx FIFO Size. The default Rx FIFO Trigger is 120 bytes (high level).
Universal PCI Board User’s Manual 5. Driver Installation: Windows NT Click OK to approve the settings for the selected port. Continue in the same way to configure the other ports. When you have finished setting up the ports, click OK to close the Properties window and apply the new port settings. Click OK again to exit the Network applet. Removing the Board To remove a board, shut of your PC and physically remove the board from the PCI slot.
Universal PCI Board User’s Manual Driver Installation: Windows NT Updating the Driver 1. In Windows Control Panel, open the Network applet. In the Adapters tab, UPCI boards will appear as a type of Moxa adapter (MOXA Smartio/Industio Family Adapter in this example). Select the Moxa adapter and click Remove. 2. Restart the system. 3. Go through the process of installing the drivers using the new drivers.
Universal PCI Board User’s Manual Driver Installation: Windows NT Removing the Driver 1. In Windows Control Panel, open the Network applet. In the Adapters tab, UPCI boards will appear as a type of Moxa adapter (MOXA Smartio/Industio Family Adapter in this example). Select the Moxa adapter and click Remove. 2. Click OK to exit the Network applet and restart the system.
7 Chapter 7 Driver Installation: Windows 95/98/ME The following topics are covered in this chapter: Overview Installing the Driver ¾ ¾ Windows 95 Windows 98 and ME Configuring the Ports Updating the Driver Removing the Driver
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME Overview This chapter explains how to install, configure, update, and remove the board drivers for Windows 95/98/ME. The following models are supported: CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-118U CP-118U-I CP-132UL V2 CP-132UL-I V2 CP-134U V2 CP-134U-I V2 CP-168U V2 Windows 95/98/ME supports up to 128 serial ports, from COM1 to COM128.
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME Installing the Driver The following instructions show how to install the driver for the first time under Windows 95/98/ME. You will need to plug the board in an available PCI or PCI-X slot first, before installing the driver. ATTENTION The following steps will not be necessary if a MOXA UPCI board was already installed on your computer. Windows will automatically detect and install any additional board(s) at bootup.
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME 3. Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-168U V2\Software). Select the \Win9x folder and click OK to continue. 4. After Windows finds the drivers, click Finish. You may begin configuring and using the new COM ports right away without restarting Windows.
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME Windows 98 and ME 1. After the board is physically installed and the PC boots up, Windows will automatically detect the new board and the Found New Hardware Wizard window will open. Click Next to continue. 2. Select Display a list... and click Next.
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME 3. Select Other Devices and click Next. 4. Select Have Disk… 5. Click Browse and select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-168U V2 \Software). Select the \Win9x folder and click OK to continue.
Universal PCI Board User’s Manual 6. Driver Installation: Windows 95/98/ME After Windows installs the drivers, click Finish.
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME Configuring the Ports You may configure the COM ports after the board and drivers have been installed. 1. In the Windows Control Panel, open the System applet. 2. In the Device Manager tab, expand the Moxa Smartio/Industio multiport board category by clicking the “+” sign next to it. Select the desired board (CP-168U in this example) and click Properties.
Universal PCI Board User’s Manual 3. Driver Installation: Windows 95/98/ME On the Ports Configuration tab, select a port to configure and click Port Setting. Under Port Number, select a COM number to assign to the serial port. Select Auto Enumerating COM Number to map subsequent ports in numerical order. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2. 4. 5. Select an Rx FIFO Trigger and Tx FIFO Size.
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME Updating the Driver You may configure the COM ports after the board and drivers have been installed. 1. In the Windows Control Panel, open the System applet. 2. In the Device Manager tab, expand the Moxa Smartio/Industio multiport board category by clicking the “+” sign next to it. Select the desired board (CP-168U in this example) and click Properties.
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME 3. In the Driver tab, click Update Driver.... 4. Select the appropriate model (CP-168U in this example) and click Have Disk...
Universal PCI Board User’s Manual Driver Installation: Windows 95/98/ME 5. When prompted, select the appropriate directory on the Document & Software CD for the driver. Drivers for all operating systems are located under the product folder in the \Software directory (e.g., under \CP-118U Series\Software). Select the \Win9x folder and click OK to continue. 6. You will be prompted to restart the system. The new drivers will be in effect the next time you restart. Removing the Driver 1.
8 Driver Installation: Non Windows Chapter 8 The following topics are covered in this chapter: Overview DOS ¾ ¾ ¾ ¾ Installing the Driver Setting up the Driver Loading the Driver Unloading the Driver Linux (32-bit/64-bit) SCO
Universal PCI Board User’s Manual Driver Installation: Non Windows Overview This chapter explains how to install, configure, update, and remove the board drivers for non Windows operating systems. Before installing the software, be sure to install the hardware first. For details on installing the hardware, please refer to Chapter 2. You can download DOS, Linux, and SCO drivers from the MOXA website. For information on developing your own serial programming applications, please refer to the next chapter.
Universal PCI Board User’s Manual 2. Driver Installation: Non Windows After installation is complete, you will be prompted to set up the board and driver initial values. It is strongly recommended that you set up the board and driver at this time by pressing Y. Setting up the Driver The following instructions are not intended to illustrate every function of the setup program. For more detailed information, please refer to the help files by pressing F1 in the setup program. 1.
Universal PCI Board User’s Manual Driver Installation: Non Windows 3. Press PgDn to view and modify the setup options for the selected board. 4. The settings for each port will be displayed. Verify the settings and make any necessary changes. Port number: This is the port ID of each port. Application software will refer to a port by its port number (ID). Port numbers must be unique; duplicate port numbers are not allowed.
Universal PCI Board User’s Manual 5. Driver Installation: Non Windows RxD buffer size: This is the receiving (input) buffer allocated in the system for each port. F5: Group Edit: This allows you to configure several ports simultaneously as a group. Press F10 to save the latest configuration and exit the setup program. Loading the Driver After setting up the driver, you must load the driver in order to gain access to the serial ports on the serial board. Run BIN\DP-DRV.EXE at the DOS prompt.
Universal PCI Board User’s Manual Driver Installation: Non Windows Linux (32-bit/64-bit) The Linux drivers support the following models: CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-114UL CP-118U CP-118U-I CP-132UL V2 CP-132UL-I V2 CP-134U V2 CP-134U-I V2 CP-138U CP-138U-I CP-168U V2 POS-104UL To install and load the Linux drivers, enter the following commands from the Linux prompt: # mkdir moxa # cd moxa # tar xvfz mxser.tgz # cd mxser # make clean; make install # cd /moxa/mxser/driver # .
Universal PCI Board User’s Manual Driver Installation: Non Windows SCO The MOXA SCO driver supports the following boards and SCO versions: Supported Boards CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-118U CP-138U-I CP-168U V2 1. Supported SCO Versions SCO OpenServer 5/6 SCO UnixWare 7 To install the SCO drivers, first copy the driver file .tar to your host using the following commands: #tar xvf /tmp/moxa/mxintall /tmp/moxa/sco.tar # cd/tmp/mxinstall # ./mxinstall 2.
Universal PCI Board User’s Manual 4. Driver Installation: Non Windows You should see a message indicating the I/O address, buss number, and device number for the board. These resources will be automatically assigned by the SCO system. Press Enter to return to the main configuration screen. PCI Boards Selecting 1 I/O Addr= AC00, BusNo=2, DevNo=13 Enter: Select ESC: Exit 5. Press Esc to save the configuration and exit. Confirm this action by pressing Y. 6.
9 Chapter 9 Serial Programming Tools The following topics are covered in this chapter: Overview Serial Programming Library PComm Utilities ¾ ¾ ¾ ¾ Installation PComm Diagnostic PComm Monitor PComm Terminal Emulator
Universal PCI Board User’s Manual Serial Programming Tools Overview MOXA provides Windows serial programming libraries and troubleshooting utilities that are easy to use and powerful. You can use these tools to reduce software development time. The serial communication library is useful for developing applications for data communications, remote access, data acquisition, and industrial control. It provides a simpler solution compared to the more complex Windows Win32 COMM API.
Universal PCI Board User’s Manual Serial Programming Tools PComm Diagnostic PComm Diagnostic is designed for MOXA boards only. It provides internal and external testing of IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD, and other items. You can use PComm Diagnostic to check the operation of both software and hardware. To run the Diagnostic program, go to Start Æ Program Æ PComm Lite Æ Diagnostic. PComm Monitor PComm Monitor is designed for MOXA boards in Windows NT only.
Universal PCI Board User’s Manual Serial Programming Tools PComm Terminal Emulator PComm Terminal Emulator can be used to connect to a serial port to verify that data transmission is functioning correctly. It supports multiple windows and both VT100 and ANSI terminal types. You can interactively transfer data, periodically send patterns, and transfer files using ASCII, XMODEM, YMODEM, ZMODEM, and KERMIT protocols. To run PComm Terminal Emulator, go to Start Æ Program Æ PComm Lite Æ Terminal Emulator.
10 Chapter 10 The following topics are covered in this chapter: Overview CP-102U CP-102UL CP-104JU V2 CP-104UL V2 CP-114UL CP-118U CP-118U-I CP-132UL V2, CP-132UL-I V2 CP-134U V2, CP-134U-I V2 CP-138U CP-138U-I CP-168U V2 POS-104UL Serial Connectors ¾ ¾ ¾ ¾ DB9 (male) DB25 (male) DB25 (female) RJ45 Pin Assignments
Universal PCI Board User’s Manual Pin Assignments Overview This chapter provides the pin assignments for each Moxa UPCI multiport serial board, as well as the pin assignments for the optional accessories. Moxa UPCI boards do not have built-in serial port connectors. The only exception is the CP-102U, which is built with two DB9 (male) serial connectors. For all other models, you will need a cable or other accessory with standard serial connectors in order to connect serial devices to the board.
Universal PCI Board User’s Manual Pin Assignments CP-102U 1 6 5 9 This board supports RS-232 only.
Universal PCI Board User’s Manual Pin Assignments CP-102UL This board supports RS-232 only.
Universal PCI Board User’s Manual Pin Assignments CP-104JU V2 1 8 This board supports RS-232 only.
Universal PCI Board User’s Manual Pin Assignments CP-104UL V2 This board supports RS-232 only.
Universal PCI Board User’s Manual Pin Assignments CP-114UL This board supports RS-232, RS-422, and RS-485 (both 2 and 4-wire).
Universal PCI Board User’s Manual Pin Assignments DB44 (female): RS-485 (2-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Signal Data3+(B) ------Data2+(B) ------Data1+(B) ------Data0+(B) ----- Pin 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Signal --Data3-(A) ------Data2-(A) ------Data1-(A) ------Data0-(A) --- 10-8 Pin 31 32 33 34 35 36 37 38 39 40 41 42 43 44 Signal ----GND ------GND ------GND ----GND
Universal PCI Board User’s Manual Pin Assignments CP-118U Port 6 Port 8 Port 7 Port 3 Port 5 Port 4 Port 2 Port 1 21 42 62 1 22 43 GND GND GND GND GND GND This board supports RS-232, RS-422, and RS-485 (both 2 and 4-wire). Model Board Connector CP-118U DB62 (female) Supported Accessories OPT8-M9 CBL-M62M9x8-100 (OPT8D) OPT8B CBL-M62M25x8-100 (OPT8C) Serial Connectors 8×DB9 (male) 8×DB25 (male) OPT8A, OPT8S 8×DB25 (female) OPT8-RJ45* 8×RJ45 * The OPT8-RJ45 is designed for RS-232 only.
Universal PCI Board User’s Manual Pin 21 Signal DCD7 Pin 42 Pin Assignments Signal DTR7 Pin Signal Pin 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 Signal ----GND --------GND --------GND ----GND --------- DB62 (female): RS-422, RS-485 (4-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Signal RxD0+(B) RxD0-(A) TxD1+(B) --TxD1-(A) RxD2+(B) RxD2-(A) TxD3+(B) --TxD3-(A) TxD4+(B) --TxD4-(A) RxD5+(B) RxD5-(A) TxD6+(B) --TxD6-(A) TxD7+(B) --TxD7-(A) Pin 22 23 24 25 26 27 28
Universal PCI Board User’s Manual Pin Assignments DB62 (female): RS-485 (2-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Signal Data0+(B) Data0-(A) ------Data2+(B) Data2-(A) ------------Data5+(B) Data5-(A) ------------- Pin 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Signal ------Data1+(B) Data1-(A) ------Data3+(B) Data3-(A) GND Data4+(B) Data4-(A) ------Data6+(B) Data6-(A) GND Data7+(B) Data7-(A) 10-11 Pin 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
Universal PCI Board User’s Manual Pin Assignments CP-118U-I This board supports RS-232, RS-422, and RS-485 (both 2 and 4-wire).
Universal PCI Board User’s Manual Pin Assignments DB78 (female): RS-422, RS-485 (4-wire) Pin 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 Signal GND7 RxD7+(B) --GND6 RxD6+(B) GND5 RxD5+(B) --GND4 RxD4+(B) GND3 RxD3+(B) --GND2 RxD2+(B) GND1 RxD1+(B) --GND0 RxD0+(B) --RxD7-(A) --RxD6-(A) ----- Pin 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 Signal RxD5-(A) --RxD4-(A) ----RxD3-(A) --RxD2-(A) ----RxD1-(A) --RxD0-(A) --------------------------- 10-1
Universal PCI Board User’s Manual Pin Assignments DB78 (female): RS-485 (2-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Signal GND7 Data7+(B) --GND6 Data6+(B) GND5 Data5+(B) --GND4 Data4+(B) GND3 Data3+(B) --GND2 Pin 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Signal Data2+(B) GND1 Data1+(B) --GND0 Data0+(B) --Data7-(A) --Data6-(A) ----Data5-(A) --- 10-14 Pin 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Signal Data4-(A) ----Data3-(A) --Data2-(A) ----Data1-(A) --Data0-(A) -------
Universal PCI Board User’s Manual Pin Assignments CP-132UL V2, CP-132UL-I V2 These boards support RS-422 and RS-485 (both 2 and 4-wire).
Universal PCI Board User’s Manual Pin Assignments DB25 (female): RS-485 (2-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 Signal ----GND1 ----------Data0-(A) ----Data0+(B) --- Pin 14 15 16 17 18 19 20 21 22 23 24 25 Signal --Data1-(A) ----Data1+(B) ------GND0 ------- 10-16
Universal PCI Board User’s Manual Pin Assignments CP-134U V2, CP-134U-I V2 These boards support RS-422 and RS-485 (both 2 and 4-wire). Ports 1 and 2 also support RS-232.
Universal PCI Board User’s Manual Pin Assignments DB44 (female): RS-485 (4-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Signal RXD3+(B) TXD3+(B) ----RXD2+(B) TXD2+(B) ----RXD1+(B) TXD1+(B) ----RXD0+(B) TXD0+(B) --- Pin 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Signal --RXD3-(A) ------RXD2-(A) ------RXD1-(A) ------RXD0-(A) --- Pin 31 32 33 34 35 36 37 38 39 40 41 42 43 44 Signal TXD3-(A) --GND3 --TXD2-(A) --GND2 --TXD1-(A) --GND1 TXD0-(A) --GND0 Signal --Data3-(A) ------Data2-(A) ------Data1-(A)
Universal PCI Board User’s Manual Pin Assignments CP-138U This board supports RS-422 and RS-485 (both 2 and 4-wire).
Universal PCI Board User’s Manual Pin Assignments DB62 (female): RS-485 (2-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Signal Data0+(B) Data0-(A) ------Data2+(B) Data2-(A) ------------Data5+(B) Data5-(A) ------------- Pin 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Signal ------Data1+(B) Data1-(A) ------Data3+(B) Data3-(A) GND Data4+(B) Data4-(A) ------Data6+(B) Data6-(A) GND Data7+(B) Data7-(A) 10-20 Pin 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
Universal PCI Board User’s Manual Pin Assignments CP-138U-I This board supports RS-422 and RS-485 (both 2 and 4-wire).
Universal PCI Board User’s Manual Pin Assignments DB78 (female): RS-485 (2-wire) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Signal GND7 Data7+(B) --GND6 Data6+(B) GND5 Data5+(B) --GND4 Data4+(B) GND3 Data3+(B) --GND2 Pin 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Signal Data2+(B) GND1 Data1+(B) --GND0 Data0+(B) --Data7-(A) --Data6-(A) ----Data5-(A) --- 10-22 Pin 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Signal Data4-(A) ----Data3-(A) --Data2-(A) ----Data1-(A) --Data0-(A) -------
Universal PCI Board User’s Manual Pin Assignments CP-168U V2 This board supports RS-232. With the OPT8F or OPT8Z accessory, it can support RS-422. With the OPT8K or OPT8I accessory, it can support RS-422 and RS-485 (both 2 and 4-wire).
Universal PCI Board User’s Manual Pin Assignments POS-104UL This board supports RS-232 only.
Universal PCI Board User’s Manual Pin Assignments Serial Connectors DB9 (male) The following accessories provide DB9 (male) serial connectors for your UPCI board: Accessory CBL-M25M9x2-50 Board Connector Serial Connectors DB25 (female) 2×DB9 (male) CBL-M44M9x4-50 DB44 (female) 4×DB9 (male) CBL-M44M9x4-50(POS) CBL-RJ45M9-150 OPT8-M9 CBL-M62M9x8-100 (OPT8D) CBL-M78M9x8-100 DB44 (female) RJ45 4×DB9 (male) 4×DB9 (male) DB62 (female) 8×DB9 (male) DB78 (female) 8×DB9 (male) 1 6 5 9 The pin assig
Universal PCI Board User’s Manual Pin Assignments DB25 (male) The following accessories provide DB25 (male) serial connectors for your UPCI board: Accessory CBL-M44M25x4-50 Board Connector Serial Connectors DB44 (female) 4×DB25 (male) CBL-RJ45M25-150 RJ45 4×DB25 (male) DB62 (female) 8×DB25 (male) DB78 (female) 8×DB25 (male) OPT8B CBL-M62M25x8-100 (OPT8C) CBL-M78M25x8-100 1 13 14 25 The pin assignments for the DB25 (male) serial connector are shown below.
Universal PCI Board User’s Manual Pin Assignments DB25 (female) The following accessories provide DB25 (female) serial connectors for your UPCI board: Accessory Board Connector Serial Connectors OPT8A, OPT8S, *OPT8F, DB62 (female) 8×DB25 (female) *OPT8Z, *OPT8K, *OPT8I * The OPT8F, OPT8Z, OPT8K, and OPT8I are designed for use with the CP-168U V2 only. 13 1 25 14 The pin assignments for the DB25 (female) serial connector are shown below.
Universal PCI Board User’s Manual Pin Assignments RJ45 The following accessories provide RJ45 serial connectors for your UPCI board: Accessory OPT8-RJ45 1 Board Connector Serial Connectors DB62 (female) 8×RJ45 8 The pin assignments for the RJ45 serial connector are shown below. Only RS-232 is supported. The OPT8-RJ45 accessory should only be used with the CP-118U in RS-232 mode or with the CP-168U V2.