PCI-1736UP 32-channel Isolated Digital Input/Output Card User Manual
Copyright The documentation and the software included with this product are copyrighted 2005 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.
Product Warranty (2 years) Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation.
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. Technical Support and Assistance Step 1. Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product. Step 2.
Contents Chapter 1 Introduction ..................................................... 2 1.1 1.2 1.3 1.4 1.5 1.6 Chapter Features ............................................................................. 2 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 Applications ...................................................................... 4 Installation Guide .............................................................. 4 Software Overview............................................................ 5 1.4.1 1.4.2 1.
3.2.2 3.2.3 3.3 Table 3.1:Jumper Settings ............................................ 23 BoardID Switch Setting ............................................... 24 Wet/Dry Contact Setting. ............................................. 24 Signal Connections.......................................................... 25 3.3.1 3.3.2 Table 3.2:Description of CN1 Pin Use ........................ 25 Figure 3.2:I/O Connector Pin Assignments for CN1 ... 25 Isolated Digital Inputs ................................
CHAPTER 1 2 Introduction The following sections of this chapter will provide further information about features, installation guide, together with some brief information on software and accessories for the PCI1736UP card.
Chapter 1 Introduction Thank you for buying the Advantech PCI-1736UP. The Advantech PCI-1736UP is a 32-channel isolated digital input/output card for the PCI bus. 1.
1.1.2 Wide Input Range PCI-1736UP has a wide range of input voltage from 5 to 30 V DC, and it is suitable for most industrial applications with 12 to 24 V DC input voltage. 1.1.3 Reset Protection for Industrial Applications When the system has undergone a hot reset (i.e. without turning off the system power), PCI-1736UP can either retain outputs values of each channel, or return to its default configuration as open status, depending on its onboard jumper setting.
1.2 Applications • Industrial ON/OFF control • Switch status sensing • BCD interfacing • Digital I/O control • Industrial and lab automation • Laboratories & Education 1.
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 PCI1736UP card: • Device Drivers (on the companion CD-ROM) • LabVIEW driver • Advantech ActiveDAQ • ADAQ-View 1.4.1 Programming Choices for DA&C Cards You may use Advantech application software such as Advantech Device Drivers.
1.5 Device Drivers 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. 1.5.
The example source codes could be found under the corresponding installation folder such as the default installation path: \Program Files\Advantech\ADSAPI\Examples For information about using other function groups or other development tools, please refer to the Creating Windows 98/2000/XP Application with Device Driver chapter and the Function Overview chapter in the Device Driver’s Manual. 1.5.
1.6 Accessories Advantech offers a complete set of accessory products to support the PCI-1736UP card. These accessories include: 1.6.1 Wiring Cables PCL-10144 The PCL-10144 shielded cable is specially designed for PCI-1736UP cards to provide high resistance to noise. To achieve a 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.
CHAPTER 2 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.
Chapter 2 Installation 2.1 Unpacking After receiving your PCI-1736UP package, please inspect its contents first. The package should contain the following items: • PCI-1736UP card • Companion CD-ROM (Device Drivers included) • User Manual The PCI-1736UP card harbors certain electronic components vulnerable to electrostatic discharge (ESD). ESD could easily damage the integrated circuits and certain components if preventive measures are not carefully paid attention to.
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 PCI1736UP card into your system, since this will guarantee a smooth installation process. The Advantech Device Driver Setup program for the PCI-1736UP card is included on the companion CD-ROM that is shipped with your DA&C card package.
Figure 2.1: The Setup Screen of Advantech Automation Software 3. Select the Individual Drivers option. 4. Select the specific device then just follow the installation instructions step by step to complete your device driver installation and setup.
Figure 2.
2.3 Hardware Installation Note Make sure you have installed the driver before you install the card. (please refer to 2.2 Driver Installation) After the device driver installation is completed, you can now go on to install the PCI-1736UP card in any PCI slot on your computer. But it is suggested that you refer to the computer user manual or related documentation if you have any doubt. Please follow the steps below to install the card on your system. 1.
Note In case you installed the card without installing the Device Drivers first, Windows 98/2000/XP will recognize your card as an “unknown device” after rebooting, and will prompt you to provide the necessary driver. You should ignore the prompting messages (just click the Cancel button) and set up the driver according to the steps described in 2.4 Driver Installation. After the PCI-1736UP card is installed, you can verify whether it is properly installed on your system in the Device Manager: 1.
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.
Figure 2.4: The Device Manager Dialog Box 3. Scroll down the Supported Devices box to find the device that you wish to install, then click the Add button to evoke the existing unconfigured PCI-1736UP dialog box such as one shown in Figure 2.5. The Existing unconfigured PCI-1736UP 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.
2.4.2 Configuring the Device 4. On the PCI-1736UP Device Setting dialog box (Fig. 2-6), you can configure the IDI00, IDI01 and DI00, DI01 Interrupt trigger mode either as Rising Edge or Falling Edge, and Enable or Disable the IDI00, IDI01 and DI00, DI01. Figure 2.6: The Device Setting Dialog Box 5. After you have finished configuring the device, click OK and the device name will appear in the Installed Devices box as seen below: Figure 2.
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. After your card is properly installed and configured, you can click the [Test…] button to test your hardware by using the testing utility we supplied. For more detailed information, please refer to Chapter 2 of the Device Drivers Manual. Figure 2.
Figure 2.9: The Test Diagram Box for Digital Output You can also find examples on the CD-ROM to speed up your programming.
CHAPTER 3 2 Signal Connections This chapter provides useful information about how to connect input and output signals to the PCI-1736UP via the I/O connector.
Chapter 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 PCI1736UP via the I/O connector. 3.2 Switch and Jumper Locations The PCI-1736UP card has three jumpers and one switch..
3.2.1 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. Other users will want to clear their digital outputs only as part of system power-on. PCI-1736UP satisfies both these needs with jumper JP1. Depending on the application, this capability may allow digital outputs to be "OFF" without requiring a complete shutdown of processes controlled by the card.
3.2.2 BoardID Switch Setting BD3 BD2 BD1 BD0 BoardID ON ON ON ON 0 ON ON ON OFF 1 ON ON OFF ON 2 ON ON OFF OFF 3 ON OFF ON ON 4 ON OFF ON OFF 5 ON OFF OFF ON 6 ON OFF OFF OFF 7 OFF ON ON ON 8 OFF ON ON OFF 9 OFF ON OFF ON 10 OFF ON OFF OFF 11 OFF OFF ON ON 12 OFF OFF ON OFF 13 OFF OFF OFF ON 14 OFF OFF OFF OFF 15 3.2.3 Wet/Dry Contact Setting.
3.3 Signal Connections Table 3.2: Description of CN1 Pin Use IDIn (n=0 ~ 15) Isolated digital input IDOn (n=0 ~ 15) Isolated digital output EI.WCOM1 External common Vcc/GND of IDIn (n=0 ~ 7) in Wet Contact mode EI.WCOM2 External common Vcc/GND of IDIn(n=8 ~15) in Wet Contact mode EI.DCOM1 External common GND of IDIn (n=0 ~7) in Dry Contact mode EI.
3.3.1 Isolated Digital Inputs Each of the 16 isolated digital input channels accept voltages from 5 to 30 V. Every eight input channels share one external ground. (Channels 0~7 use EI.WCOM1 (Wet Contact) and EI.DCOM1 (Dry Contact). Channels 8~15 use EI.WCOM2 (Wet Contact) and EI.DCOM2 (Dry Contact).) The following figure shows how to connect an external input source to the card's isolated inputs. Figure 3.3: Isolated Digital Input Connection Figure 3.
3.3.2 Isolated Digital Outputs 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, actived by connecting PCOM to VDD. (Channels 0~7 use PCOM1.
PCI-1736UP User Manual 28
APPENDIX A 2 Specifications
Appendix A Specifications A.1 Isolated Digital Inputs Number of Channels 16 (bi-directional) Optical Isolation 2,500 VDC Opto-isolator Response Time 25 µs Input Voltage VIH (max.) 30 VDC VIH (min.) 5 VDC VIL (max.) 2 VDC 5 VDC 1.4 mA (typical) 12 VDC 3.9 mA (typical) 24 VDC 8.2 mA (typical) 30 VDC 10.3 mA (typical) Input Current A.2 Isolated Digital Outputs Number of Channels 16 Optical Isolation 2,500 VDC Output Voltage Open collector 5 to 40 VDC Sink/Source Current 200 mA max.
A.3 General I/O Connector Type 44-pin D-Sub female Dimensions 119.91 x 64.41 mm (4.7" x 2.5") Power Consumption Typical +5 V @ 150 mA Max.
PCI-1736UP User Manual 32
APPENDIX B 2 Block Diagram
Appendix B Block Diagram Figure B.
C APPENDIX 2 Register Structure and Format
Appendix C Register Structure & Format C.1 Overview The PCI-1736UP is delivered with easy-to-use Advantech Device Drivers for user programming under Windows 98/2000/XP operating systems. We advise users to program the PCI-1736UP by using the Advantech Device Drivers provided by Advantech to avoid the complexity of lowlevel programming by register. The most important consideration in programming the PCI-1736UP at the register level is to understand the function of the card's registers.
Table C.1: PCI-1736UP Register Format Base Addr.
C.3 Isolated Digital Input Reg. -- BASE+0H/1H (/2H/3H) The PCI-1736UP offers 16-ch isolated digital input channels. These channels use the input ports at addresses BASE+0H/1H. Table C.2: 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 C.4 Isolated Digital Output Reg.
C.5 Board ID — BASE+4H The PCI-1736UP offers BoardID register BASE+4H. With correct BoardID settings, user can easily identify and access each card during hardware configuration and software programming. Table C.
C.6 Interrupt Status Register — BASE+8H/CH/10H The PCI-1736UP Interrupt Status Register control the status of two interrupt signal sources (IDI0, IDI1). Table C.5: Register for Interrupt Status Read Interrupt Status Register Bit # 7 1 0 BASE + 8H IDI1EN IDI0EN BASE + CH IDI1RF IDI0RF BASE + 10H IDI1F IDI0F IDInF 6 5 4 3 2 Interrupt flag bits (n = 0 ~ 1) This bit is a flag indicating the status of an interrupt.
C.7 Interrupt Control Register — BASE+8H/CH/10H The PCI-1736UP Interrupt Control Register controls the status of two interrupt signal sources (IDI0, IDI1). The user can clear the interrupt by writing its corresponding value to the Interrupt Control Register, as shown in below table. Table C.
PCI-1736UP User Manual 42