ADLINK PCI-7256 User Manual

NuDAQ® PCI-7256
Latching Relay Actuator &
Isolated D/I Cards
Recycled Paper
©Copyright 2001 ADLINK Technology Inc.
All Rights Reserved.
Manual Rev : 1.00 December 11, 2001
Part NO : 50-11127-100
The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation, even if advised of the possibility of such damages.
This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form without prior written permission of the manufacturer.
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.
Getting service from ADLINK
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 Technical NuDAQ + USBDAQ nudaq@adlinktech.com Support Automation automation@adlinktech.com NuIPC nuipc@adlinktech.com NuPRO/EBC nupro@adlinktech.com TEL +886-2-82265877 FAX +886-2-82265717
Address
Please inform or FAX us of your detailed information for a prompt,
satisfactory and constant service.
Company/Organization Contact Person E-mail Address Address Country TEL FAX Web Site
Product Model
Environment to Use
Challenge Description
service@adlinktech.com
9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan
Detailed Company Information
Questions
OS Computer Brand M/B: CPU: Chipset: BIOS: Video Card: Network Interface Card: Other:
Suggestions to ADLINK
Table of Contents
Chapter 1 Introduction ....................................................... 1
1.1 Features ....................................................................................... 2
1.2 Applications .................................................................................. 2
1.3 Specifications ............................................................................... 3
1.4 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 InTouchTM.................................... 6
1.4.6 PCIS-ISG: ISaGRAFTM driver .................................................... 6
1.4.7 PCIS-ICL: InControlTM Driver ..................................................... 7
1.4.8 PCIS-OPC: OPC Server ............................................................ 7
Chapter 2 Installation ......................................................... 8
2.1 What you have ............................................................................. 8
2.2 Unpacking .................................................................................... 9
2.3 PCB Layout ................................................................................ 10
2.4 Jumper Setting ........................................................................... 11
2.4 External LED connection............................................................ 12
2.5 Board ID ..................................................................................... 13
2.6 Connector Pin Assignments....................................................... 14
2.7 Termination Board Connection .................................................. 15
Chapter 3 Register Format .............................................. 16
3.1 I/O Address Map ........................................................................ 16
3.2 Relay Output Control Register ................................................... 17
3.3 Relay Output Read Back Register ............................................. 18
3.4 Isolated Digital Input Register .................................................... 18
3.5 COS Setup Register................................................................... 19
3.6 COS Latch Register ................................................................... 19
3.7 Interrupt Control Register........................................................... 20
3.8 Interrupt Status Register ............................................................ 22
3.9 Handling PCI Controller Registers .............................................22
Chapter 4 Operation Theorem ......................................... 24
4.1 Latching Relay Output................................................................ 24
Table of Contents • i
4.2 Isolated Digital Input................................................................... 26
4.3 Interrupt Architecture.................................................................. 27
4.4 Change of State(COS) Interrupt................................................. 27
Chapter 5 C/C++ DOS Libraries....................................... 28
5.1 Programming Guide ................................................................... 28
5.1.1 Naming Convention .................................................................28
5.1.2 Data Types ..............................................................................29
5.2 _7256 Initial ................................................................................ 30
5.3 _7256_DO .................................................................................. 31
5.4 _7256_DO_Read_Back ............................................................. 31
5.5 _7256_DI.................................................................................... 32
5.6 _7256_COS_Channel ................................................................ 33
5.7 _7256_COS_Latch..................................................................... 33
5.8 _7256_INT_Control.................................................................... 34
5.9 _7256_CLR_IRQ........................................................................ 35
5.10 _7256_GET_IRQ_Status ........................................................... 35
Appendix A. Relay Contact Protection Circuits...... 36
Warranty Policy ................................................................ 39
ii • Table of Contents
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
applications, and specifications.
Chapter 2, Installation
layout of PCI-7256 is shown, and jumper setting for digital input filter, external LED connection and Board ID switch are specified. The connectors’ pin assignments are also described.
Chapter3, Register Format
and structure of the PCI-7256. This information is very important for the programmers who want to control the hardware by low level programming.
Chapter 4, Operation Theorem
7256. The latching relay, isolated digital input and change-of-state functions are introduced. Some programming concepts are also described.
Chapter 5, C/C++ libraries
library of PCI-7256, and also describes how to meet your requirements and help you to program your own software application.
, gives an overview of the product features,
, describes how to install the PCI-7256. The
, describes the details of register format
, describes how to operate the PCI-
, describes the software utility and the
Appendix A, relay Contact Protection Circuits,
information about relay contact protection circuits.
How to Use This Guide • iii
provides the
1
Introduction
The PCI-7256 Latching Relay Actuator and Isolated D/I card is a basic Digital I/O card for PCI bus computer in industrial applications.
This PCI-7256 provide 16 latching relay actuators and 16 opto-isolated digital inputs. All relays are Form C type. They are very suitable for ON/OFF control devices.
All of the digital input channels are identical non-polarity opto-isolated, each of them can be switchable by using RC filter or non-RC filter. All channels are isolated and suitable for collecting digital inputs in noisy environments. The function of “Change-of-State” (COS) interrupt is provided. It means when any of these digital inputs changes its state, an interrupt will be generated for user to handle this external event.
Using latching relays, the PCI-7256 has the advantage of power saving. The status of each latching relay output is reflected by a LED. When the latching relay is in SET condition, its corresponding in-board LED will turn ON, otherwise it is 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.
Introduction • 1
1.1 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
LED indicators to show the status of relays and can be read back
Jumper selectable AC-filtered/non-AC-filtered input signals
On-board relay driving circuits
Change-of-State (COS) detection for digital input channels
Digital input channel 0 & 1 interrupt
Dry contact input available
Board ID
1.2 Applications
Industrial ON/OFF control
External high power relay driving, Signal switching
Laboratory automation
Industrial automation
Switch contact status sensing, limit switch monitoring,
Cooperating with A/D and D/A cards to implement a data acquisition
& control system
2 • Introduction
1.3 Specifications
Digital input
Input channels 16 Photo-coupler PC-3H4
Input current
Input Voltage
Input impedance Input mode Isolation AC-filter/ Non-AC-filter Isolated voltage 2,500 Vrms channel-to-system
Relay Output
Output channels 16 Relay type 16 DPDT ( Form C )
Contact rating
Breakdown voltage 1000 V Release time 3 msec Operate time 3 msec Contact resistance Insulation resistance
Life expectancy
(min. operations)
Vibration Resistance
LED indicators
Power supply of Relay + 5V from the PCI-Bus
10 mA rated 50 mA max. for isolated input Up-to 24 V
or 24V
DC
AC
Logic Low: 0~2V Logic High 5~24V
4.7 KΩ
, 0.5 A
125V
AC
, 1A
30V
DC
rms
60mΩ 1000M Ω min. (at 500 V
5
> 2 X 10
> 10
176.4m/s
times at 1A 30VDC
5
times at 0.5A 125VAC
2
(18G), 10 to 55Hz
)
DC
at double amplitude of 3mm
Monitor SET/RESET status of each
relay; external LED connectors could
be applied
Isolated +5V Power Supply
Output Voltage +5V Output Current
General Specifications
Dimension
Bus Operating temperature Storage temperature
170mA max. (@ 40°C)
174 mm x 106 mm, standard PCI half size
32-bit PCI bus 0 ~ 60 °C
-20 °C ~ 80 °C
Introduction • 3
Humidity
Power Consumption
PCI-7256
5 to 95% non-condensing
+5V @ 340 mA (No relays energized) 980mA maximum when all relays are active simultaneously
4 • Introduction
1.4 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®, VEETM, InTouchTM, InControlTM, ISaGRAF
All the software options are included in the ADLINK CD. The non-free software drivers are protected with serial licensed code. Without the software serial number, you can still install them and run the demo version for two hours for demonstration purpose. Please contact ADLINK or the dealer to purchase the software license serial code.
1.4.1 Programming Library
For customers who are writing their own programs, we provide function libraries for many different operating systems, including:
The above software drivers are shipped with the board. Please refer to the “Software Installation Guide” to install these drivers.
TM
, and so on.
DOS Library: Borland C/C++ and, the functions descriptions are
included in this user’s guide.
PCIS-DASK: Include device drivers and DLL for Windows 98,
Windows NT and Windows 2000. DLL is binary compatible across Windows 98, Windows NT and Windows 2000. That means all applications developed with PCIS-DASK are compatible across Windows 98, Windows NT and Windows 2000. The developing environment can be VB, VC++, Delphi, BC5, or any Windows programming language that allows calls to a DLL. The user’s guide and function reference manual of PCIS-DASK are in the CD. Please refer the PDF manual files under \Manual_PDF\Software\PCIS­DASK.
1.4.2 PCIS-LVIEW: LabVIEW® Driver
PCIS-LVIEW contains the VIs, which are used to interface with NI’s LabVIEW 95/98/NT/2000. The LabVIEW You can install and use them without license. For detail information about
PCIS-LVIEW, please refer to the user’s guide in the CD.
(\Manual_PDF\Software\PCIS-LVIEW)
®
software package. The PCIS-LVIEW supports Windows
®
drivers are free and shipped with the board.
Introduction • 5
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.
(\Manual_PDF\Software\PCIS-VEE)
1.4.4 PCIS-OCX: ActiveX Controls
We suggest the customers who are familiar with ActiveX controls and VB/VC++ programming use PCIS-OCX ActiveX control components library for developing applications. PCIS-OCX is designed for Windows 98/NT/2000. For more detailed information about PCIS-OCX, please refer to the user's guide in the CD.
(\Manual_PDF\Software\PCIS-OCX\PCIS-OCX.PDF
The above software drivers are shipped with the board. Please refer to the “Software Installation Guide” in the package to install these drivers.
Also ADLINK supplies an ActiveX control software DAQBench. DAQBench is a collection of ActiveX controls for measurement or automation applications. With DAQBench, you can easily develop custom user interfaces to display your data, analyze data you acquired or received from some other sources, and integrate with popular applications or data sources. For more detailed information about DAQBench, please refer to the user's guide in the CD.
(\Manual_PDF\Software\DAQBench\DAQBenchManual.PDF
)
)
You can also get a free 4-hour evaluation version of DAQBench from the CD.
DAQBench is charged software. Please contact ADLINK dealer or ADLINK to purchase the software license.
1.4.5 PCIS-DDE: DDE Server and InTouchTM
DDE stands for Dynamic Data Exchange specifications. The PCIS-DDE includes the PCI cards’ DDE server. The PCIS-DDE server is free and included in the ADLINK CD. The DDE server can be used conjunction with any DDE client under Windows 98/NT/2000.
1.4.6 PCIS-ISG: ISaGRAFTM driver
The ISaGRAF WorkBench is an IEC1131-3 SoftPLC control program development environment. The PCIS-ISG includes ADLINK products’ target
6 • Introduction
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: InControlTM Driver
PCIS-ICL is the InControl driver which support the Windows NT. The PCIS­ICL is included in the ADLINK CD. It needs license. Please contact ADLINK or dealer to purchase the license.
1.4.8 PCIS-OPC: OPC Server
PCIS-OPC is an OPC server, which can link with the OPC clients. There are many software packages on the market can provide the OPC clients now. The PCIS-OPC supports the Windows 98, NT, and 2000. Please contact ADLINK or dealer to purchase the license.
Introduction • 7
Loading...
+ 33 hidden pages