CyberResearch PCIDIO 24H Manual de usuario

USER’S MANUAL
VER. 2.5 • OCT 2000
&
No part of this manual may be reproduced without permission.
CyberResearch®, Inc.
www.cyberresearch.com
25 Business Park Dr., Branford, CT 06405 USA
203-483-8815 (9am to 5pm EST) FAX: 203-483-9024
Digital I/O
PCIDIO 24H
High-Density, PCI-Bus, Parallel Digital Board with
24 Channels, 24mA/Channel Sink
PCIDIO 48H
High-Density, PCI-Bus, Parallel Digital Board with
48 Channels, 24mA/Channel Sink
PCIDIO 96H
High-Density, PCI-Bus, Parallel Digital Board with
96 Channels, 24mA/Channel Sink
®


©
Copyright 2003
All Rights Reserved.
October 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 CyberResearch, Inc.
In no event will CyberResearch, Inc. be liable for direct, indirect, special,
incidental, or consequential damages arising out of the use of 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
CyberResearch, Inc.
TRADEMARKS
“CyberResearch,” “PCIDIO 24H,” “PCIDIO 48H,” and “PCIDIO 96H” are trademarks
of CyberResearch, Inc. Other product names mentioned herein are used for
identification purposes only and may be trademarks and/or registered trademarks
of their respective companies.
• NOTICE •
CyberResearch, Inc. does not authorize any CyberResearch product for use in life
support systems, medical equipment, and/or medical devices without the written
approval of the President of CyberResearch, Inc. Life support devices and
systems are devices or systems which are intended for surgical implantation into
the body, or to support or sustain life and whose failure to perform can be
reasonably expected to result in injury. Other medical equipment includes devices
used for monitoring, data acquisition, modification, or notification purposes in
relation to life support, life sustaining, or vital statistic recording. CyberResearch
products are not designed with the components required, are not subject to
the testing required, and are not submitted to the certification required to ensure
a level of reliability appropriate for the treatment and diagnosis of humans.


Table of Contents•i
Table of Contents
Chapter 1 Introduction.............................................................. 1
1.1 Features.........................................................................................................2
1.1.1 Digital I/O Ports.....................................................................................2
1.1.2 Timer/Counter and Interrupt System..............................................2
1.1.3 Miscellaneous ......................................................................................2
1.2 Applications...................................................................................................2
1.3 Specifications...............................................................................................3
1.4 Software Support.........................................................................................4
1.4.1 Programming Library.........................................................................4
1.4.2 PCI LVIEW: LabVIEW
®Driver..........................................................5
1.4.3 PCI VEE: HP-VEE Driver..................................................................5
1.4.4 PCI DAQB: ActiveX Controls...........................................................5
1.4.5 DASYLabTM PRO.................................................................................5
1.4.6 PCI DDE: DDE Server and InTouchTM...........................................5
Chapter 2 Installation................................................................ 7
2.1 What You Have..............................................................................................7
2.2 Unpacking......................................................................................................8
2.3 PCB Layout....................................................................................................9
2.3.1 PCIDIO 48H/24H PCB Layout..........................................................9
2.3.2 PCIDIO 96H PCB Layout................................................................10
2.4 Hardware Installation................................................................................11
2.5 Device Installation for Windows Systems...........................................12
2.6 Connector Pin Assignment......................................................................13
2.6.1 Pin Assignment of PCIDIO 24H/48H/96H.....................................13
2.7 Jumpers Description................................................................................17
2.7.1 Power on Status of Ports.................................................................17
2.7.2 12V Power Supply Configuration..................................................18
2.8 Termination Boards Connection............................................................18

ii •Table of Contents
Chapter 3 Registers Format................................................... 20
3.1 PCI PnP Registers......................................................................................20
3.2 I/O Address Map.........................................................................................21
Chapter 4 Operation Theorem............................................... 22
4.1 Digital I/O Ports...........................................................................................22
4.1.1 Introduction.........................................................................................22
4.1.2 8255 Mode 0........................................................................................22
4.1.3 Special Function of the DIO Signals..............................................22
4.1.4 Digital I/O Port Programming..........................................................23
4.1.5 Control Word.......................................................................................23
4.1.6 Power on Configuration...................................................................24
4.1.7 Note for Output Data.........................................................................24
4.2 Timer/Counter Operation.........................................................................25
4.2.1 Introduction.........................................................................................25
4.2.2 General Purpose Timer/Counter....................................................25
4.2.2 Cascaded 32 Bits Timer...................................................................26
4.2.3 Event Counter and Edge Control...................................................26
4.3 Interrupt Multiplexing................................................................................26
4.3.1 Architecture........................................................................................26
4.3.2 IRQ Level Setting...............................................................................27
4.3.3 Note for Dual Interrupts...................................................................27
4.3.4 Interrupt Source Control..................................................................28
4.4 12V and 5V Power Supply........................................................................29
Chapter 5 C/C++ Libraries...................................................... 30
5.1 Libraries Installation................................................................................30
5.2 Programming Guide ..................................................................................31
5.2.1 Naming Convention...........................................................................31
5.2.2 Data Types..........................................................................................31
5.3 _DIO48H/96H_Initial.................................................................................32
5.4 Digital Input..................................................................................................33
5.5 Digital Output...............................................................................................35
5.6 Configuration Port......................................................................................36
5.7 Configuration Channel..............................................................................37
5.8 Set Interrupt Control..................................................................................39
5.9 Timer Start...................................................................................................40
5.10 Timer Read..............................................................................................41
5.11 Timer Stop...............................................................................................42
5.12 Cascaded Timer.....................................................................................43

