User Manual PCI/ PCI Express COMM Series User Manual Industrial Serial Communication Cards
Copyright The documentation and the software included with this product are copyrighted 2012 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable.
Declaration of Conformity CE This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information. CE This product has passed the CE test for environmental specifications. Test conditions for passing included the equipment being operated within an industrial enclosure.
Warnings, Cautions and Notes Warning! Warnings indicate conditions, which if not observed, can cause personal injury! Caution! Cautions are included to help you avoid damaging hardware or losing data. e.g. There is a danger of a new battery exploding if it is incorrectly installed. Do not attempt to recharge, force open, or heat the battery. Replace the battery only with the same or equivalent type recommended by the manufacturer. Discard used batteries according to the manufacturer's instructions.
Safety Instructions 1. 2. 3. Read these safety instructions carefully. Keep this User Manual for later reference. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. 4. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible. 5. Keep this equipment away from humidity. 6. Put this equipment on a reliable surface during installation.
Safety Precaution - Static Electricity Follow these simple precautions to protect yourself from harm and the products from damage. To avoid electrical shock, always disconnect the power from your PC chassis before you work on it. Don't touch any components on the CPU card or other cards while the PC is on. Disconnect power before making any configuration changes. The sudden rush of power as you connect a jumper or install a card may damage sensitive electronic components.
Contents Chapter 1 Introduction..........................................1 1.1 Description ................................................................................................ 2 1.1.1 PCI Bus......................................................................................... 2 1.1.2 PCI Express Bus........................................................................... 2 Features ....................................................................................................
3.6 3.7 3.2.1 Steps for Operating System Driver Setup.................................. 24 Reboot System after Operating System Driver Setup ............................ 30 3.3.1 PCI/PCIe UARTs Device Driver Installation ............................... 30 3.3.2 PCI Bridge Device Driver Installation.......................................... 31 Verify your Operating System Driver Setup ............................................ 32 Configuring Serial Devices for Operating System.............................
5.2 Table 5.10: PCI-1612A/B/C Male DB9 on cable.......................... 59 Table 5.11: PCI-1612A/B/C Male DB25 on cable....................... 59 Table 5.12: PCI-1612A/B/C Female DB37 on bracket ................ 60 5.1.7 PCI-1620A/B, PCIe-1620A/B and PCIe-1622A/B ....................... 61 Table 5.13: PCI-1620A/B, PCIe-1620A/B and PCIe-1622A/B Female DB62 on bracket .............................................. 61 Table 5.15: PCI-1620A/B/C, PCIe-1620A/B, and PCIe-1622A/B Male DB25 on cable .............
PCI/ PCI Express-Communication User Manual x
Chapter 1 Introduction 1
1.1 Description 1.1.1 PCI Bus The PCI Bus is a high-performance bus that provides a processor-independent data path between the CPU and high-speed peripherals. PCI is a robust inter-connect mechanism designed specifically to accommodate multiple high performance peripherals for series communication, SCSI, LAN, etc. Advantech serial communication card leverages the “Plug and Play” capability defined in the PCI 2.1/2.2 bus specification.
1.3.1 Bus Interface The following table indicates models that three of bus specifications are compliant for. Bus interface Models PCI bus specification 2.1 PCI-1601A/B, PCI-1602 PCI-1610A/B, PCI-1612A/B PCI-1620A/B PCI bus specification 2.2 PCI-1602UP, PCI-1603, PCI-1604UP PCI-1610C, PCI-1612C PCI-1622C PCI Express bus specifications 1.0 PCIe-1620A/B, PCIe-1622A/B IRQ: All ports use the same IRQ assigned by PCI/ PCIe Plug-and-Play Data bits: 5, 6, 7, 8 Stop bits: 1, 1.
Data Signals: Table 1.1: Data Signals Communication Interfaces Bus Interface Ports Current RS-232 Loop RS-422 RS-485 Universal Low-Profile PCI PCI-1602UP 2 - - V ** V PCI-1604UP 2 - V* - - PCI-1601A/B 2 - - V V Universal PCI PCI Express Model Name PCI-1602 2 - - V V PCI-1603 2 V V* - - PCI-1610A/B/C 4 - V* - - PCI-1612A/B/C 4 - V V V PCI-1620A/B 8 - V - - PCIe-1622A/B/C 8 - - V V PCIe-1620A/B 8 - V - - PCIe-1622A/B 8 - V V V 1.
Power Consumption Table 1.
1.3.2 Ordering Information Table 1.3: Model List Product Description PCI-1601A 2-port RS-422/485 PCI Comm. Card PCI-1601B 2-port RS-422/485 PCI Comm. Card w/Surge PCI-1602 2-port RS-422/485 PCI Comm. Card w/Isolation PCI-1602UP 2-port RS-422/485 Low Profile PCI Comm. Card w/Surge + Isolation PCI-1603 2-port RS-232 PCI Comm. Card w/Isolation PCI-1604UP 2-port RS-232 Low Profile PCI Comm. Card w/Surge + Isolation PCI-1610A 4-port RS-232 PCI Comm. Card PCI-1610B 4-port RS-232 PCI Comm.
Model Name PCI-1601 Form Factor **All are Universal architecture.
PCI/ PCI Express-Communication User Manual 8
Chapter 2 Hardware Configuration 2
2.1 Initial Inspection 1. PCI/ PCI Express Communication card 2. ICOM CD-ROM including: a. User manual b. Industrial Communication Driver c. Utility tool We carefully inspect our PCI/ PCI Express communication card mechanically and electrically before shipping. It should be free of marks and scratches and in perfect working condition on receipt. As you unpack, check for any signs of shipping damage (damaged box, scratches, dents, etc.).
Figure 2.2 PCI-1602 Silk Screen 11 PCI/ PCI Express-Communication User Manual Hardware Configuration Figure 2.1 PCI-1601A/B Silk Screen Chapter 2 2.
Figure 2.3 PCI-1602UP Silk Screen Figure 2.
Chapter 2 Figure 2.6 PCI-1610A/B, PCI-1612A/B Silk Screen 13 PCI/ PCI Express-Communication User Manual Hardware Configuration Figure 2.
Figure 2.7 PCI-1610/1612C Silk Screen Figure 2.
Chapter 2 Figure 2.10 PCI-1622C Silk Screen 15 PCI/ PCI Express-Communication User Manual Hardware Configuration Figure 2.
Figure 2.11 PCIe-1620A/B Silk Screen Figure 2.
This section tells how to set the jumpers to configure your card. It gives the card default configuration and your options for each jumper. 2.3.1 How to Set Jumpers Figure 2.13 How to Set Jumpers 2.3.2 Default Settings The board is shipped with default settings. If you need to change these settings, however, see the following sections. Otherwise, you can simply install the card. Table 2.
2.3.2.1 PCI-1603 The board will be shipped in the RS-232 mode, passive Rx and active Tx. On the 10*2 pin jumper groups (JP2 & JP4)— A, B, C, D and E are set to RS-232 transmission mode. On the 6*2 pin jumper groups (JP3 & JP5)—C, D and E are set to passive Rx and active Tx. They are the card default settings. A B C D E F G H B C D E F I J JP2 & JP4 A JP3 & JP5 Figure 2.14 PCI-1603 Default Settings 2.3.3 Mode Selection by Jumper/DIP Settings 2.3.3.
2.3.3.3 RS-422/485 Selection (for PCI-1601A/B/1602/1602UP) You can set each port individually for either RS-422 (the default) or RS-485 operation.See section 2.2 “Jumper and Switch Locations” for help to locate the jumpers. RS-422 RS-485 Figure 2.17 RS-422/485 Selection by Jumper Setting 2.3.3.4 PCI-1603 RS-232/Current-loop Mode Selection For RS-232 mode operations, the jumpers will be set as the default mode. The jumpers on the 10*2 pin jumper must be set to A, B, C, D and E.
Then decide which mode the Tx and Rx will operate in. The options are active or passive. In the active mode, the Tx or Rx will generate the current requirement for data transfer over the link. In the passive mode, the current is generated by the card at the other end of the link. A and B are set to be active Rx, and E is set to be active Tx. Figure 2.20 Active Mode Jumper Setting C and D are set to be passive Rx, and F is set to be passive Tx. Figure 2.
Especially in fields with serious electric noise, installing terminal resistors is helpful to stabilize communications. Make sure that both sides of the RS-485 communication ports are installed on BUS. See details in Chapter 5.2.2 and 5.2.3. 120Ω 300Ω 300Ω Figure 2.23 Resistor Selection (for PCI-1602 and PCIe-1622 series) 2.
PCI/ PCI Express-Communication User Manual 22
Chapter 3 Driver Setup & Installation 3
3.1 Introduction This chapter describes the driver installation, configuration and removal procedures for the for the afore mentioned Windows operating system. We strongly recommend that you install the software driver before you install the hardware into your system, since this will guarantee a smooth and trouble-free installation process. 3.2 Driver Setup Windows operating system supports COM1 to COM256, meaning up to 256 serial ports.
4. Click the Continue button and the catalogue select page appears. Then click the Installation button for installation. 25 PCI/ PCI Express-Communication User Manual Driver Setup & Installation After the setup program is launched, you’ll see the following Screen. Chapter 3 3.
5. Choose the driver you want to install, then click the hyperlink. 6. Click Next to continue installation.
8. Just click Next to accept the default installation folder, or you can specify a folder by clicking the Browse button. 27 PCI/ PCI Express-Communication User Manual Driver Setup & Installation Type user name and company name, then click Next. Chapter 3 7.
9. Select a program folder or type a new folder name. 10. Click Back to review or change your setting, or click Next to begin copying files.
Chapter 3 11. Perform the requested operations and select Finish.
3.3 Reboot System after Operating System Driver Setup 3.3.1 PCI/PCIe UARTs Device Driver Installation 1. When you reboot your system, Windows operating system will recognize your card devices and will automatically search for the device driver for UARTs as shown in the following dialog box. 2. Choose “Search for the best driver for your device” radio button, and click Next. 3. You don’t have to choose the location of the device driver program, since it is already installed on your system.
5. The driver installation is complete. Click Finish. 3.3.2 PCI Bridge Device Driver Installation After the UARTs device driver has been installed, Windows operating system will recognize the PCI/PCIe Bridge device and automatically install the device driver for PCI/ PCIe Bridge. 31 PCI/ PCI Express-Communication User Manual Driver Setup & Installation Windows 98/2000/XP has found the driver location and is ready to install the driver. Click Next. Chapter 3 4.
3.4 Verify your Operating System Driver Setup After you have installed your card, go to Control Panel/System/Device Manager to look for the Device Name that will appear after you have installed the driver. Note! If your device has not been properly installed, there will be an exclamation mark (!) on the device name to indicate a conflicting device. If this is the case, just remove that device and start the driver installation process all over again.
Chapter 3 On the Settings tab, you can view relevant information about that specific port, as you can see in the figures below. Driver Setup & Installation If you want to configure FIFO Properties, select the FIFOs tab. On the tab, you can see the relevant FIFO configurations. We recommend you use the default settings. However, you can set the configurations manually according to your preferences. If you want to restore the default settings, just click the Restore Default button.
3.5 Configuring Serial Devices for Operating System After your serial devices have been properly installed in your system, you can now proceed to configure your serial devices according to the following steps: 1. Access Control Panel/System 2. Select Device Manager tab on the System Properties sheet.
Click the plus sign (+) on the right of the ADSPCIUART device category to expand it. As shown on the figure below, you can see Advantech PCI/PCIe UARTs and Advantech PCI Bridge device names listed under the device category. 1. Double-click the Advantech PCI/PCIe UARTs device to evoke its Properties page, and then select the Resource tab on the Properties page to look up or configure the current settings of the PCI/PCIe UARTs device. 2.
3.5.2 Configuring a PCI Bridge Device Double-click the Advantech PCI Bridge device to evoke its Properties page, and then select the Resources tab on the Properties page to look up or configure the current configuration of the PCI Bridge device to make sure there are no conflicting devices. Click other tabs to look up or configure the device. Note! The Input/Output Range information is helpful to recognize the communication port attached to the device.
Access Control Panel/System to bring up the System Properties window. 2. Select the Device Manager tab. Driver Setup & Installation 1. Chapter 3 3.
3. Click the plus sign (+) on the left of the Ports (COM & LPT) device category to expand it. Select the specific “Advantech PCI communication port” you want to remove, and click the Remove button to remove the device you had selected. 4. The following dialog box will appear to prompt you again to make sure you really want to remove the device from your system.
Click the plus sign (+) on the left of the ADSPCIUART device category to expand it, and select the Advantech PCI UARTs or Advantech PCI Bridge you want to remove. 6. You must remove all used ports settings and device settings before you remove the device, or there may be a mistake in the port setting when you install another card. Click the Remove button and the following dialog boxes appear to prompt you whether you really want to remove the device.
3.7 Driver Uninstall 1. Insert the ICOM CD and click the driver you want to uninstall. 2. Choose “Modify” radio button if you want to save another driver. Or choose “Remove” radio button to remove all installed components.
Click “Finish” button to complete the uninstall. Chapter 3 3.
PCI/ PCI Express-Communication User Manual 42
Chapter 4 ICOM Tools 4
4.1 Introduction Advantech ICOM Tools is a convenient utility that has been designed to help you test the performance of ICOM cards through analyzing the port status. It features an easy to use graphical user interface that will soon make you familiar with testing via menu commands and toolbar buttons. Advantech ICOM Tools is applicable to all series of Advantech ICOM cards, and can even be used with other third-party ICOM cards.
Using the Tool Bar buttons is a more intuitive way to implement the functions of ICOM Tools. Chapter 4 4.3.
receive data later. Another port, which operates as passive loopback, will retransmit any received data on the Rx line and then send these data onto the Tx line. These two modes will form a logical loop and help to verify the integrity of data transmitted over the communication link. 4.3.
Chapter 4 ICOM Tools 47 PCI/ PCI Express-Communication User Manual
4.3.8 Status Bar The Status Bar is where you can glimpse the current information of the port you have selected. The Status Bar indicates whether the port is READY, RUNNING, BUSY or STOPPED, N/A PORT and the configuration information such as baud rate, data bit, stop bit, parity bit and flow control (represented as 1200 N 8 1 None) settings. Also we can see the duration of the test in hh:mm:ss format on the right. For information about specific messages on this area, please refer to Section 4.
Figure 4.4 Figure 4.4: ICOM Tools User Interface 49 PCI/ PCI Express-Communication User Manual ICOM Tools Figure 4.3 Ports You Select Will Appear in the Selected Port Checkbox Group Click OK to bring up the ICOM Tools User Interface such as below: Chapter 4 Select the port(s) you want to perform test on from the checkboxes next to each COM port. You can either click the checkbox or double-click the name(s) of the port(s) to select/deselect port(s) to perform the test on.
4.4.2 Configuring a Port You can choose to configure a specific port (or to configure all ports) before running your test. Just click a Com Port Tab to select the port you want to configure, and then click the Port Setup button or use the Port/Setup menu command (or if you want to configure all ports at once, just click the All Ports Setup button or access the All Ports/Setup menu command) to bring up the Configure Port dialog box such as below. Figure 4.
Chapter 4 Port Rx length Bytes/Sec Last Abnormal Status The com port number Received packet length in bytes Transmission rate in Bytes/Sec Last abnormal status Stop the Test If you want to stop the test on a specific port, just click Port Stop button or access Port/Stop menu command (or if you want to stop test on all ports, just click All Ports Stop button or access All Ports/Stop menu command).
N/A PORT: the port is not available in the system READY: the port is ready to run or to be configured. RUNNING: the test is running on the port STOPPED: the test running on the port has been stopped by the user 4.5.2 Message Logo Messages Port Opened: The user has opened the port Port Setup Fail: The user has set up the port configuration with parameters that are either incorrect or unsupported.
Chapter 5 5 Pin Assignments and Wiring
5.1 Pin assignments 5.1.1 PCI-1601A/B, PCI-1602 The following table and figure shows the pin assignments of two male DB9 connectors on the bracket for PCI-1601A/B and PCI-1602 cards in RS-422 and RS-485 modes. Table 5.1: PCI-1601A/B and PCI-1602 Male DB9 on bracket Pin RS-422 RS-485 1 Tx- Data- 2 Tx+ Data+ 3 Rx+ - 4 Rx- - 5 GND GND 6 RTS- - 7 RTS+ - 8 CTS+ - 9 CTS- - 1 2 6 3 7 4 8 5 9 5.1.
RS-422 RS-485 Pin RS-422 RS-485 1 2_Tx- 2_Data- 14 2_RTS- - 2 2_Tx+ 2_Data+ 15 2_RTS+ - 3 2_Rx+ - 16 2_CTS+ - 4 2_Rx- - 17 2_CTS- - 5 2_GND 2_GND 18 - - 6 - - 19 - - 7 - - 20 - - 8 - - 21 - - 9 1_Tx- 1_Data- 22 1_RTS- - 10 1_Tx+ 1_Data+ 23 1_RTS+ - 11 1_Rx+ - 24 1_CTS+ - 25 1_CTS- - 12 1_Rx- - 13 1_GND 1_GND 5.1.
5.1.4 PCI-1604UP The following tables and figures show the pin assignments of 1 female DB25 connector on the bracket to two male DB9 for PCI-1604UP card in RS-232 modes. Table 5.5: PCI-1604UP Male DB9 on cable Pin RS-232 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 9 RI 1 2 6 3 7 4 8 5 9 Table 5.
The following tables and figures show the pin assignments of 1 female DB37 connector on the bracket to male DB9/DB25 for PCI-1610A/B/C cards in RS-232 modes. Table 5.7: PCI-1610A/B/C Male DB9 on cable RS-232 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 10 RI 1 2 6 3 7 4 8 5 9 Table 5.
Table 5.
The following tables and figures show the pin assignments of 1 female DB37 connector on the bracket to male DB9/DB26 for the PCI-1612A/B/C cards in RS-232, RS-422 and RS-485 modes. Table 5.10: PCI-1612A/B/C Male DB9 on cable RS-232 RS-422 RS-485 1 DCD Tx- Data- 2 RxD Tx+ Data+ 3 TxD Rx+ - 4 DTR Rx- - 5 GND GND GND 6 DSR RTS- - 7 RTS RTS+ - 8 CTS CTS+ - 10 RI CTS- - 1 2 6 3 7 4 8 5 9 Table 5.
Table 5.
The following tables and figures show the pin assignments of 1 female DB62 connector on the bracket to DB9/DB25 for the PCI-1620A/B and PCIe-1620A/B cards. Table 5.
Table 5.14: PCI-1620A/B/C, PCIe-1620A/B, and PCIe-1622A/B Male DB9 on cable Pin RS-232 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 1 2 6 3 7 4 8 5 9 Table 5.15: PCI-1620A/B/C, PCIe-1620A/B, and PCIe-1622A/B Male DB25 on cable Pin RS-232 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 20 DTR 5.1.
RS-422 RS-485 Pin RS-422 RS-485 1 8_GND 8_GND 40 8_TxD- 8_Data- 2 8_RTS- - 41 8_TxD+ 8_Data+ 3 8_RTS+ - 42 7_GND 7_GND 4 7_RTS- - 43 7_TxD- 7_Data- 5 7_RTS+ - 44 7_TxD+ 7_Data+ 6 8_RTS- - 45 6_TxD- 6_Data- 7 8_RTS+ - 46 6_TxD+ 6_Data+ 8 - - 47 5_GND 5_GND 9 5_RTS- - 48 5_TxD- 5_Data- 10 5_RTS+ - 49 5_TxD+ 5_Data+ 11 4_RTS- - 50 4_TxD- 4_Data- 12 4_RTS+ - 51 4_TxD+ 4_Data+ 13 - - 52 3_GND 3_GND 14 3_RTS- - 53 3_TxD- 3_Dat
5.2 Wiring 5.2.1 5.2.1 RS-232 Signal Wiring Since the RS-232 interface is not strictly defined, many devices have their own connection methods which may ignore some signal lines or define reserved lines for other functions. It is best to refer to the user’s manual for your device for installation instructions. You may find the following helpful. In general, DTE (Data Terminal Equipment) refers to the device that is leading the communication. Examples include PC’s, terminals and some printers.
Table 5.20: Terminal without Handshake DB-25 Male Terminal, PC (DTE) Signal Pin Signal 2 TxD 3 RxD 3 RxD 2 TxD 4 5 RTS CTS 7 GND 7 GND 6 20 8 DSR DTR DCD Therefore, if you are not using CTS, RTS, DSR,DTR and DCD signals, short pins 4 and 5 together, and please short pins 6, 8,and 20 together. 5.2.2 RS-422 Signal Wiring The RS-422 interface wiring is based on one-to-one principles. The transmit lines on one side connect to the receive lines on the other side, and vice versa.
5.2.3 RS-485 Signal Wiring The RS-485 standard supports half-duplex communication. This means that just two wires are needed to both transmit and receive data. Handshaking signals (such as RTS, Request To Send) are normally used to control the direction of the data flow and to switch the transmission accordingly. In RS-485 mode, the PCI-1601/1602/ 1611/1612/1622 cards automatically sense the direction of the data flow and switch the transmission direction — no handshaking is necessary.
Chapter 5 Pin Assignments and Wiring 67 PCI/ PCI Express-Communication User Manual
www.advantech.com Please verify specifications before quoting. This guide is intended for reference purposes only. All product specifications are subject to change without notice. No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd.