ADLINK PCI-7258 User Manual

NuDAQ®
PCI-7258
PhotoMos Relay Cards
User’s Guide
©Copyright 2002 ADLINK Technology Inc.
All Rights Reserved.
Manual Rev: 1.04: October 18, 2002
Part NO: 50-11132-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 the most important priority for ADLINK Tech Inc. If you need any help or service, please contact us.
ADLINK Technology Inc.
Web Site http://www.adlinktech.com
Sales & Service Service@adlinktech.com
NuDAQ + USBDAQ nudaq@adlinktech.com
Technical
Support
TEL +886-2-82265877 FAX +886-2-82265717
Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan.
Please email or FAX us of your detailed information for a prompt, satisfactory and constant service.
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL
Web Site
Product Model
Environment to Use
Detail Description
Automation automation@adlinktech.com
NuIPC nuipc@adlinktech.com
NuPRO / EBC nupro@adlinktech.com
Detailed Company Information
FAX
Questions
OS: Computer Brand: M/B: CPU: Chipset: BIOS: Video Card: Network Interface Card: Other:
Suggestions to ADLINK
Table of Contents
Tables and Figures.........................................................iii
How to Use This Guide ..................................................iv
Introduction .....................................................................1
1.1 Features ............................................................................... 2
1.2 Applications.......................................................................... 2
1.3 Specifications ....................................................................... 2
1.4 Software Support .................................................................4
1.4.1 Programming Library.........................................................4
1.4.2 PCIS-LVIEW: LabVIEW® Driver .......................................4
1.4.3 PCIS-VEE: VEE Driver......................................................5
1.4.4 PCIS-OCX: ActiveX Controls.............................................5
1.4.5 PCIS-DDE: DDE Server and InTouchTM............................5
1.4.6 PCIS-ISG: ISaGRAFTM driver ............................................5
1.4.7 PCIS-ICL: InControlTM Driver.............................................6
1.4.8 PCIS-OPC: OPC Server....................................................6
Getting Started.................................................................7
2.1 What you have .....................................................................7
2.2 Unpacking ............................................................................ 8
2.3 PCB Layout.......................................................................... 9
2.4 Board ID ............................................................................. 11
2.6 Connector Pin Assignments............................................... 12
2.7 Termination Board Connection .......................................... 13
Registers ........................................................................15
3.1 I/O Address Map ................................................................15
3.2 Relay Output Control Register ........................................... 16
3.3 Relay Output Read Back Register..................................... 17
3.4 Isolated Digital Input Register ............................................ 18
3.5 Clear IRQ register ..............................................................18
3.6 Handling PCI Controller Registers ..................................... 19
Table of Contents • i
Operation Theory...........................................................20
4.1 PhotoMos Relay Output..................................................... 20
4.2 Isolated Digital Input ..........................................................22
4.3 Interrupt Architecture .........................................................22
C/C++ DOS Libraries .....................................................23
5.1 Programming Guide........................................................... 23
5.1.1 Naming Convention.........................................................23
5.1.2 Data Types ......................................................................24
5.2 _7258 Initial........................................................................ 25
5.3 _7258_DO.......................................................................... 26
5.4 _7258_DO_Read_Back ..................................................... 26
5.5 _7258_DI............................................................................ 27
5.6 _7258_INT_Control............................................................ 27
5.9 _7258_CLR_IRQ ...............................................................28
5.10 _7258_GET_IRQ_Status ................................................... 28
Warranty Policy .............................................................29
ii • Table of Contents
Tables and Figures
Tables
Table 1. Board ID Setting Conditions ................................................. 11
Table 2. Registers Address Map ........................................................ 15
Table 3. Data Types and Range......................................................... 24
Figures
Figure 1: PCI-7258 PCB Layout ............................................................ 9
Figure 2: Board ID Dipswitch ............................................................... 11
Figure 3: Pin Assignment of PCI-7258 CN1......................................... 12
Figure 4: PhotoMos relay schematic.................................................... 20
Figure 5: PhotoMos relay wiring diagram ............................................ 21
Figure 6: Protection circuit for an Inductive load .................................. 21
Figure 7: Photo-Coupler ...................................................................... 22
Tables and Figures • iii
How to Use This Guide
This manual is intended to assist users to configure the PCI-7258 PhotoMos Relay Card. It is divided into 5 chapters.
Chapter 1, “Introduction”
applications, and specifications.
Chapter 2, “Getting Started”
The Board ID switch and connectors’ pin assignments are also described.
Chapter3, “Registers”
PCI-7258. The information is important for programmers who want to control the hardware with low level programming languages.
Chapter 4, “Operation Theory”
7258. The PhotoMos relay and isolated digital input are introduced. Some programming concepts are also described.
Chapter 5, “C/C++ libraries”
software libraries of the PCI-7258. This chapter also outlines basic requirements for programming your own software application.
, gives an overview of the product features,
, describes how to install the PCI-7258.
, describes the registers that are available to the
, describes how to operate the PCI-
, describes the software utility and the
iv How to Use This Guide
1
Introduction
The PCI-7258 PhotoMos relay card is a basic Digital I/O card for PCI bus computers used in industrial applications.
This PCI-7258 provides 32 PhotoMos relay actuators and 2 opto-isolated digital inputs. All relays are of Form A type and is very suited for constant ON/OFF control devices.
Other useful feature includes the Board ID. It is convenient for board identification when two or more PCI-7258 cards are in a system. All I/O signals are routed via a 68-pin SCSI connector.
Introduction 1
1.1 Features
The PCI-7258 PhotoMos relay actuator and D/I Card provides the following advanced features:
32-bit PCI-Bus, Plug and Play
32 PhotoMos relay actuator outputs
2 opto-isolated digital inputs
On-board relay driving circuits
Digital input channel 0 & 1 interrupt
Board ID
1.2 Applications
Industrial ON/OFF control
Energy management
Laboratory automation
Industrial automation
Switch contact status sensing, limit switch monitoring,
Integrate with A/D and D/A cards to implement a data acquisition & control
system
1.3 Specifications
Digital input
Input channels: 2
Photo-coupler: PC-3H4
Input current:
3 10 mA rated
3 50 mA max. for isolated input
2 Introduction
Input Voltage:
3 Up-to 24 V
3 Logic Low: 0~2V
3 Logic High 5~24V
Input impedance: 2.4 KΩ / 0.5W
Isolated voltage: 2,500 V
Relay Output
Output channels: 32
Relay type: 32 SPST (Form A)
Load voltage (peak AC): 350V
Continuous load current (peak AC): 0.12A
Peak load current: 0.3A
I/O isolation voltage: 1,500 V AC
Output turn on resistance (typical): 17Ω
Output off state leakage current (Maximum): 1μA
Turn on time (typical): 0.23 ms
Turn off time (typical): 0.04 ms
or 24V
DC
AC
channel-to-system
rms
General Specifications
Bus: 32-bit PCI bus
Dimension: 174 mm x 106 mm, standard PCI half size
Operating temperature: 0 ~ 60 °C
Storage temperature: -20 °C ~ 80 °C
Humidity: 5 to 95% non-condensing
Power Consumption
+5V @ 380 mA (All relays energized)
Introduction 3
1.4 Software Support
ADLINK provides versatile software drivers and packages for users’ different approach to building a system. ADLINK not only provides programming libraries such as DLL for most Windows based systems, but also provide
drivers for other software packages such as LabVIEW®, VEETM, InTouchTM, InControl
All software options are included in the ADLINK CD. Non-free software drivers are protected with licensing codes. Without the software code, you can install and run the demo version for two hours for trial/demonstration purposes. Please contact ADLINK dealers to purchase the formal license.
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” for installation procedures.
TM
, ISaGRAFTM, and so on.
DOS Library: Borland C/C++ and Microsoft C++. Functional
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 is used to interface with NI’s LabVIEW® software package. The PCIS-LVIEW supports Windows 95/98/NT/2000. The LabVIEW them without a license. For more information about PCIS-LVIEW, please refer to the user’s guide in the CD. (\\Manual_PDF\Software\PCIS-LVIEW).
4 Introduction
®
drivers is shipped free with the board. You can install and use
Loading...
+ 26 hidden pages