Table of Contents•iii
5.13 Get IRQ Status.........................................................................................44
5.14 Clear IRQ..................................................................................................45
5.15 Software Reset.......................................................................................45
5.16 Interrupt Start under Windows...........................................................46
5.17 Interrupt Stop under Windows...........................................................47
Product Service ...................................................................... 48
Warranty ................................................................................. 49

How to Use This Guide
This manual is designed to help you use the 24H/48H/96H series products. It
describes how to modify and control various functions on the cards to meet
your requirements. It is divided into five chapters:
lChapter 1, Introduction, gives an overview of the product features.
applications, and specifications.
lChapter 2, Installation, describes how to install the 24H/48H/96H series
products. The layout of are shown, the jumper settings, the connectors
specifications, and the notes for installation are described.
lChapter 3, Registers Format, describes the low-level register structure
and format of the PCIDIO 24H/48H/96H.
lChapter 4, Operation Theorem,describes more details about the
versatile functions, including DIO, timer / counter, and interrupt systems.
lChapter 5, C/C++ 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 PCIDIO 24H/48H/96H series products are general purpose digital I/O cards.
This series includes three cards:
lPCIDIO 24H: 24-CH DIO card
lPCIDIO 48H: 48-CH DIO card
lPCIDIO 96H: 96-CH DIO card
The 48H series products are multi-function digital I/O boards used for
industrial PC with a PCI bus. The cards are plug-and-play,therefore it is
not necessary to set any jumpersfor configuration of I/O address or interrupt
PCIDIO 48H and PCIDIO 96H are 48-channel and 96-channel DIO cards
respectively. PCIDIO 24H is a reduced version of PCIDIO 48H, all the functions
are exactly the same as PCIDIO 48H except there are 24 channels only.
The PCIDIO 48H emulates two industry standard 8255 Programmable
Peripheral Interface (PPI) chips operated under mode zero configuration.
The PCIDIO 96H emulates four PPI chips. These two cards are compatible
not only on hardware connectors but also on software programming.
Every PPI connector offers has 3 ports: PA, PB, and PC. The PC can also be
subdivided into 2 nibble-wide ( 4-bit) ports -PC Upper and PC Low. Each
connector is corresponding to one PPI chip with 24 DIO points.
resources.

2•Introduction
PCIDIO 24H/48H/96Hare equipped with 1,2, and 4 50-pin male ribbon
connectors respectively.
1.1 Features
The 24H/48H/96H series products provide the following advanced features:
1.1.1 Digital I/O Ports
l24/48/96 TTL/DTL compatible digital I/O lines
lEmulates industry standard mode 0 of 8255 PPI
lBuffered circuits for higher driving
lDirect interface with OPTO-22 compatible I/O module
lOutput status read-back
1.1.2 Timer/Counter and Interrupt System
lA 32 bits timer to generate watchdog timer interrupt
lA 16 bits event counter to generate event interrupt
lProgrammable interrupt source
lDual interrupt system
1.1.3 Miscellaneous
lProvide 12V and 5V power supply on OPTO-22 connectors
lOn board resettable fuses to protect power supply for external devices
1.2 Applications
lProgrammable mixed digital input & output
lIndustrial monitoring and control
lDigital I/O control
lContact closure, switch/keyboard monitoring
lConnects with OPTO-22 compatible modules
lUseful with A/D and D/A to implement a data acquisition & control
system
Este manual sirve para los siguientes modelos
2
Tabla de contenidos
Otros manuales de Hardware de computadora de CyberResearch
Manuales populares de Hardware de computadora de otras marcas

EMC2
EMC2 VNX Series Manual del propietario

Panasonic
Panasonic DV0PM20105 Manual de usuario

Mitsubishi Electric
Mitsubishi Electric Q81BD-J61BT11 Manual de usuario

Gigabyte
Gigabyte B660M DS3H AX DDR4 Manual de usuario

Raidon
Raidon iT2300 Manual de usuario

National Instruments
National Instruments PXI-8186 Manual de usuario















