NuDAQ PET-48DIO Manuel utilisateur

NuDAQ
PET-48DIO
Programmable 48-bit DIO
Event, and Timer Cards
User’s Guide


@Copyright 1997~2000 ADLINK Technology Inc.
All Rights Reserved.
Manual Rev. 3.22: April 17, 2000
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
NuDAQis 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 for ADLINK Tech Inc.
If you need any help or service, please contact us and get it.
ADLINK Technology Inc.
Web Site http://www.Adlink.com.tw
Sales & Service
Technical NuDAQ [email protected]
Support NuDAM [email protected]
TEL+886-2-82265877 FAX +886-2-82265717
Address
9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan,
R.O.C.
Please inform or FAX us of your detailed information for a prompt, satisfactory
and constant service. Detailed Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL FAX
Web Sit Questions
Product Model
Environment to Use OS
Computer Brand
M/B : CPU :
Chipset : Bios :
Video Card :
Network Interface Card :
Other :
Challenge Description
Suggestions to ADLINK

Contents
•
i
Contents
Chapter 1 Introduction................................................1
1.1 Specifications.....................................................................1
1.2 Applications.......................................................................2
1.3 Software Supporting...........................................................3
1.3.1 Programming Library.....................................................................3
1.3.2 ACLS-LVIEW: LabView Driver.....................................................3
Chapter 2 Installation.................................................4
2.1 What You Have ...................................................................4
2.2 Unpacking ..........................................................................4
2.3 Layout of PET-48DIO..........................................................5
2.4 Jumper and DIP Switch Description ...................................5
2.5 Setting Base Address.........................................................6
2.6 Pull-Up and Pull-Down Setting ...........................................8
2.7 Optp-22 Pin-2 & Pin-4 Configuration Setting ....................10
2.8 Interrupt IRQ Level Setting...............................................11
2.9 Timer & Event Interrupt Setting ........................................11
2.9.1 Timer Interrupt Setting JP10......................................................12
2.9.2 Event Counter Setting JP11.......................................................12
2.9.3 Timer Clock Source Setting JP12.............................................13
2.10 Programmable Interrupt Setting.......................................14
2.11 Connectors.......................................................................16
Chapter 3 Control Programming...............................19
3.1 PET-48DIO Software Library Installation ..........................19
3.2 8255 Mode 0......................................................................20
3.3 Register Structure ............................................................21
3.4 Programming for PET-48DIO............................................23
3.4.1 Programming in Assembly Langrage......................................23
3.4.2 Programming in C language ......................................................26
3.4.3 A Complete Example Program for Interrupt Handling........29
Product Warranty/Service.........................................32

How to Use This Guide
This manual is designed to help you use the 7248/96 series products.
It describes how to modify and control various functions on the cards
to meet your requirements. It is divided into five chapters:
•Chapter 1, "Introduction," gives an overview of the product features.
applications, and specifications.
•Chapter 2, "Installation," describes how to install the 7248/96
series products. The layout of are shown, the jumper settings, the
connectors specifications, and the notes for installation are
described.
•Chapter 3, "Register Structure & Format," describes the low-level
register structure and format ofthe PCI-7224/7248/7296.
•Chapter 4, "Operation Theorem" describes more details about the
versatile functions, including DIO, timer / counter, and interrupt
systems.
•Chapter 5, "Software Library" specifies the software library of C
language under DOS environment that makes you can operate the
functions on this card easily.

