PCI-1730/33/34 Simultaneous 4-CH Analog Input Card for the PCI bus User Manual 1
Copyright This documentation and the software included with this product are copyrighted in 2007 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.
Contents 1. INTRODUCTION.................................................................................................................. 1 1.1 FEATURES ........................................................................................................................ 1 1.2 APPLICATIONS .................................................................................................................. 5 1.3 INSTALLATION GUIDE ..............................................................................
1. Introduction Thank you for buying the Advantech PCI-1730/1733/1734. The Advantech PCI-1730/1733/1734 is a 32-channel isolated digital input/output card for the PCI bus. For easy monitoring, each isolated digital input channel is equipped with one red LED, and each isolated digital output channel is equipped with one green LED to show its ON/OFF status. The PCI-1730 and PCI-1733’s isolated digital input channels are ideal for digital input in noisy environments or with floating potentials.
Keep digital output values when hot system reset High ESD protection (2,000 VDC) High over-voltage protection (70 VDC) Wide input range (5 ~ 30 VDC) Board ID PCI-1733 Compatible as PCL-733 32 isolated Digital Input channels High output driving capacity High-voltage isolation on isolated Input channels (2,500 VDC) Interrupt handling capability D-type connector for isolated input channels High ESD protection (2,000 VDC) High over-voltage protection (70 VDC) Wide input range (5 ~ 30 VDC) Board ID PCI-1734 Co
The Advantech PCI-1730/1733/1734 offers the following main features: Fully compatible with its ISA-bus product All the specifications, connectors, pin-assignments, registries format are the same. Users can upgrade their system to PCI bus without changing any existing wiring. For the existing Windows application program: Users just need to remove the PCL-730/733/734 via the 'Device Manager', then install the PCI-1730/1733/1734 instead (the device number must be the same).
Reset Protection Fulfills Requirement for Industrial Applications When the system has undergone a hot reset (i.e. without turning off the system power), the PCI-1730/1734 can either retain output values of each channel, or return to its default configuration as open status, depending on its on-board jumper setting. This function protects the system from incorrect operations during unexpected system resets.
1.2 Applications Industrial ON/OFF control Switch status sensing BCD interfacing Digital I/O control Industrial and lab automation Laboratory & Education 1.
Install Driver from CD-ROM, then power-off PC Install Hardware and power-on PC Use driver utility to configure hardware Use test utility to test hardware Read examples & driver manual Start to write your own application Fig.
1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your PCI-1730/1733/1734 card: Device Drivers (on the companion CD-ROM) ● LabVIEW driver ● Advantech ActiveDAQ ● Advantech GeniDAQ ● Programming choices for DA&C cards: You may use Advantech application software such as Advantech Device Drivers.
1.5 Device Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech Device Drivers with your favorite development tools such as Visual C++, Visual Basic, Delphi and C++ Builder. The step-by-step instructions on how to build your own applications using each development tool will be given in the Device Drivers Manual. Moreover, a rich set of example source codes are also given for your reference.
For information about using other function groups or other development tools, please refer to the Creating Windows 95/NT/2000 Application with Device Driver chapter and the Function Overview chapter on the Device Drivers Manual. Programming with Device Drivers Function Library Advantech Device Drivers offers a rich function library to be utilized in various application programs.
1.6 Accessories Advantech offers a complete set of accessory products to support the PCI-1730/1733/1734 card. These accessories include: Wiring Cable PCL-10137 Wiring Boards ADAM-3937 PCLD-880 The PCL-10137 shielded cable is specially designed for PCI-1730/1733/1734 cards to provide high resistance to noise. To achieve better signal quality, the signal wires are twisted in such a way as to form a “twisted-pair cable”, reducing cross-talk and noise from other signal sources.
2. Installation This chapter gives users a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver and card installation. 2.1 Unpacking After receiving your PCI-1730/1733/1734 package, please inspect its contents first.
Also pay extra caution to the following aspects to ensure proper installation: a Avoid physical contact with materials that could hold static electricity such as plastic, vinyl and Styrofoam. a Whenever you handle the card, grasp it only by its edges. DO NOT TOUCH the exposed metal pins of the connector or the electronic components. Note: Keep the anti-static bag for future use. You might need the original bag to store the card if you have to remove the card from PC or transport it elsewhere.
2.2 Driver Installation We recommend you to install the driver before you install the PCI-1730/1733/1734 card into your system, since this will guarantee a smooth installation process. The Advantech Device Driver Setup program for the PCI-1730/1733/ 1734 card is included on the companion CD-ROM that is shipped with your DA&C card package. Please follow the steps below to install the driver software: Step 1: Insert the companion CD-ROM into your CD-ROM drive.
Step 3: Select the Individual Drivers option. Step 4: Select the specific device then just follow the installation instructions step by step to complete your device driver installation and setup. Fig. 2-2 Different options for Driver Installation For further information on driver-related issues, an online version of Device Drivers Manual is available by accessing the following path: Start/Programs/Advantech Device Drivers V1.5/ Device Drivers Manual 2.
Step 1: Turn off your computer and unplug the power cord and cables. TURN OFF your computer before installing or removing any components on the computer. Step 2: Remove the cover of your computer. Step 3: Remove the slot cover on the back panel of your computer. Step 4: Touch the metal part on the surface of your computer to neutralize the static electricity that might be on your body. Step 5: Insert the PCI-1730/1733/1734 card into a PCI slot.
Fig. 2-3 The device name listed on the Device Manager Note: If your card is properly installed, you should see the device name of your card listed on the Device Manager tab. If you do see your device name listed on it but marked with an exclamation sign “!”, it means your card has not been correctly installed. In this case, remove the card device from the Device Manager by selecting its device name and press the Remove button. Then go through the driver installation process again.
2.4 Device Setup & Configuration The Advantech Device Manager program is a utility that allows you to set up, configure and test your device, and later stores your settings on the system registry. These settings will be used when you call the APIs of Advantech Device Drivers. Setting Up the Device Step 1: To install the I/O device for your card, you must first run the Device Manager program (by accessing Start/Programs/ Advantech Device Drivers V1.5).
Step 3: Scroll down the Supported of Devices box to find the device that you wish to install, then click the Add… button to evoke the Existing unconfigured PCI-1730 dialog box such as one shown in Fig. 2-5. The Existing unconfigured PCI-1730 dialog box lists all the installed devices on your system. Select the device you want to configure from the list box and press the OK button. After you have clicked OK, you will see a PCI-1730 Device Setting dialog box such as the one in Fig. 2-6. Fig.
Step 5: After you have finished configuring the device, click OK and the device name will appear in the Installed Devices box as seen below: Fig. 2-7 The Device Name appearing on the list of devices box Note: As we have noted, the device name “000:” begins with a device number “000”, which is specifically assigned to each card. The device number is passed to the driver to specify which device you wish to control.
20
3. Signal Connections 3.1 Overview Maintaining signal connections is one of the most important factors in ensuring that your application system is sending and receiving data correctly. A good signal connection can avoid unnecessary and costly damage to your PC and other hardware devices. This chapter provides useful information about how to connect input and output signals to the PCI-1730/1733/1734 via the I/O connector. 3.
Table 3-2: Summary of jumper settings Names of Jumpers Function description Keep last status after hot reset JP2 Default configuration Setting the time to reset the digital outputs Some users will want the capability of clearing each digital output when the system (or PC) issues a reset signal on the PCI bus. Some users will want to clear their digital outputs only as part of system power-on. The PCI-1730 satisfies both these needs by providing jumper JP2.
PCI-1733 Fig.
PCI-1734 The PCI-1734 card has one function jumper setting. Fig. 3-3 Card connector, jumper and switch locations Table 3-3: Summary of jumper settings Names of Jumpers Function description Keep last status after hot reset JP2 Default configuration Setting the time to reset the digital outputs Some users will want the capability of clearing each digital output when the system (or PC) issues a reset signal on the PCI bus. Some users will want to clear their digital outputs only as part of system power-on.
Complete loss of power to the chip clears the chip memory. Thus, no matter how JP2 is set, if the power to the PCI-1734 is disconnected, the digital output channel’s initial power-on state will be "OFF".
3.3 Signal Connections PCI-1730 (JP4, JP5: REV.
CN6 Description of pin use: IDIn (n=0 ~ 15): Isolated digital input IDOn (n=0 ~ 15): Isolated digital output ECOM: External common Vcc/GND of IDI PCOM: Free wheeling common diode for IDO EGND: External ground for IDO DIn (n=0 ~ 15): Digital input DOn (n=0 ~ 15): Digital output GND: Digital ground IDI 0 1 20 IDI 1 IDI 2 2 21 IDI 3 IDI 4 3 22 IDI 5 IDI 6 4 23 IDI 7 IDI 8 5 24 IDI 9 IDI 10 6 25 IDI 11 IDI 12 7 26 IDI 13 IDI 14 8 27 IDI 15 ECOM 9 28 EGND EGND 10 29 EGND
PCI-1730 (JP4, JP5: REV.
CN6 Description of pin use: IDIn (n=0 ~ 15): Isolated digital input IDOn (n=0 ~ 15): Isolated digital output ECOMn (n=0 ~ 1): External common Vcc/GND of IDI PCOMn (n=0 ~ 1): Free wheeling common diode for IDO EGND: External ground for IDO DIn (n=0 ~ 15): Digital input DOn (n=0 ~ 15): Digital output GND: Digital ground IDI 0 1 20 IDI 1 IDI 2 2 21 IDI 3 IDI 4 3 22 IDI 5 IDI 6 4 23 IDI 7 IDI 8 5 24 IDI 9 IDI 10 6 25 IDI 11 IDI 12 7 26 IDI 13 IDI 14 8 27 IDI 15 ECOM0 9 28 ECO
TTL-level Digital Input/Output The PCI-1730 has 16 TTL-level digital inputs and 16 TTL-level digital outputs. The following figure shows connections to exchange digital signals with other TTL devices: PCI-1730 TTL device DO DI GND Figure 3-6: TTL-level digital input/output connection If you want to receive an OPEN/SHORT signal from a switch or relay, add a pull-up resistor to ensure that the input is held at a high level when the contacts are open. See the figure below: +5V PCI-1730 4.
Isolated Digital Input Each of the 16 isolated digital input channels accept voltages from 5 to 30 V. Every eight input channels share one external common. (Channels 0 ~ 7 use ECOM0. Channels 8 ~ 15 use ECOM1.) The following figure shows how to connect an external input source to the card's isolated inputs.
Isolated Digital Output Each of the 16 isolated digital output channels comes equipped with a darlington transistor. Every eight ouput channels share common emitters and integral suppression diodes for inductive load, activated by connecting PCOM to VDD. (Channels 0 ~ 7 use PCOM0. Channels 8 ~ 15 use PCOM1.
PCI-1733 Pin Assignments CN1 Description of pin use: IDIn (n=0 ~ 31): Isolated digital input ECOM n (n=0 ~ 3): External common Vcc/GND of IDI EGND: External ground for IDI IDI 0 1 20 IDI 1 IDI 2 2 21 IDI 3 IDI 4 3 22 IDI 5 IDI 6 4 23 IDI 7 ECOM0 5 24 IDI 8 IDI 9 6 25 IDI 10 IDI 11 7 26 IDI 12 IDI 13 8 27 IDI 14 IDI 15 9 28 ECOM1 IDI 16 10 29 IDI17 IDI 18 11 30 IDI19 IDI 20 12 31 IDI21 IDI 22 13 32 IDI23 ECOM2 14 33 IDI24 IDI25 15 34 IDI26 IDI27 1
Isolated Digital Input Each of the 32 isolated digital input channels accept voltages from 5 to 30 V. Every eight input channels share one external common. (Channels 0 ~ 7 use ECOM0. Channels 8 ~ 15 use ECOM1. Channels 16 ~ 23 use ECOM2. Channels 24 ~ 31 use ECOM3.) The following figure shows how to connect an external input source to the card's isolated inputs.
PCI-1734 Pin Assignments CN1 Description of pin use: IDOn (n=0 ~ 31): Isolated digital output PCOM n (n=0 ~ 3): Free wheeling common diode for IDO EGND: External ground for IDO IDO 0 1 20 IDO 1 IDO 2 2 21 IDO 3 IDO 4 3 22 IDO 5 IDO 6 4 23 IDO 7 PCOM0 5 24 IDO 8 IDO 9 6 25 IDO 10 IDO 11 7 26 IDO 12 IDO 13 8 27 IDO 14 IDO 15 9 28 PCOM1 IDO 16 10 29 IDO17 IDO 18 11 30 IDO19 IDO 20 12 31 IDO21 IDO 22 13 32 IDO23 PCOM2 14 33 IDO24 IDO25 15 34 IDO26 IDO
Isolated Digital Output Each of the 32 isolated digital output channels comes equipped with a darlington transistor. Every eight ouput channels share common emitters and integral suppression diodes for inductive load, activated by connecting PCOM to VDD. (Channels 0 ~ 7 use PCOM0. Channels 8 ~ 15 use PCOM1. Channels 16 ~ 23 use PCOM2. Channels 24 ~ 31 use PCOM3.
Appendix A. Specifications PCI-1730 Isolated Digital Input Number of Channel Optical Isolation Opto-isolator response time Over-voltage Protect Input Voltage Input Current VIH (max.) VIH (min.) VIL (max.) 5 VDC 12 VDC 24 VDC 30 VDC Isolated Digital Output Number of Channel Optical Isolation 16 (bi-directional) 2,500 VDC 25 s 70 VDC 30 VDC 5 VDC 2 VDC 1.4 mA (typical) 3.9 mA (typical) 8.2 mA (typical) 10.
General: I/O Connector Type 37-pin D-Sub female Dimensions 175 mm x 100 mm (6.9" x 3.9") Typical Power Consumption Max.
PCI-1733 Isolated Digital Input Number of Channel Optical Isolation Opto-isolator response time Over-voltage Protect Input Voltage Input Current General I/O Connector Type Dimensions VIH (max.) VIH (min.) VIL (max.) 5 VDC 12 VDC 24 VDC 30 VDC 37-pin D-Sub female 175 mm x 100 mm (6.9" x 3.9") +5 V @ 200 mA +12 V @ 50 mA Typical Power Consumption Max. Operation Temperature 32 (bi-directional) 2,500 VDC 25 s 70 VDC 30 VDC 5 VDC 2 VDC 1.4 mA (typical) 3.9 mA (typical) 8.2 mA (typical) 10.
PCI-1734 Isolated Digital Output Number of Channel Optical Isolation 32 2,500 VDC Output Voltage Sink/Source Current Open collector 5 to 40 VDC 150 mA max./channel General I/O Connector Type 37-pin D-Sub female Dimensions 175 mm x 100 mm (6.9" x 3.9") +5 V @ 150 mA +12 V @ 15 mA Typical Power Consumption Max.
Appendix B.
PCI-1733 Address Bus Control Logic Control Bus Data Bus PCI BUS PLX PCI 9052 IDI0 ~ IDI7 IDI8 ~ IDI15 Isolation D-Sub 37 Pin Connector IDI16 ~IDI23 IDI24 ~ IDI31 ECOM0 ~ ECOM3 EGND Interrupt Control Logic 42 IDI0 ~ IDI1 IDI16 ~ IDI17
PCI-1734 Address Bus Control Logic Control Bus Data Bus PCI BUS PLX PCI 9052 IDO0 ~ IDO7 IDO8 ~ IDO15 Isolation IDO16 ~IDO23 IDO24 ~ IDO31 PCOM0 ~ PCOM3 EGND 43 D-Sub 37 Pin Connector
44
Appendix C. Register Structure and Format C.1 Overview The PCI-1730/1733/1734 is delivered with easy-to-use Advantech Device Drivers for user programming under the Windows 2000/95/98/ME/NT/XP operating system. We advise users to program the PCI-1730/1733/1734 by using the Advantech Device Drivers provided by Advantech to avoid the complexity of low-level programming by register.
Table C-1 PCI-1730 register format Base Addr.
Table C-2 PCI-1733 register format Base Addr.
Table C-3 PCI-1734 register format Base Addr.
C.3 Isolated Digital Input Registers -- BASE+0H/1H (/2H/3H) The PCI-1730 offers 16-ch isolated digital input channels. These channels use the input ports at addresses BASE+0H/1H. Table C-1 Register for isolated digital input Read Isolated Digital Input Bit # 7 6 5 4 3 2 1 0 BASE + 0H IDI7 IDI6 IDI5 IDI4 IDI3 IDI2 IDI1 IDI0 BASE + 1H IDI15 IDI14 IDI13 IDI12 IDI11 IDI10 IDI9 IDI8 The PCI-1733 offers 32-ch isolated digital input channels.
C.4 Isolated Digital Output Register- BASE+0H/1H (/2H/3H) The PCI-1730 offers 16-ch isolated digital output channels. These channels use the registries at addresses BASE+0H/1H. Table C-3 Register for isolated digital output Write Isolated Digital Output Bit # 7 6 5 4 3 2 1 0 BASE + 0H IDO7 IDO6 IDO5 IDO4 IDO3 IDO2 IDO1 IDO0 BASE + 1H IDO15 IDO14 IDO13 IDO12 IDO11 IDO10 IDO9 IDO8 The PCI-1734 offers 32-ch isolated digital output channels.
C.5 Non-isolated Digital Input Registers -- BASE+2H/3H The PCI-1730 offers 16-ch digital input channels. These channels use the input ports at addresses BASE+2H/3H. Table C-5 Register for digital input Read Bit # Digital Input 7 6 5 4 3 2 1 0 BASE + 2H DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 BASE + 3H DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8 C.6 Non-isolated Digital Output Register- BASE+2H/3H The PCI-1730 offers 16-ch digital output channels.
C.7 Board ID — BASE+4H The PCI-1730/1733/1734 offers Board ID register BASE+4H. With correct Board ID settings, user can easily identify and access each card during hardware configuration and software programming.
C.8 Interrupt Status Register — BASE+8H/CH/10H The PCI-1730 Interrupt Status Register control the status of four interrupt signal sources (IDI0, IDI1, DI0, DI1). Table C-8 Register for interrupt status Read Bit # Interrupt Status Register 3 2 BASE + 8H DI1EN DI0EN IDI1EN IDI0EN BASE + CH DI1RF DI0RF IDI1RF IDI0RF BASE + 10H DI1F DI0F IDI/DInF 7 6 1 IDI1F 0 IDI0F No interrupt Interrupt occurred Interrupt enable control bits (n = 0 ~ 1) Read this bit to Enable/Disable the interrupt.
The PCI-1733 Interrupt Status Register control the status of four interrupt signal sources (IDI0, IDI1, IDI16, IDI17). Table C-9 Register for interrupt status Read Bit # Interrupt Status Register 7 6 5 4 3 2 1 0 BASE + 8H IDI17EN IDI16EN IDI1EN IDI0EN BASE + CH IDI17RF IDI16RF IDI1RF IDI0RF BASE + 10H IDInF IDI17F IDI0F No interrupt Interrupt occurred Interrupt enable control bits (n = 0, 1, 16, 17) Read this bit to Enable/Disable the interrupt.
C.9 Interrupt Control Register — BASE+8H/CH/10H The PCI-1730 Interrupt Control Register controls the status of four interrupt signal sources (IDI0, IDI1, DI0, DI1). The user can clear the interrupt by writing its corresponding value to the Interrupt Control Register, as shown in below table.
The PCI-1733 Interrupt Control Register controls the status of four interrupt signal sources (IDI0, IDI1, IDI16, DI17). The user can clear the interrupt by writing its corresponding value to the Interrupt Control Register, as shown in below table.