Universal PCI Board User’s Manual Multiport Serial Board for PCI and PCI-X Bus Ninth Edition, December 2012 www.moxa.com/product © 2012 Moxa Inc. All rights reserved.
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 © 2012 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents 1. Introduction ...................................................................................................................................... 1-1 Overview ........................................................................................................................................... 1-2 Applications ....................................................................................................................................... 1-4 Package Checklist ..............
DB62 (Female): RS-485 (2-wire)................................................................................................. 5-10 CP-118U-I ....................................................................................................................................... 5-11 DB78 (Female): RS-232 ............................................................................................................. 5-11 DB78 (Female): RS-422, RS-485 (4-wire) ....................................................
1 1.
Universal PCI Board 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 Introduction Smartio—The Smart Multiport Async Solution The Smartio Series of multiport serial boards includes the CP-168U, CP-104UL, CP-104JU, POS-104UL, CP-102UL, and CP-102U. These boards provide RS-232 serial ports for connecting terminals, modems, printers, scanners, cash registers, bar code readers, keypads, numeric displays, electrical scales, data acquisition equipment, and many other serial devices to a PC.
Universal PCI Board Introduction Universal PCI For maximum compatibility with the PCI local bus specification, UPCI boards support both 3.3V and 5V PCI connector types. The 32/64-bit PCI local bus specification specifies both a 3.3V/5V and 32/64-bit slot. Operating System Support Moxa UPCI boards are compatible with most major industrial platforms, including Windows, DOS, and Linux. Drivers are provided for smoother installation, configuration, and performance.
Universal PCI Board Introduction Product Features Moxa UPCI boards enjoy the following features: • Over 700 Kbps data throughput for top performance • Serial communication speed up to 921.6 Kbps • 128-byte FIFO and on-chip hardware and software flow control • Universal PCI supporting 3.
Universal PCI Board Introduction Interface Bus: 32-bit Universal PCI No. of Ports: 8 Ports: CP-118U/CP-118U-I CP-138U/CP-138U-I CP-1168U 4 Ports: CP-114UL/CP-114UL-I CP-134U/CP-134U-I CP-104UL/CP-104JU POS-104UL: 2 Ports: CP-112UL/CP-112UL-I CP-132UL/CP-132UL-I CP-102UL CP-102U/CP-102UF Max. No.
Universal PCI Board Introduction 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. This applies to the CP-118U-I, CP-138U-I, CP-118U, CP-138U, CP-114UL, CP-114UL-I, CP-134U, CP-134U-I, CP-112UL, CP-112UL-I, CP-132UL, CP-132UL-I, POS-104UL, and CP-102UF. For details, please refer to Chapter 2.
2 2.
Universal PCI Board 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.
Universal PCI Board Hardware Installation Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP8. For CP-118U-I, JP1/2/3/4/5/6/7/8 corresponds to serial port 1/2/3/4/5/6/7/8, respectively. For CP-118U, JP1/2/3/4/5/6/7/8 corresponds to serial port 8/7/6/5/4/3/2/1, respectively. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor.
Universal PCI Board Hardware Installation Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP8. For CP-138U-I, JP1/2/3/4/5/6/7/8 corresponds to serial port 1/2/3/4/5/6/7/8, respectively. For CP-138U, JP1/2/3/4/5/6/7/8 corresponds to serial port 8/7/6/5/4/3/2/1, respectively. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor.
Universal PCI Board Hardware Installation CP-168U This board does not require configuration.
Universal PCI Board Hardware Installation Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP4. For CP-114UL, JP1/2/3/4 corresponds to serial port 1/2/3/4, respectively. For CP-114UL-I, JP1/2/3/4 corresponds to serial port 4/3/2/1, respectively. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor.
Universal PCI Board Hardware Installation CP-134U/CP-134U-I Onboard termination resistors can be activated individually for each serial port using jumpers JP1 through JP4. For CP-134U, JP1/2/3/4 corresponds to serial port 1/2/3/4, respectively. For CP-134U-I, JP1/2/3/4 corresponds to serial port 4/3/2/1, respectively. Short the jumper pins to activate the termination resistor; leave the jumper pins open to bypass the termination resistor.
Universal PCI Board Hardware Installation RS-422 or RS-485 mode: RS-232 mode: Use the jumper to cover the left Use the jumper to cover the right two columns of jumper pins. two columns of jumper pins. CP-104UL This board does not require configuration.
Universal PCI Board Hardware Installation CP-104JU This board does not require configuration. POS-104UL The onboard jumpers are used to specify the pin 9 power signal for each serial port. Step a Bus power External power The top row of jumper pins selects the source of 12V power; the bottom row of jumper pins selects the source of 5V 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.
Universal PCI Board Hardware Installation CP-112UL/CP-112UL-I 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, S2, and S3, are used to select RS-232, RS-422, or RS-485 mode for each serial port. Switch 1 corresponds to port 1 and switch 2 corresponds to port 2.
Universal PCI Board Hardware Installation CP-132UL/CP-132UL-I 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. On each bank, switch 1 corresponds to port 1 and switch 2 corresponds to port 2.
Universal PCI Board Hardware Installation CP-102UL This board does not require configuration. CP-102U This board does not require configuration.
Universal PCI Board Hardware Installation CP-102UF The onboard DIP switches are used to configure the CP-102UF for “Ring mode” or “Normal”. When using the CP-102UF board, your PC can be included as one node of a fiber ring formed using Moxa’s own TCF-142 serial-to-fiber converter. Since each TCF-142 has two fiber ports and one serial port, PCs that are part of the ring will be able to communicate with serial devices connected to the ring.
Universal PCI Board 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 3. Software Installation This chapter gives installation, configuration, and update/removal procedures for the driver for Windows Server 2012 (64-bit), Windows 8 (32-bit/64-bit), Windows 7 (32-bit/64-bit), Windows 2003/XP/Vista/2008 (32-bit/64-bit), Windows 2000, WinCE, DOS, Linux (32-bit/64-bit), and SCO. Before proceeding with the software installation, complete the hardware installation discussed in the previous chapter, “Hardware Installation.
Universal PCI Board Software Installation Windows Drivers Moxa provides drivers that allow you to use the following serial board products under Windows 7/8, Windows 2008/Vista/2003/XP/2000. The overall procedure for installing the drivers is shown on the right. A newly installed board will be automatically detected by the operating system. Windows 7/8 (32-bit/64-bit) The Windows 8 installation procedures and popup windows are almost the same as Windows 7.
Universal PCI Board Software Installation 2. Select Browse my computer for device software to continue. 3. Select Search for driver software in this location, select Include subfolders, and then click Browse. If the system is a 32-bit (x86) platform, navigate to the \CP-104U Series\Software\Windows 8\x86 folder on the CD. If the system is a 64-bit (x64) platform, navigate to the \CP-104U Series\Software\Windows 8\x64 folder on the CD, and then click Next to continue.
Universal PCI Board Software Installation 4. Wait while the driver software is installed. The next window shows the model name of the board, and indicates that Windows has completed the driver installation. Click Close to proceed with the rest of the installation procedure. 5. After installing the multiport serial adaptors driver, install the Moxa Port diver next. Right click on MOXA communication port. A popup window will open to help you install the driver for MOXA Port 0.
Universal PCI Board Software Installation 6. Select Browse my computer for device software to continue. 7. Select Search for driver software in this location, select Include subfolders, and then click Browse. If the system is a 32-bit (x86) platform, navigate to the \CP-104U Series\Software\Windows 8\x86 folder on the CD. If the system is a 64-bit (x64) platform, navigate to the \CP-104U Series\Software\Windows 8\x64 folder on the CD, and then click Next to continue.
Universal PCI Board Software Installation 8. After all files have been copied to the system, window showing Windows has successfully updated your driver software will open to indicate that it has finished installing MOXA Port 0. The Port installation procedure is complete when Port 0 has been set up.
Universal PCI Board Software Installation Configuring the Ports After the driver has been installed, use Device Manager to configure the CP-104U serial ports. 1. Expand the Multi-port serial adapters tab, right click MOXA CP-104U Series (PCI Bus), and then click Properties to open the board’s configuration panel.
Universal PCI Board Software Installation 2. Click the port you would like to configure to highlight it, and then click Port Setting. 3. Select a COM number for the port from the Port Number pull-down list. Select the Auto Enumerating COM Number option to map subsequent ports automatically. The port numbers will be assigned in sequence. For example, if COM 3 is assigned to Port 1, then COM 4 (if not already occupied) will be assigned to Port 2, etc.
Universal PCI Board Software Installation 4. Select an Rx FIFO Trigger from the Rx FIFO Level pull-down list. Rx FIFO trigger levels of High, Middle, and Low are available, with the default set to High (120 bytes). Select Set the change to all ports option to apply this Rx FIFO Trigger to all ports. 5. Select a Tx FIFO Level from the Tx FIFO Level pull-down list. Tx FIFO Levels of High, Middle, and Low are available, with the default set to High (128 bytes).
Universal PCI Board Software Installation 2. Expand Multi-port Serial Adapters tab, right click CP-104U Series, and then click Uninstall to remove the UPCI driver. 3. The Device Manager window refreshes automatically, showing that the driver and ports for the CP-104U Series board have been removed.
Universal PCI Board Software Installation Windows 2008/Vista (32-bit/64-bit) In this section, we describe the installation procedure for Windows Vista. The installation procedure for Windows 2008 is similar. 2 Ports 4 Ports CP-112UL/CP-112UL-I CP-114UL/CP-114UL-I 8 Ports CP-118U/CP-118U-I CP-132UL/CP-132UL-I CP-134U/CP-134U-I CP-138U/CP-138U-I CP-102UL CP-104UL CP-168U CP-102U CP-104JU CP-102UF POS-104UL Windows 2008 and Windows Vista support up to 256 serial ports from COM1 to COM256.
Universal PCI Board Software Installation 3-12
Universal PCI Board Software Installation 2. Select I don’t have the disc. Show me other options. 3. Select Browse my computer for driver software (advanced).
Universal PCI Board Software Installation 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). For 32-bit (x86) platforms, select the \Windows 2008_Vista\x86 folder. For 64-bit (x64) platforms, select the \Windows 2008_Vista\x64 folder. After selecting the folder, click Next to continue. 5.
Universal PCI Board Software Installation 6. 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. 7. When prompted to insert a disc, select I don’t have the disc. Show me other options.
Universal PCI Board Software Installation 8. Select Browse my computer for driver software (advanced). 9. 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 2008_Vista\x86 folder. For 64-bit (x64) platforms, select the \Windows 2008_Vista\x64 folder.
Universal PCI Board Software Installation 10. If you receive a warning message stating that the Windows can’t verify the publisher of the software, select Install this driver software anyway. 11. 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 Software Installation 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 Software Installation 3. 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). 4. 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 Software Installation 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. 2. Under Port Number, select a COM number to assign to the serial port.
Universal PCI Board Software Installation 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 Software Installation 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. Windows 2003/XP This chapter explains how to install, configure, update, and remove the board drivers for Windows XP/2003.
Universal PCI Board Software Installation Windows XP/2003 supports up to 256 serial ports, from COM1 to COM256. Moxa developed pure 32 and 64-bit Windows device drivers in order to fully utilize the advanced multi-process and multi-thread features of Windows XP/2003. The drivers conform to the Win32 COMM API standard. 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.
Universal PCI Board Software Installation 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 Software Installation 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 Software Installation 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.
Universal PCI Board Software Installation 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 Software Installation 4. If you see a warning that the software has not passed Windows Logo testing, click Continue Anyway. 5. 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 Software Installation 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 Software Installation 3. 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). 4. 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 Software Installation 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. 2. Under Port Number, select a COM number to assign to the serial port.
Universal PCI Board Software Installation 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 Software Installation 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. 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 Software Installation 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. Windows 2000 This chapter explains how to install, configure, update, and remove the board drivers for Windows 2000.
Universal PCI Board Software Installation Windows 2000 supports up to 256 serial ports, from COM1 to COM256. Moxa developed pure 32-bit Windows device drivers in order to fully utilize the advanced multi-process and multi-thread features of Windows 2000. The drivers conform to the Win32 COMM API standard. You can download the drivers from the Moxa website. For information on developing your own serial programming applications, please refer to Chapter 9.
Universal PCI Board Software Installation 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. 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 Software Installation 5. After the wizard has located the driver files, click Next to proceed. 6. If you see a warning that the digital signature has not been found, click Yes to proceed.
Universal PCI Board Software Installation 7. Windows will install the drivers. When the installation is complete, click Finish. 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.
Universal PCI Board Software Installation 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. 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 Software Installation 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. 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.
Universal PCI Board Software Installation 2. In the Hardware tab, click Device Manager. 3. 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). 4. 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 Software Installation 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. 2. Under Port Number, select a COM number to assign to the serial port.
Universal PCI Board Software Installation 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 Software Installation 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. 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 Software Installation 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. Windows NT This chapter explains how to install, configure, update, and remove the board drivers for Windows NT.
Universal PCI Board Software Installation Windows NT supports up to 256 serial ports, from COM1 to COM256. Moxa developed pure 32-bit Windows device drivers in order to fully utilize the advanced multi-process and multi-thread features of Windows NT. The drivers conform to the Win32 COMM API standard. You can download the drivers from the Moxa website. For information on developing your own serial programming applications, please refer to Chapter 9.
Universal PCI Board Software Installation 3. 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. Windows NT does not automatically detect Moxa UPCI boards, so you will need to click Add for a newly installed board. 4. Under Board Type, select the UPCI board that is being installed.
Universal PCI Board Software Installation 5. 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 6. 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 Software Installation 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 Software Installation 3. Select a port to configure and click Port Setting. 4. 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. Select an Rx FIFO Trigger and Tx FIFO Size. The default Rx FIFO Trigger is 120 bytes (high level). The default Tx FIFO Size is 128 bytes (high level).
Universal PCI Board Software Installation 5. 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 Software Installation 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. Windows 95/98/ME This chapter explains how to install, configure, update, and remove the board drivers for Windows 95/98/ME.
Universal PCI Board Software Installation 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. In this case, you may proceed directly to configuring the ports. Windows 95 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.
Universal PCI Board Software Installation 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 \Software). Select the \Win9x folder and click OK to continue. 4. After Windows finds the drivers, click Finish. 5. You may begin configuring and using the new COM ports right away without restarting Windows. Windows 98 and ME 1.
Universal PCI Board Software Installation 2. Select Display a list... and click Next. 3. Select Other Devices and click Next. 4.
Universal PCI Board Software Installation 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 \Software). Select the \Win9x folder and click OK to continue. 6. After Windows installs the drivers, click Finish.
Universal PCI Board Software Installation 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 Software Installation 3. On the Ports Configuration tab, select a port to configure and click Port Setting. 4. 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. Select an Rx FIFO Trigger and Tx FIFO Size. The default Rx FIFO Trigger is 120 bytes (high level).
Universal PCI Board Software Installation 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 Software Installation 3. In the Driver tab, click Update Driver.... 4. Select the appropriate model (CP-168U in this example) and click Have Disk... 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.
Universal PCI Board Software Installation Removing the Driver 1. In the Windows Control Panel, open the Add/Remove Programs applet. On the Install/Uninstall tab, select Moxa Smartio/Industio Driver and click Add/Remove. 2. When prompted, click Yes to confirm that you want to remove the driver. 3. After the driver has been removed, click OK to return to the Add/Remove Programs applet. Windows CE Windows CE 5.0 In this section, we explain how to install Moxa Universal PCI boards under WinCE 5.0.
Universal PCI Board Software Installation Installing the Driver The following procedure explains how to install the CP-104UL multiport serial module driver under WinCE. Obtain a copy of Moxa Tech WinCE 5.0 driver package and extract it to your computer. Double click the Install package to copy the Mxser folder to %WINCEROOT%\PLATFORM\ automatically, and import the supported Moxa Tech products into the Folder. 1. Start WinCE Platform Builder, select File, and open New Platform. 2.
Universal PCI Board Software Installation 3-63
Universal PCI Board Software Installation 4. Open Manage Catalog Items (File Manage Catalog Items). In the Catalog (View Catalog), browse to \Third Party\Device Drivers\ MOXA Smartio/Industio-PCI, PC/104-Plus. Right-click on the driver Prefix COM or Prefix MXU you would like to include and choose Add to OS Design. NOTE You can only select either Prefix COM or Prefix MXU, but not both. 5. Prefix COM supports up to 10 ports, from COM0 to COM9.
Universal PCI Board Software Installation 6. After adding Moxa Tech drivers into your OS Design, a new project is automatically added to your workspace. The project name is mxserce5. The project can be accessed from File View (View File View). The mxserce5 project contains a number of files used to configure the drivers included in your OS Design. NOTE If you would like to use “Terminal Emulator” tool, please modify mxserce5.reg and keyboard like below (This is only just for “one” “COM” port).
Universal PCI Board Software Installation 8. Finally, copy your image file to the target Host. NOTE If you have created a Windows CE Platform Builder in the development environment, you can skip steps 2, 3, and 4. Windows CE 6.0 The following procedure explains how to install the CP-102U multiport serial board driver under WinCE 6.0. 1. Obtain a copy of Moxa’s WinCE 6.0 driver and extract it to your computer. Double click the install package to automatically install Mxser. 2.
Universal PCI Board Software Installation 3. The CE 6.0 OS Design Wizard will start. Click “Next” to get the Board Support Packages page and select CEPC: x86. Click “Next” to continue.
Universal PCI Board Software Installation 4. On the Design Templates page select your environment, PDA Device for example. Click “Next” to continue. 5. On the Design Template Variants page select your environment, Mobile Handheld for example. Click “Next” to continue.
Universal PCI Board Software Installation 6. On the Application & Media page select your environment, .NET Compact Framework 2.0, ActiveSync, and Quarter VGA Resources-Portrait Mode for example. Click “Next” to continue. 7. On the Networking & Communication page select your environment, TCP/IPv6 Support for example. Click “Next” to continue.
Universal PCI Board Software Installation 8. When the OS Design Project Wizard Complete screen appears, click “Finish.” The catalog notification will pop up. Click “Acknowledge” to finish the project.
Universal PCI Board Software Installation 9. Open the project you created. Click Project on top of the screen, and select Add Existing Subproject. Specify the PCI MSB Mxser driver location with the subproject file “mxserce6.pbpxml.” 10. After the subproject is added, you may configure the “mxserce6.reg” registry file with the location [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\MOXAPCICOM].
Universal PCI Board Software Installation 11. Configuring FIFO and index: Setting the FIFO registry value to 1 enables the FIFO function and 0 disables it. The index allows you to define the initial COM port number in WinCE, but before using this function; make sure that the COM port numbers do not conflict. 12. Open Build and select Advanced Build Commands and choose Build Sysgen. This operation will take you a few minutes. 13.
Universal PCI Board Software Installation Non Windows Driver Drivers are provided for DOS, Linux, and SCO. DOS Moxa DOS API-232 is a software package that can help you develop or debug serial communications programs. This section will show you how to install the package, how to set up the driver, and how to load or unload the driver.
Universal PCI Board Software Installation 2. 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. Run the setup program, BIN\SETUP.EXE.
Universal PCI Board Software Installation 2. Press PgDn to view and modify the setup options for the selected board. 3. The settings for each port will be displayed. Verify the settings and make any necessary changes.
Universal PCI Board Port number: Software Installation 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. The port number can range from 0 to 255 as long as it does not overlap with another port. Generally, you should consider the convenience of programming when specifying the port number. TxD buffer size: This is the transmission (output) buffer allocated in the system for each port.
Universal PCI Board Software Installation Smartio/Industio Family DOS driver Version 1.9 Setup driver . CP-134U series (Bus= x ,Dev=y) : OK! Device driver setup O.K. At this point, you can execute applications that support API-232 functions, or start developing applications using the API-232 library. Unloading the Driver To unload or release the driver from memory, enter DP-DRV /Q at the DOS prompt.
Universal PCI Board Software Installation 1. Copy the driver file .tar to your host. 2. #tar xvf #/tmp/moxa/mxinstall 3. The window shown below will open next. Press RETURN to continue. ============================================================= Copyright© 2008 Moxa Inc. All Rights Reserved. Moxa Smartio/Industio Family Device Driver Installation (Ver. 1.11) ============================================================= For SCO UnixWare 7 Tar files, please wait.....O.K.
Universal PCI Board Software Installation 8. Next, press “Esc” to exit and reboot your computer. 9. Note, whenever you change a MAIN MENU item, you have to reboot your computer.
4 4.
Universal PCI Board 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 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 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.
5 5.
Universal PCI Board 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. Except for the CP-102U and CP-102UF, which have two built-in DB9 (male) serial connectors and an ST type fiber connector, respectively, Moxa’s UPCI boards do not have built-in serial port connectors.
Universal PCI Board Pin Assignments CP-102U This board supports RS-232 only. Model Board Connector Supported Accessories Serial Connectors CP-102U 2×DB9 (male) --- --- DB9 (Male): RS-232 Pin Signal 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS CP-102UL This board supports RS-232 only.
Universal PCI Board Pin Assignments CP-104JU This board supports RS-232 only.
Universal PCI Board Pin Assignments CP-104UL This board supports RS-232 only.
Universal PCI Board Pin Assignments DB25 (Female): RS-422 Pin Signal Pin Signal 1 --- 14 --- 2 TxD1-(A) 15 RxD1-(A) 3 GND1 16 --- 4 --- 17 --- 5 TxD1+(B) 18 RxD1+(B) 6 --- 19 --- 7 --- 20 --- 8 --- 21 TxD0-(A) 9 RxD0-(A) 22 GND0 10 --- 23 --- 11 --- 24 TxD0+(B) 12 RxD0+(B) 25 --- 13 --- --- --- DB25 (Female): RS-485 (4-wire) Pin Signal Pin 1 --- 14 Signal --- 2 TxD1-(A) 15 RxD1-(A) 3 GND1 16 --- 4 --- 17 --- 5 TxD1+(B) 18 RxD1+(
Universal PCI Board Pin Assignments CP-114UL This board supports RS-232, RS-422, and RS-485 (both 2 and 4-wire).
Universal PCI Board Pin Assignments DB44 (Female): RS-485 (2-wire) Pin Signal Pin Signal Pin Signal 1 Data3+(B) 2 --- 16 --- 31 --- 17 Data3-(A) 32 --- 3 --- 18 4 --- 19 --- 33 GND --- 34 5 Data2+(B) 20 --- --- 35 --- 6 --- 21 Data2-(A) 36 --- 7 --- 22 --- 37 GND 8 --- 23 --- 38 --- 9 Data1+(B) 24 --- 39 --- 10 --- 25 Data1-(A) 40 --- 11 --- 26 --- 41 GND 12 --- 27 --- 42 --- 13 Data0+(B) 28 --- 43 --- 14 --- 29 Data0-(
Universal PCI Board Pin Assignments DB62 (Female): RS-232 Pin Signal Pin 1 TxD0 22 2 DTR0 23 Signal Pin Signal RxD0 43 CTS0 DSR0 44 RTS0 3 RxD1 24 DCD0 45 GND 4 DSR1 25 TxD1 46 CTS1 5 DCD1 26 DTR1 47 RTS1 6 TxD2 27 RxD2 48 CTS2 7 DTR2 28 DSR2 49 RTS2 8 RxD3 29 DCD2 50 GND 9 DSR3 30 TxD3 51 CTS3 10 DCD3 31 DTR3 52 RTS3 11 RxD4 32 GND 53 CTS4 12 DSR4 33 TxD4 54 RTS4 13 DCD4 34 DTR4 55 GND 14 TxD5 35 RxD5 56 CTS5 15 DT
Universal PCI Board Pin Assignments DB62 (Female): RS-485 (2-wire) Pin Signal Pin Signal Pin Signal 1 Data0+(B) 22 --- 43 --- 2 Data0-(A) 23 --- 44 --- 3 --- 24 --- 45 GND 4 --- 25 Data1+(B) 46 --- 5 --- 26 Data1-(A) 47 --- 6 Data2+(B) 27 --- 48 --- 7 Data2-(A) 28 --- 49 --- 8 --- 29 --- 50 GND 9 --- 30 Data3+(B) 51 --- 10 --- 31 Data3-(A) 52 --- 11 --- 32 GND 53 --- 12 --- 33 Data4+(B) 54 --- 13 --- 34 Data4-(A) 55 GND 14
Universal PCI Board Pin Assignments CP-118U-I This board supports RS-232, RS-422, and RS-485 (both 2 and 4-wire).
Universal PCI Board Pin Assignments DB78 (Female): RS-422, RS-485 (4-wire) Pin Signal Pin Signal Pin Signal 1 GND7 27 RxD5-(A) 53 --- 2 RxD7+(B) 28 --- 54 --- 3 --- 29 RxD4-(A) 55 --- 4 GND6 30 --- 56 --- 5 RxD6+(B) 31 --- 57 --- 6 GND5 32 RxD3-(A) 58 --- 7 RxD5+(B) 33 --- 59 --- 8 --- 34 RxD2-(A) 60 TxD7-(A) 9 GND4 35 --- 61 TxD7+(B) 10 RxD4+(B) 36 --- 62 TxD6-(A) 11 GND3 37 RxD1-(A) 63 TxD6+(B) 12 RxD3+(B) 38 --- 64 --- 13 --
Universal PCI Board Pin Assignments CP-132UL, CP-132UL-I These boards support RS-422 and RS-485 (both 2 and 4-wire).
Universal PCI Board Pin Assignments DB25 (Female): RS-485 (2-wire) Pin Signal Pin Signal 1 --- 14 --- 2 --- 15 Data1-(A) 3 GND1 16 --- 4 --- 17 --- 5 --- 18 Data1+(B) 6 --- 19 --- 7 --- 20 --- 8 --- 21 --- 9 Data0-(A) 22 GND0 10 --- 23 --- 11 --- 24 --- 12 Data0+(B) 25 --- 13 --- --- --- CP-134U, CP-134U-I These boards support RS-422 and RS-485 (both 2 and 4-wire). Ports 1 and 2 also support RS-232.
Universal PCI Board Pin Assignments DB44 (Female): RS-422 Pin Signal Pin Signal Pin Signal 1 RXD3+(B) 16 CTS3+(B) 31 TXD3-(A) 2 TXD3+(B) 17 RXD3-(A) 32 CTS3-(A) 3 RTS3+(B) 18 RTS3-(A) 33 GND3 4 --- 19 --- 34 --- 5 RXD2+(B) 20 CTS2+(B) 35 TXD2-(A) 6 TXD2+(B) 21 RXD2-(A) 36 CTS2-(A) 7 RTS2+(B) 22 RTS2-(A) 37 GND2 8 --- 23 --- 38 --- 9 RXD1+(B) 24 CTS1+(B) 39 TXD1-(A) 10 TXD1+(B) 25 RXD1-(A) 40 CTS1-(A) 11 RTS1+(B) 26 RTS1-(A) 41 GND1 12
Universal PCI Board Pin Assignments DB44 (Female): RS-485 (2-wire) Pin Signal Pin Signal Pin Signal 1 Data3+(B) 2 --- 16 --- 31 --- 17 Data3-(A) 32 --- 3 --- 18 4 --- 19 --- 33 GND3 --- 34 5 Data2+(B) 20 --- --- 35 --- 6 --- 21 Data2-(A) 36 --- 7 --- 22 --- 37 GND2 8 --- 23 --- 38 --- 9 Data1+(B) 24 --- 39 --- 10 --- 25 Data1-(A) 40 --- 11 --- 26 --- 41 GND1 12 --- 27 --- 42 --- 13 Data0+(B) 28 --- 43 --- 14 --- 29 Data
Universal PCI Board Pin Assignments DB62 (Female): RS-422, RS-485 (4-wire) Pin Signal Pin Signal 1 2 3 TxD1+(B) 4 --- 5 TxD1-(A) 6 7 Pin Signal RxD0+(B) 22 TxD0+(B) 43 --- RxD0-(A) 23 --- 44 --- 24 TxD0-(A) 45 GND 25 RxD1+(B) 46 --- 26 RxD1-(A) 47 --- RxD2+(B) 27 TxD2+(B) 48 --- RxD2-(A) 28 --- 49 --- 8 TxD3+(B) 29 TxD2-(A) 50 GND 9 --- 30 RxD3+(B) 51 --- 10 TxD3-(A) 31 RxD3-(A) 52 --- 11 TxD4+(B) 32 GND 53 --- 12 --- 33 RxD4+(B) 54
Universal PCI Board Pin Assignments CP-138U-I This board supports RS-422 and RS-485 (both 2 and 4-wire).
Universal PCI Board Pin Assignments DB78 (Female): RS-485 (2-wire) Pin Signal Pin Signal Pin Signal 1 GND7 15 Data2+(B) 29 Data4-(A) 2 Data7+(B) 16 GND1 30 --- 3 --- 17 Data1+(B) 31 --- 4 GND6 18 --- 32 Data3-(A) 5 Data6+(B) 19 GND0 33 --- 6 GND5 20 Data0+(B) 34 Data2-(A) 7 Data5+(B) 21 --- 35 --- 8 --- 22 Data7-(A) 36 --- 9 GND4 23 --- 37 Data1-(A) 10 Data4+(B) 24 Data6-(A) 38 --- 11 GND3 25 --- 39 Data0-(A) 12 Data3+(B) 26 --- 4
Universal PCI Board Pin Assignments DB62 (Female): RS-232 Pin Signal Pin 1 TxD0 22 2 DTR0 23 Signal Pin Signal RxD0 43 CTS0 DSR0 44 RTS0 3 RxD1 24 DCD0 45 GND 4 DSR1 25 TxD1 46 CTS1 5 DCD1 26 DTR1 47 RTS1 6 TxD2 27 RxD2 48 CTS2 7 DTR2 28 DSR2 49 RTS2 8 RxD3 29 DCD2 50 GND 9 DSR3 30 TxD3 51 CTS3 10 DCD3 31 DTR3 52 RTS3 11 RxD4 32 GND 53 CTS4 12 DSR4 33 TxD4 54 RTS4 13 DCD4 34 DTR4 55 GND 14 TxD5 35 RxD5 56 CTS5 15 DT
Universal PCI Board Pin Assignments CP-102UF Serial Connectors DB9 (Male) The following accessories provide DB9 (male) serial connectors for your UPCI board: Accessory Board Connector Serial Connectors CBL-M25M9x2-50 DB25 (female) 2×DB9 (male) CBL-M44M9x4-50 DB44 (female) 4×DB9 (male) CBL-M44M9x4-50(POS) DB44 (female) 4×DB9 (male) CBL-RJ45M9-150 RJ45 4×DB9 (male) DB62 (female) 8×DB9 (male) DB78 (female) 8×DB9 (male) OPT8-M9 CBL-M62M9x8-100 (OPT8D) CBL-M78M9x8-100 The pin assignments f
Universal PCI Board Pin Assignments DB25 (Male) The following accessories provide DB25 (male) serial connectors for your UPCI board: Accessory Board Connector Serial Connectors CBL-M44M25x4-50 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 The pin assignments for the DB25 (male) serial connector are shown below.
Universal PCI Board Pin Assignments The pin assignments for the DB25 (female) serial connector are shown below. There are different pin assignments depending on the serial interface that your board is configured for.