Introduction
•
1
1
Introduction
The PET-48DIO is a digital input / output add-on card with 48
programmable I/O ports for IBM PC or compatibles. In addition to
programmable I/O ports, an event counting and a timer pacer for
interrupt are also included. The 48 programmable input / output ports
are divided into two 24 programmable input / output ports for each
group. Its pin assignment is fully compatible with opto-22 standard.
The features of the PET-48DIO include an event counter to count
events that come from input port, a timer pacer for interrupt trigger,
and four input ports can be as programmable real time interrupt
source. These functionality make the PET-48DIO are very powerful to
support complex digital I/O control applications.
Only two bytes of I/O address are occupied by PET-48DIO, it lets
more cards can be installed in one system. All digital input / output
ports are TTL compatible and use the 74LS244 as driver and buffer
circuit to provide higher driving capacity for outputs and lower loading
current for inputs than regular TTL circuit.
1.1 Specifications
ØGeneral Specification
l48 programmable input / output ports
lHigh output driving capacity
lLow input loading
lOne 16-bit programmable event counter
lOne 32-bit programmable timer pacer
lInterrupt IRQ : IRQ3, ..., IRQ15 (9 levels jumper selectable)
ØDigital Input
lLogic level 0 : From-0.5 V to 0.8 V

2
•
Installation
lLogic level 1 : From 2.0 V to5.0 V
lInput loading: 0.2 mA at 0.4 V
lInput hysteresis: From 0.2 V to 0.4 V
lFrequency Response: 500 KHZ
ØDigital Output
lCurrent sink of logic level 0 : 24 mA Max,
lCurrent source of logic level 1 : 15 mA Max.
lDriving capacity : 15 TTL's gate
lFrequency Response: 500 KHZ
ØProgrammable Event counter
lFrequency Response : DC to 2 MHZ
lCounter ranger : From 1 to 65536
lTrigger edge : Rising edge or falling edge
ØProgrammable Timer Pacer
lClock frequency : 32.768 KHZ or 2 MHZ
lFrequency divider : Programmable
lCounter : 32-bit ( two 16-bit counters cascaded together)
ØSource of Interrupt
lEvent counter count up
lTimer time out
lInput from ports
1.2 Applications
ØDigital Input
lContact closure monitoring
lSwitch status monitoring
lBCD interface receiver
lDigital signal interface
ØDigital Output
lIndustrial ON / OFF control
lDigital signal interface
lBCD interface driver

Introduction
•
3
1.3 Software Supporting
1.3.1 Programming Library
For the customers who are writing their own programs, we provide
MS-DOS Borland C/C++ programming library which is included in the
ADLINK all-in-one CD.
ACLS-DLL1 is the Development Kit for NuDAQ ISA-Bus Cards with
digital I/O, Windows 3.1/95/98/NT. ACLS-DLL1 can be used for many
programming environments, such as VC++, VB, Delphi.
The ACLS-DLL1 included in the ADLINK CD is 2-hour demo version,
you can install it without series code and use it for 2 hours. Please
contact with your dealer to purchase the formal version.
1.3.2 ACLS-LVIEW: LabView Driver
The ACLS-LVIEW includes the PET-48DIO’s, which is used to
interface with NI’s LabView software package. The ACLS-LVIEW
supports Windows-95/98/NT.

4
•
Installation
2
Installation
This chapter describes how to install the PET-48DIO in your PC
system.
2.1 What You Have
In addition to this User's Manual, the package includes the following
items:
ØPET-48DIO 48-bit DIO Event, and Timer Board
ØADLINK CD
If any of these items is missing or damaged, contact the dealer from
whom you purchased the product. Save the shipping materials and
carton in case you want to ship or store the product in the future.
2.2 Unpacking
Your PET-48DIO card contains sensitive electronic components that
can be easily damaged by static electricity.
The card should be done 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.
Inspect the card module carton for obvious damage. Shipping and
handling may cause damage to your module. Make sure there are no
shipping and handling damages on the module before processing.
After opening the card module carton, extract the system module and
place it only on a grounded anti-static surface component side up.
Table des matières
Autres manuels NuDAQ Matériel informatique
Manuels Matériel informatique populaires d'autres marques

EMC2
EMC2 VNX Series Manuel du propriétaire

Panasonic
Panasonic DV0PM20105 Manuel utilisateur

Mitsubishi Electric
Mitsubishi Electric Q81BD-J61BT11 Manuel utilisateur

Gigabyte
Gigabyte B660M DS3H AX DDR4 Manuel utilisateur

Raidon
Raidon iT2300 Manuel utilisateur

National Instruments
National Instruments PXI-8186 Manuel utilisateur














