User Manual PCI-1762 16-ch Relay & 8-ch Isolated Digital Input PCI Card
Copyright The documentation and the software included with this product are copyrighted 2011 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. Test conditions for passing included the equipment being operated within an industrial enclosure. In order to protect the product from being damaged by ESD (Electrostatic Discharge) and EMI leakage, we strongly recommend the use of CE-compliant industrial enclosure products. Technical Support and Assistance 1. 2. Visit the Advantech web site at www.advantech.
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.
Contents Chapter 1 Overview...............................................1 1.1 1.5 1.6 Introduction ............................................................................................... 2 1.1.1 PCI-1762 16-ch Isolated Digital Input and 16-ch Relay Output Card 2 Features .................................................................................................... 2 Applications...............................................................................................
C.1 C.2 C.3 C.4 C.5 C.6 C.7 Overview ................................................................................................. 26 I/O Port Address Map ............................................................................. 26 Table C.1: Register Functions ................................................... 26 C.3 Relay I/O Registers - BASE+0H and BASE+1H ............................. 27 Table C.2: Register for Relay Output Status.............................. 27 Table C.
Chapter 1 Overview 1
1.1 Introduction Thank you for buying the Advantech PCI-1762 DAS card. The Advantech PCI-1762 DAS card is a 16-ch relay actuator and 16-ch isolated digital input card for the PCI bus. Its sixteen 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.
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-1762 can either retain outputs 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 wrong operations during unexpected system resets. 1.
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 Figure 1.1 Installation Flow Chart 1.
Advantech offers a complete set of accessory products to support the PCI-1762 cards. These accessories include: Wiring Cable The PCL-10162 shielded cable is specially designed for PCI-1762 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.
PCI-1762 User Manual 6
Chapter 2 Installation 2
2.1 Unpacking After receiving your PCI-1762 package, please inspect ita contents first. The package should contain the following items: PCI-1762 card Companion CD-ROM (DLL driver included) Startup Manual 2.2 Switch and Jumper Settings The PCI-1762 card has one function switch and two jumper settings. The following sections tell how to configure the card. You may want to refer to the figure below for help in identifying card components. Figure 2.
Names of Jumpers Function Description JP4 ~ 19 Sets relay output to be normally open JP2 Keep last status after hot reset Default configuration Setting relay outputs to be NC/NO Sixteen relay outputs, K0 ~ K15, are single-pole single-throw (SPST), which can be jumper set as either normally open (NO) or normally close (NC) (see Table 2.2). The default settings for K0 ~ K15 are normally open. Table 2.
the system (or PC) issues a reset signal on the PCI bus. Some users will want to clear their relays only as part of system power-on. The PCI-1762 satisfies both these needs by providing jumper JP2. Depending on the application, this capability may allow relay outputs to be “OFF” without requiring a complete shutdown of processes controlled by the card. Complete loss of power to the chip clears the chip memory.
We recommend you install the driver before you install PCI-1762 card into your system, since this will guarantee a smooth installation process. The 32-bit DLL driver Setup program for the PCI-1762 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: Insert the companion CD-ROM into your CD-ROM drive. The Setup program will be launched automatically if you have the autoplay function enabled on your system.
Figure 2.4 Driver Setup Options For further information on driver-related issues, an online version of the Device Drivers Manual is available by accessing the following path: Start/Programs/Advantech Automation/Device Manager/Device Drivers Manual 2.5 Hardware Installation Note! Make sure you have installed the driver first before you install the card (please refer to 2.
8. 9. Connect appropriate accessories (62-pin cable, wiring terminals, etc. if necessary) to the PCI card. Replace the cover of your computer chassis. Re-connect the cables you removed in step 2. Plug in the power cord and turn on the computer. After the PCI-1762 card is installed, you can verify whether it is properly installed on your system in the Device Manager: Access the Device Manager through Control Panel/System/Device Manager.
2.6 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 1. To install the I/O device for your card, you must first run the Device Manager program (by accessing Start/Programs/Advantech Automation/Device Manager/ Advantech Device Manager ). 2.
Chapter 2 Installation Figure 2.7 Device Setting Dialog Box 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. Note! As we have noted, the device name 001: begins with a device number "001", which is specifically assigned to each card. The device number is passed to the driver to specify which device you wish to control.
PCI-1762 User Manual 16
Chapter 3 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-1762 via the I/O connector. 3.2 Isolated Digital Input Connections The PCI-1762 has 16 isolated digital input channels designated IDI0~IDI15.
After power on, the initial relay output status of PCI-1762 is shown as below: 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", NC0, to position "NORMALLY OPEN", NO0. This means that LOAD2 will be de-energized, while LOAD1 is energized.
PCI-1762 User Manual 20
Appendix A Specifications A
A.1 Specifications Table A.1: Isolated Digital Input Number of Input Channels 16 Optical Isolation 2500VDC Opto-isolator response time 25μs Over-voltage Protect 70 VDC Input Voltage VIL (max.) 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.9 mA (typical) Table A.
Appendix B Block Diagram B
B.
Appendix C C Register Structure and Format
C.1 Overview The PCI-1762 is delivered with an easy-to-use 32-bit DLL driver for user programming under the Windows XP/Vista/7 operating system. We advise users to program the PCI-1762sing the 32-bit DLL driver provided by Advantech to avoid the complexity of low-level programming by register. The most important consideration in programming the PCI-1762 the register level is to understand the function of the card's registers.
The PCI-1762 offers 16-ch relay Actuators. These I/O channels use the input and output ports at addresses BASE+0 and BASE+1. Table C.2: Register for Relay Output Status Read Relay Output Status Bit # 7 6 5 4 3 2 1 0 BASE +1 RS15 RS14 RS13 RS12 RS11 RS10 RS9 RS8 BASE +0 RS7 RS6 RS5 RS4 RS3 RS2 RS1 RS0 Table C.
C.5 Board ID - BASE+4H The PCI-1762 offers Board ID register BASE+4. With correct Board ID settings, user can easily identify and access each card during hardware configuration and software programming. Table C.4: Register for Board ID Read Board ID Bit # 7 6 5 4 BASE +4 BD3 ~ DB0 3 2 1 0 BD3 BD2 BD1 BD0 Board ID BD0 LSB of the Board ID BD3 MSB of the Board ID C.
The Interrupt Control Register control the status of two interrupt signal sources (IDI0 and IDI8). The user can clear the interrupt by writing its corresponding value to the Interrupt Control Register, as shown in below table. Table C.6: Register for Interrupt Control Write Interrupt Control Register Bit # 7 6 5 4 3 2 1 0 BASE +7 ID8RF ID8EN ID8CLR BASE +6 ID0RF ID0EN ID0CLR IDnCLR Interrupt clear control bits (n = 0 or 8) This bit must first be cleared to service the next inter rupt.
PCI-1762 User Manual 30
Appendix D Flow Chart D
D.1 Flow Chart To write a command or confirm the command status, please follow the follow chart below.
Appendix D Flow Chart 33 PCI-1762 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.