NuDAQ PCI-7256 User Manual

Latching relay actuator & isolated d/i cards

Advertisement

Quick Links

®
NuDAQ
PCI-7256
Latching Relay Actuator &
Isolated D/I Cards
User's Guide
Recycled Paper

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-7256 and is the answer not in the manual?

Questions and answers

Summary of Contents for NuDAQ PCI-7256

  • Page 1 ® NuDAQ PCI-7256 Latching Relay Actuator & Isolated D/I Cards User’s Guide Recycled Paper...
  • Page 2 Trademarks NuDAQ is registered trademarks of ADLINK Technology Inc. Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective companies.
  • Page 3 ♦ Customer Satisfaction is always the most important thing to ADLINK. If you need any help or service, please contact us. ADLINK Technology Inc. Web Site http://www.adlinktech.com Sales & Service service@adlinktech.com Technical NuDAQ + USBDAQ nudaq@adlinktech.com Support Automation automation@adlinktech.com NuIPC nuipc@adlinktech.com NuPRO/EBC nupro@adlinktech.com...
  • Page 4: Table Of Contents

    Table of Contents Chapter 1 Introduction ............. 1 Features ................. 2 Applications ................2 Specifications ................. 3 Software Support ..............5 1.4.1 Programming Library.................5 ® 1.4.2 PCIS-LVIEW: LabVIEW Driver............5 1.4.3 PCIS-VEE: VEE Driver..............6 1.4.4 PCIS-OCX: ActiveX Controls............6 1.4.5 PCIS-DDE: DDE Server and InTouch .........6 1.4.6 PCIS-ISG: ISaGRAF...
  • Page 5 Isolated Digital Input .............. 26 Interrupt Architecture............. 27 Change of State(COS) Interrupt ..........27 Chapter 5 C/C++ DOS Libraries ...........28 Programming Guide .............. 28 5.1.1 Naming Convention ............... 28 5.1.2 Data Types..................29 _7256 Initial ................30 _7256_DO................31 _7256_DO_Read_Back............31 _7256_DI ................
  • Page 6 How to Use This Guide This manual is for helping users to manipulate the PCI-7256. It is divided into 5 chapters. • Chapter 1, Introduction, gives an overview of the product features, applications, and specifications. • Chapter 2, Installation, describes how to install the PCI-7256. The...
  • Page 7: Chapter 1 Introduction

    OFF. Another useful feature is Board ID. It’s convenient for user to identify a specified card by setting up a switch when user have two or more PCI-7256 cards in one system. The I/O signals are via a 68-pin SCSI connector.
  • Page 8: Features

    Features The PCI-7256 Latching Relay Actuator and D/I Card provides the following advanced features: • 32-bit PCI-Bus, Plug and Play • 16 latching relay actuator outputs, the output status will remain when power-off • 16 opto-isolated digital inputs for PCI-7256 •...
  • Page 9: Specifications

    Specifications ♦ Digital input Input channels Photo-coupler PC-3H4 10 mA rated Input current 50 mA max. for isolated input Up-to 24 V or 24V Input Voltage Logic Low: 0~2V Logic High 5~24V Input impedance 4.7 KΩ Input mode Isolation AC-filter/ Non-AC-filter Isolated voltage 2,500 Vrms channel-to-system ♦...
  • Page 10 Humidity 5 to 95% non-condensing ♦ Power Consumption +5V @ 340 mA (No relays energized) PCI-7256 980mA maximum when all relays are active simultaneously 4 • Introduction...
  • Page 11: Software Support

    Software Support ADLINK provides versatile software drivers and packages for users’ different approach to built-up a system. We not only provide programming library such as DLL for many Windows systems, but also provide drivers for many ® software packages such as LabVIEW , VEE , InTouch , InControl...
  • Page 12: Pcis-Vee: Vee Driver

    1.4.3 PCIS-VEE: VEE Driver The PCIS-VEE includes the user objects, which are used to interface with VEE software package. PCIS-VEE supports Windows 95/98/NT/2000. The VEE drivers are free and shipped with the board. You can install and use them without license. For detail information about PCIS-VEE, please refer to the user’s guide in the CD.
  • Page 13: Pcis-Icl: Incontrol Tm Driver

    drivers for ISaGRAF under Windows NT environment. The PCIS-ISG is included in the ADLINK CD. It needs license. Please contact ADLINK or dealer to purchase the license. 1.4.7 PCIS-ICL: InControl Driver PCIS-ICL is the InControl driver which support the Windows NT. The PCIS- ICL is included in the ADLINK CD.
  • Page 14: Chapter 2 Installation

    Installation This chapter describes how to install the PCI-7256. The contents in the package and unpacking information that you should be careful are described. What you have In addition to the User’s Manual, the package includes the following items: •...
  • Page 15: Unpacking

    Unpacking Your PCI-7256 card contains sensitive electronic components that can be easily damaged by static electricity. The card should be operated on a grounded anti-static mat. The operator should be wearing an anti-static wristband, grounded at the same point as the anti-static mat.
  • Page 16: Pcb Layout

    PCB Layout The location of connector, switch and jumpers are shown in the figure2.1. They are described in the following sections. Figure 2.1 PCI-7256 PCB Layout 10 • Installation...
  • Page 17: Jumper Setting

    Jumper Setting The PCI-7256 is a ‘plug and play’ add-on card for PCI bus. It is not necessary for user to setup its base address and IRQ level to fit the hardware of your computer system. However, to fit user’s versatile operation, there are still a few jumpers to set for the digital input.
  • Page 18: External Led Connection

    External LED connection Figure 2.3 External LED connectors for relay status indication The PCI-7256 card has 16 LEDs on board to indicate the operation status of the 16 relays. In addition, PCI-7256 also has 16 external LED connectors for users’ applications. Utilizing external LEDs connecting with the JP3 and JP4,...
  • Page 19: Board Id

    Board ID When users plug two or more data acquisition cards in one system, it takes a lot of efforts to identify one specific card. For easier identification, PCI-7256 provides a Board ID function. According to a DIP switch configuration located in S1, users can assign a board ID to a specific card directly and access the card correctly through software programming.
  • Page 20: Connector Pin Assignments

    Connector Pin Assignments The PCI-7256 card is equipped with a 68-pin SCSI connector (CN1). The pin assignment of the SCSI connector is described by Figure 2 .5. ISO5V ISOGND DICOM1 DICOM2 DI10 DI11 DI12 DI13 DI14 DI15 COM8 COM0 COM1...
  • Page 21: Termination Board Connection

    Termination Board Connection The PCI-7256 is equipped with a SCSI 68-pin connector. The available termination board is DIN-68S/1S. The DIN-68S/1S is a general purpose 68 pin screw terminal with DIN socket. It is also equipped with a SCSI-68 pin cable that makes users install PCI-7256 more easily.
  • Page 22: Chapter 3 Register Format

    16 bits I/O instructions. The control of the relays and status of the isolation input is by means of accessing registers. The following table shows the register map, including descriptions and their offset addresses relative to the base address. Table 3.1 The register map of PCI-7256 Offset Write Read 0x00h Relay Output CH.
  • Page 23: Relay Output Control Register

    Relay Output Control Register There are 16 latching relays on each PCI-7256 board. Each latching relay is controlled by two bits of the control register. The setting (0,1) means the latching relay is in RESET condition. Under the RESET condition, the normal open(NO) signal line is ‘open’...
  • Page 24: Relay Output Read Back Register

    0: relay is in RESET status Isolated Digital Input Register There are 16 isolated input channels on PCI-7256 card. The status of the 16 channels can be read from the isolated input register. Each bit corresponds to each channel. The bit value “1” means the input logic is high and “0”...
  • Page 25: Cos Setup Register

    COS Setup Register The PCI-7256 provides a Change-of-State(COS) interrupt function on any one of digital input channel. This function allows users to monitor the status of input channels. By enabling the COS Setup registers, it will generate an interrupt when the corresponding channnel changes its state, whether a rising edge signal or a falling edge signal.
  • Page 26: Interrupt Control Register

    Interrupt Control Register There are two different interrupt modes in PCI-7256. In the first mode, users enable the COS interrupt function to monitor the enabled input channel’s status whenever the status changes from 0 to 1 or 1 to 0. In the second mode, users can select digital input channel 0, channel 1 or both channels as the interrupt sources.
  • Page 27 CH1 Int_EN (bit 10): Write/Read DI channel 1 interrupt enable control 1 : enable 0 : disable The following table shows all possible combinations of interrupt source. Table 3.2 Interrupt source set up IRQ source IRQ trigger condition Interurpt type Disable Interrupt disable Change of state in the enabled...
  • Page 28: Interrupt Status Register

    1: Ch1 interrupt asserts Handling PCI Controller Registers The PCI bus controller adopted in PCI-7256 is PCI-9030 which is provided by PLX technology Inc. When users attempt to handle low-level programming, some registers in PCI-9030 should be noticed. The interrupt control register(INTCSR;...
  • Page 29 In PCI-7256 software funciton library, we provide simple and easy-to-use functions to handle the procedure of interrupt. Using these functions, users don’t need to care about the interrupt register in PCI controller. We suggest users use these functions instead of developing interrupt functions by themselves.
  • Page 30: Chapter 4 Operation Theorem

    Latching Relay Output One of the innovative features on PCI-7256 is the 16-channel latching relay output. The PCI-7256 contains only one type of latching relay : 2 coil Form C. Figure 4.1 shows the latching relay contact arrangement under RESET condition.
  • Page 31 RESET condition control bits as (0,1). For more details about the latching relay control register, refer to section 3.3. PCI-7256 also provides a software function for user to control the latching relays. Using this function, relay control is as simple as the general relay.
  • Page 32: Isolated Digital Input

    The normal input voltage range for high state is 5 to 24V. The PCI-7256 provides an isolated +5V power for dry contact input. When the external circuit has no voltage source(e.g. a switch), users can use the on board +5V to respond the change of external circuit.
  • Page 33: Interrupt Architecture

    Note that the dual interrupts do not mean the card occupies two IRQ levels. There are two interrupt modes in PCI-7256, but you can only choose one of them at one time. Table3.2 shows all of the combinations of interrupt modes.
  • Page 34: Chapter 5 C/C++ Dos Libraries

    The functions of the NuDAQ PCI cards or NuIPC CompactPCI cards’ software driver are using full-names to represent the functions' real meaning. The naming conventions are: _{hardware_model}_{action_name}. e.g. _7256_Initial() . All functions in the PCI-7256 drivers are with 7256 as {hardware_model}. 28 • C/C++ DOS Libraries...
  • Page 35: Data Types

    Data Types We have defined some data types in Pci_7256.h. These data types are used by NuDAQ Cards’ library. We suggest you use these data types in your application programs. The following table shows the data type names and their range.
  • Page 36: 7256 Initial

    @ Description The PCI-7256 cards are initialized according to the card number. Because the PCI-7256 is PCI bus architecture and meets the plug and play design, the IRQ and base_address ( pass-through address) are assigned by system BIOS directly. Every PCI-7256 card has to be initialized by this function before using other functions.
  • Page 37: 7256_Do_Read_Back

    @ Description This function is used to read data back from digital output port control by 7256_DO function. There are 16-bit digital outputs on the PCI-7256. You can get back all RELAYs status (SET or RESET) by using this function.
  • Page 38 _7256_DI @ Description This function is used to read data from digital input port. There are 16-bit digital inputs on the PCI-7256. You can get all 16 input data by using this function. @ Syntax U16 _7256_DI (U16 boardID, U16 *diData) @ Argument boardID : Board ID to the specific borad.
  • Page 39: 7256_Cos_Channel

    _7256_COS_Channel @ Description This function is used to enable the COS channel. @ Syntax _7256_COS_Channel (U16 boardID, U16 COS_Enable_Data) @ Argument boardID : Board ID to the specific borad. COS_Enable_Data : COS channel enable. ‘1’ enable the corresponding channel and ‘0’ disable the corresponding channel.
  • Page 40: 7256_Int_Control

    _7256_INT_Control @ Description This function is used to control the interrupt source of PCI-7256. For more details about interrupt sources, refer to section 3.7 @ Syntax _7256_INT_Control (U16 boardID, U16 COS_Enable, U16 CH0_Enable, U16 CH1_Enable) @ Argument boardID : Board ID to the specific borad.
  • Page 41: 7256_Clr_Irq

    _7256_CLR_IRQ @ Description This function is used to clear the interrupt request of PCI-7256. @ Syntax _7256_CLR_IRQ (U16 boardID, U16 COS_CLR, U16 CH0_CLR, U16 CH1_CLR) @ Argument boardID: Board ID to the specific borad. COS_CLR: Write ‘1’ to clear COS interrupt request and write ‘0’...
  • Page 42: Appendix A. Relay Contact Protection Circuits

    Appendix A. Relay Contact Protection Circuits The contacts are the most important elements of relay constructions, Contact performance is conspicuously influenced by contact material, voltage and current values applied to the contacts. Another important issue is contact protection, a right contact protection circuit can suppress the counter EMF to a low level.
  • Page 43 Device Selection: As a guide in selecting R and C, R : 0.5 to 1 Ω per 1V contact voltage C : 0.5 to 1 µ F per 1A contact current Values vary depending on the properties of the capacity C acts to suppress the discharge the moment the contacts open.
  • Page 44 Device Selection: Use a zener diode with a zener voltage about the same as the power supply voltage. Varistor Circuit This circuit is also suitable for both AC & DC applications. Using the stable voltage characteristics of the varistor, this circuit prevents excessively high voltages from being applied across the contacts.
  • Page 45: Warranty Policy

    Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the fo llowing carefully. Before using ADLINK’s products, please read the user manual and follow the instructions exactly. When sending in damaged products for repair, please attach an RMA application form.
  • Page 46 . Damaged products with RMA forms attached receive priority. For further questions, please contact our FAE staff. ADLINK: service@adlinktech.com Test & Measurement Product Segment: NuDAQ@adlinktech.com Automation Product Segment: Automation@adlinktech.com Computer & Communicati on Product Segment: NuPRO@adlinktech.com NuIPC@adlinktech.com 40 • Warranty Policy...

Table of Contents