Copyright This documentation and the software included with this product are copyrighted 2001 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.
Table of Contents Contents Chapter 1 Introduction ............................................................1 1.1 1.2 1.3 1.4 1.5 1.6 Features .................................................................................. 1 Applications ........................................................................... 3 Installation Guide ................................................................... 3 Software Overview.................................................................
Advantech Co., Ltd. www.advantech.
Chapter 1. Chapter 1 Introduction Thank you for buying the Advantech PCI-1761. The Advantech PCI1761 is a 8-channel relay actuator and 8-channel isolated digital input card for the PCI bus. Its eight on-board SPDT relays are ideal for applications such as device ON/OFF control or small power switched. For easy monitoring, each relay is equipped with one red LED to show its ON/OFF status.
Chapter 1 Introduction any incidental harms. If connected to an external input source with surgeprotection, the PCI-1761 can offer up to a maximum of 2,000 VDC ESD (Electrostatic Discharge) protection. Even with an input voltage rising up to 70 VDC, the PCI-1761 can still manage to work properly albeit only for short period of time.
1.2 Applications ❏ Industrial On/Off control ❏ Switch status sensing ❏ Digital I/O control ❏ Industrial and lab automation ❏ SMT/PCB machinery ❏ Semi-conductor machinery ❏ PC-based Industrial Machinery ❏ Testing & Measurement ❏ Laboratory & Education ❏ External relay driving 1.
Chapter 1 Introduction Install Driver from CD-ROM, then power-off PC Install Hardware and Turn on PC Power Use driver utility to configure hardware Use test utility to test hardware Read examples and driver manual Start to write your own application Fig. 1-1: Installation Flow Chart PCI-1761 User’s Manual 4 Advantech Co., Ltd. www.advantech.
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-1761 card: z DLL driver (on the companion CD-ROM) z LabVIEW driver z Advantech ActiveDAQ z Advantech GeniDAQ Programming choices for DA&C cards: You may use Advantech application software such as Advantech DLL driver.
Chapter 1 Introduction 1.5 DLL Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech DLL driver 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 DLL Drivers Manual. Moreover, a rich set of example source codes are also given for your reference.
Programming with DLL Driver Function Library Advantech DLL driver offers a rich function library to be utilized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual C++, Visual Basic, Delphi and C++ Builder.
Chapter 1 Introduction 1.6 Accessories Advantech offers a complete set of accessory products to support the PCI-1761 card. These accessories include: Wiring Cable PCL-10137 Wiring Boards ❏ ADAM-3937 ❏ PCLD-880 PCI-1761 User’s Manual The PCL-10137 shielded cable is specially designed for PCI-1761 cards to provide high resistance to noise.
Chapter 2. Chapter 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-1761 package, please inspect ita contents first. The package should contain the following items: 5 PCI-1761 card 5 Companion CD-ROM (DLL driver included) 5 User's Manual The PCI-1761 card harbors certain electronic components vulnerable to electrostatic discharge (ESD).
Chapter 2 Installation After taking out the card, you should first: z Inspect the card for any possible signs of external damage (loose or damaged components, etc.). If the card is visibly damaged, please notify our service department or our local sales representative immediately. Avoid installing a damaged card into your system.
2.2 Switch and Jumper Settings The PCI-1761 card has one function switch settings. Fig.2-1: Card connector, jumper and switch locations Table 2-1: Summary of jumper settings Names of Jumpers Function description Keep last status after hot reset JP2 Default configuration Setting the time to reset the relay outputs Some users will want the capability of clearing each relay output when the system (or PC) issues a reset signal on the PCI bus.
Chapter 2 Installation 2.
2.4 Driver Installation Note: ✎ We recommend you to install the driver before you install the PCI1761 card into your system, since this will guarantee a smooth instal lation process. The 32-bit DLL driver Setup program for the PCI-1761 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.
Chapter 2 Installation Step 3: Select the DLL Drivers option. Step 4: Select the Windows 95/98 or Windows NT or Windows 2000 option according to your operating system. Just follow the instal lation instructions step by step to complete your DLL driver setup. Fig.
2.5 Hardware Installation Note: ✎ Make sure you have installed the driver first before you install the card (please refer to 2.4 Driver Installation) After the DLL driver installation is completed, you can now go on to install the PCI-1761 card in any PCI slot on your computer. But it is suggested that you should 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.
Chapter 2 Installation After the PCI-1761 card is installed, you can verify whether it is properly installed on your system in the Device Manager: 1. Access the Device Manager through Control Panel/System/Device Manager. 2. The device name of the PCI-1761 should be listed on the Device Manager tab on the System Property Page. Fig. 2-5 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.
After your card is properly installed on your system, you can now configure your device using the Device Installation Program that has itself already been installed on your system during driver setup. A complete device installation procedure should include device setup, configuration and testing. The following sections will guide you through the Setup, Configuration and Testing of your device. 2.
Chapter 2 Installation Step 2: On the Device Installation program window, select the Setup menu item on the menu bar, and click the Device command (Fig. 2-6) to bring up the I/O Device Installation dialog box (Fig. 2-7). You can then view the device(s) already installed on your system (if any) on the Installed Devices list box. Since you haven't installed any device yet, you might see a blank list such as the one in (Fig. 2-6). Fig.
Fig. 2-8 The "Device(s) Found" dialog box Configuring the Device Step 4: On the Device Setting dialog box (Fig. 2-9), you can configure the ID0 ~ ID7 Interrupt trigger mode either as Rising Edge or Falling Edge, and Enable or Disable the ID0 ~ ID7. Fig. 2-9 The Device Setting dialog box Step 5: After you have finished configuring the device, click OK and the device name will appear in the Installed Devices box as seen in Fig. 2.10 Advantech Co., Ltd. www.advantech.
Chapter 2 Installation Fig. 2-10 The Device Name appearing on the list of devices box Note: ✎ As we have noted, the device name "000:PCI-1761 I/O=6500H" 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.
Chapter 3. 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 PCI1761 via the I/O connector. 3.
Chapter 3 Signal Connections 3.3 Relay connections After power on, the initial relay output status of PCI-1761 is shown as below: Figure 3-2: Relay output connection A write operation to I/O address, BASE +0, will change the output status of each relay. For example, if Bit 0 of BASE +0 is set "1" (logic high), relay 0, K0, will switch from position "NORMALLY CLOSED", R0_NC, to position "NORMALLY OPEN", R0_NO. This means that LOAD2 will be de-energized, while LOAD1 is energized.
Appendix A Appendix A Specifications Table A-1: Isolated Digital Input Number of Input Channel 8 Optical Isolation 3750 VDC 25µs Opto-isolator response time Over-voltage Protect Input Voltage Input Current 70 VDC VIH (max.) 50 VDC VIH (min.) 10 VDC VIL (max.) 3 VDC 10 VDC 1.6 mA (typical) 12 VDC 1.9 mA (typical) 24 VDC 4.1 mA (typical) 48 VDC 8.5 mA (typical) 50 VDC 8.
Appendix A Specifications Note: ✎ The current was limited by the cable and wiring terminal board. For detailed relay specification, please refer to CD-ROM:\Document\ PCI-1761_Relay_Spec.pdf. Table A-3: General Specs I/O Connector Type Dimensions 37-pin D-type female 175 mm x 100 mm (6.9" x 3.9") +5V @ 220 mA (typical) +5V @ 750 mA (max.
Appendix B Appendix B Block diagram Fig B-1: System block diagram Advantech Co., Ltd. www.advantech.
Appendix C Register Structure and Format Appendix C Appendix C Register Structure and Format C.1 Overview The PCI-1761 is delivered with an easy-to-use 32-bit DLL driver for user programming under the Windows 95/98/NT/2000 operating system. We advise users to program the PCI-1761sing the 32-bit DLL driver provided by Advantech to avoid the complexity of low-level programming by register.
Table C-1: Register function Base Addr, + Hex R 0H W R 1H 7 6 5 4 RS7 RS6 RS5 RS4 RO7 RO6 RO5 RO4 IDI7 IDI IDI5 IDI4 4H W R 5H RS3 RS2 RS1 RS0 RO3 RO2 RO1 RO0 IDI3 IDI2 IDI1 IDI0 BD2 BD1 BD0 IDI1EN IDI0EN IDI1EN IDI0EN IDI1RF IDI0RF IDI2RF IDI1RF IDI0RF IDI2F IDI1F IDI0F IDI1CLR IDI0CLR N/A Board ID Register BD3 N/A W R 0 Isolated Digital Input 2H W 1 Relay Output R 3H 2 Relay Output Status W R 3 Interrupt Enable Status IDI7EN IDI6EN IDI5E
Appendix C Register Structure and Format C.3 Relay I/O Registers - BASE+0H The PCI-1761 offers 8-ch relay actuators. These I/O channels use the input and output ports at addresses BASE+0H.
C.4 Isolated Digital Input Registers - BASE+1H The PCI-1761 offers 8-ch isolated digital input channels. These channels use the input ports at addresses BASE+1H. Table C-4: Register for isolated digital input Read Bit # BASE +1H Isolated Digital Input 7 6 5 4 3 2 1 0 IDI7 IDI6 IDI5 IDI4 IDI3 IDI2 IDI1 IDI0 C.5 Board ID - BASE+2H The PCI-1761 offers Board ID register BASE+2H.
Appendix C Register Structure and Format C.6 Interrupt Status Register - BASE+3H/4H/5H The Interrupt Status Register control the status of two interrupt signal sources (IDI0 ~ IDI7).
C.7 Interrupt Control Register - BASE+3H/4H/5H The Interrupt Control Register control the status of two interrupt signal sources (IDI0 ~ IDI7). The user can clear the interrupt by writing its corresponding value to the Interrupt Control Register, as shown in below table.