National Instruments PC-DIO-96 Manual de usuario

Busca en linea o descarga Manual de usuario para No National Instruments PC-DIO-96. National Instruments PC-DIO-96 User's Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 105
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
© Copyright 1990, 1995 National Instruments Corporation.
All Rights Reserved.
PC-DIO-96
User Manual
Digital I/O Board for the IBM PC/XT/AT
September 1995 Edition
Part Number 320289B-01
Vista de pagina 0
1 2 3 4 5 6 ... 104 105

Indice de contenidos

Pagina 1 - PC-DIO-96

© Copyright 1990, 1995 National Instruments Corporation.All Rights Reserved.PC-DIO-96User ManualDigital I/O Board for the IBM PC/XT/ATSeptember 1995 E

Pagina 2

Contents© National Instruments Corporation vii PC-DIO-96 User ManualFiguresFigure 1-1. The Relationship between the Programming Environment, NI-DAQ, a

Pagina 3 - Trademarks

AMD 8253 Data Sheet Appendix CPC-DIO-96 User Manual C- 14 © National Instruments Corporation

Pagina 4

© National Instruments CorporationD- 1 PC-DIO-96 User ManualAppendix DCustomer Communication___________________________________________________ For yo

Pagina 5

Technical Support Form___________________________________________________ Photocopy this form and update it each time you make changes to your softwar

Pagina 6

PC-DIO-96 Hardware and SoftwareConfiguration Form___________________________________________________ Record the settings and revisions of your hardwar

Pagina 7

Documentation Comment Form___________________________________________________ National Instruments encourages you to comment on the documentation supp

Pagina 8

© National Instruments CorporationGlossary-1 PC-DIO-96 User ManualGlossary___________________________________________________ Prefix Meaning Valuen- n

Pagina 9

© National Instruments Corporationix PC-DIO-96 User ManualAbout This Manual

Pagina 10 - Contents

PrefacePC-DIO-96 User Manual x © National Instruments Corporation• The Glossary contains an alphabetical list and description of terms used in this ma

Pagina 11 - About This Manual

Preface© National Instruments Corporation xi PC-DIO-96 User ManualNational Instruments DocumentationThe PC-DIO-96 User Manual is one piece of the docu

Pagina 12

© National Instruments Corporation1-1 PC-DIO-24 User ManualChapter 1Introduction

Pagina 13 - Related Documentation

Introduction Chapter 1PC-DIO-24 User Manual 1-2 © National Instruments CorporationWhat You Need to Get StartedTo set up and use your PC-DIO-96, you wi

Pagina 14 - Introduction

Chapter 1 Introduction© National Instruments Corporation 1-3 PC-DIO-24 User ManualNI-DAQ Driver SoftwareThe NI-DAQ driver software is included at no c

Pagina 15 - Software Programming Choices

Introduction Chapter 1PC-DIO-24 User Manual 1-4 © National Instruments CorporationRegister-Level ProgrammingThe final option for programming any Natio

Pagina 16 - NI-DAQ Driver Software

Chapter 1 Introduction© National Instruments Corporation 1-5 PC-DIO-24 User ManualThe CB-100 is useful for initial prototyping of an application or in

Pagina 17 - Optional Equipment

© National Instruments Corporation2-1 PC-DIO-96 User ManualChapter 2Configuration and Installation

Pagina 18 - Unpacking

National Instruments Corporate Headquarters6504 Bridge Point ParkwayAustin, TX 78730-5039(512) 794-0100Technical support fax: (800) 328-2203(512) 794-

Pagina 19 - Chapter 2

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-2 © National Instruments CorporationW1U26 Figure 2-1. PC-DIO-96 Parts Locator Diag

Pagina 20 - Base I/O Address Settings

Chapter 2 Configuration and Installation© National Instruments Corporation 2-3 PC-DIO-96 User Manualonboard registers. On the U26 DIP switches, press

Pagina 21

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-4 © National Instruments CorporationTable 2-2. Switch Settings with Corresponding Bas

Pagina 22

Chapter 2 Configuration and Installation© National Instruments Corporation 2-5 PC-DIO-96 User ManualInterrupt Level SelectionThere is one set of jumpe

Pagina 23 - Installation

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-6 © National Instruments Corporation4. Insert the PC-DIO-96 in an unused 8-bit, 16-bit

Pagina 24 - Signal Connections

Chapter 2 Configuration and Installation© National Instruments Corporation 2-7 PC-DIO-96 User ManualI/O Connector Pin DescriptionFigure 2-4 shows the

Pagina 25 - I/O Connector Pin Description

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-8 © National Instruments CorporationI/O Connector Signal Connection DescriptionsPin Si

Pagina 26

Chapter 2 Configuration and Installation© National Instruments Corporation 2-9 PC-DIO-96 User ManualWarning: During programming, note that each time a

Pagina 27 - Cable Assembly Connectors

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-10 © National Instruments Corporation+5 VAPA0APA1APA2APA3APA4APA5APA6APA7APB0APB1APB2A

Pagina 28

Chapter 2 Configuration and Installation© National Instruments Corporation 2-11 PC-DIO-96 User Manual+5 VCPA0CPA1CPA2CPA3CPA4CPA5CPA6CPA7CPB0CPB1CPB2C

Pagina 29

Limited WarrantyThe PC-DIO-96 is warranted against defects in materials and workmanship for a period of one year from the date ofshipment, as evidence

Pagina 30

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-12 © National Instruments CorporationDigital I/O Signal ConnectionsPins 1 through 48 a

Pagina 31 - Power Connections

Chapter 2 Configuration and Installation© National Instruments Corporation 2-13 PC-DIO-96 User ManualGNDPC-DIO-96 BoardSwitchI/O Connector+5 V+5 VLEDT

Pagina 32 - Timing Specifications

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-14 © National Instruments CorporationTiming SpecificationsThis section lists the timin

Pagina 33

Chapter 2 Configuration and Installation© National Instruments Corporation 2-15 PC-DIO-96 User ManualMode 1 Input TimingThe following figure illustrat

Pagina 34

Configuration and Installation Chapter 2PC-DIO-96 User Manual 2-16 © National Instruments CorporationMode 1 Output TimingThe following figure illustra

Pagina 35

Chapter 2 Configuration and Installation© National Instruments Corporation 2-17 PC-DIO-96 User ManualMode 2 Bidirectional TimingThe following figure i

Pagina 36 - Theory of Operation

© National Instruments Corporation3-1 PC-DIO-96 User ManualChapter 3Theory of Operation

Pagina 37 - Interrupt Control Circuitry

Theory of Operation Chapter 3PC-DIO-96 User Manual 3-2 © National Instruments CorporationData TransceiversThe data transceivers control the sending an

Pagina 38 - Digital I/O Connector

Chapter 3 Theory of Operation© National Instruments Corporation 3-3 PC-DIO-96 User Manualhandshaking circuitry; however, either of these two lines can

Pagina 39 - Register-Level Programming

© National Instruments Corporation4-1 PC-DIO-96 User ManualChapter 4Register-Level Programming

Pagina 40 - Register Map

WARNING REGARDING MEDICAL AND CLINICAL USEOF NATIONAL INSTRUMENTS PRODUCTSNational Instruments products are not designed with components and testing i

Pagina 41 - Register Descriptions

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-2 © National Instruments CorporationRegister MapThe following table lists the address map

Pagina 42

Chapter 4 Register-Level Programming© National Instruments Corporation 4-3 PC-DIO-96 User ManualRegister DescriptionsThe register descriptions for the

Pagina 43

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-4 © National Instruments CorporationWarning: During programming, note that each time a po

Pagina 44

Chapter 4 Register-Level Programming© National Instruments Corporation 4-5 PC-DIO-96 User ManualRegister Description for the Interrupt Control Registe

Pagina 45

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-6 © National Instruments CorporationInterrupt Control Register 1D7 D6 D5 D4 D3 D2 D1 D0DI

Pagina 46 - X X X X X INTEN CTRIRQ CTR1

Chapter 4 Register-Level Programming© National Instruments Corporation 4-7 PC-DIO-96 User ManualBit Name Description (continued)1 AIRQ1 PPI A Interrup

Pagina 47

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-8 © National Instruments CorporationInterrupt Control Register 2D7 D6 D5 D4 D3 D2 D1 D0X

Pagina 48 - Mode 0—Basic I/O

Chapter 4 Register-Level Programming© National Instruments Corporation 4-9 PC-DIO-96 User ManualProgramming Considerations for the 82C55AModes of Oper

Pagina 49

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-10 © National Instruments CorporationMode 2This mode can be used for communication over a

Pagina 50 - Mode 1—Strobed Input

Chapter 4 Register-Level Programming© National Instruments Corporation 4-11 PC-DIO-96 User ManualTable 4-3. Mode 0 I/O ConfigurationsControl Word Gro

Pagina 51

© National Instruments Corporationv PC-DIO-96 User ManualContents

Pagina 52

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-12 © National Instruments Corporationporta = BASE_ADDRESS + APORTAoffset;portb = BASE_ADD

Pagina 53 - Mode 1—Strobed Output

Chapter 4 Register-Level Programming© National Instruments Corporation 4-13 PC-DIO-96 User ManualThe control word written to the CNFG Register to conf

Pagina 54

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-14 © National Instruments CorporationAt the digital I/O connector, port C has the followi

Pagina 55 - Mode 2—Bidirectional Bus

Chapter 4 Register-Level Programming© National Instruments Corporation 4-15 PC-DIO-96 User ManualMode 1—Strobed OutputThe control word written to the

Pagina 56

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-16 © National Instruments CorporationBit Name Description (continued)2 INTEB Interrupt E

Pagina 57

Chapter 4 Register-Level Programming© National Instruments Corporation 4-17 PC-DIO-96 User Manualoutp(cnfg,0xA0); /* Port A is an output in mode 1.*/w

Pagina 58

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-18 © National Instruments CorporationPort C status-word bit definitions for bidirectional

Pagina 59 - General Information

Chapter 4 Register-Level Programming© National Instruments Corporation 4-19 PC-DIO-96 User ManualMode 2 Programming ExampleThe following example shows

Pagina 60

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-20 © National Instruments CorporationMain() {#define BASE_ADDRESS 0x180 /* Board located

Pagina 61

Chapter 4 Register-Level Programming© National Instruments Corporation 4-21 PC-DIO-96 User Manualoutp(cnfg,0x84); /* Port B is an output in mode 1. */

Pagina 62

ContentsPC-DIO-96 User Manual vi © National Instruments CorporationChapter 4Register-Level Programming...

Pagina 63

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-22 © National Instruments CorporationInterrupt Programming Example for the 8253An in-dept

Pagina 64

Chapter 4 Register-Level Programming© National Instruments Corporation 4-23 PC-DIO-96 User Manualif (use_ctr1) { outp(ctr1, ((unsigned char) (ctr1_da

Pagina 65

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-24 © National Instruments Corporation; on input, isr_block points to the data struc

Pagina 66 - Interrupt Handling

Chapter 4 Register-Level Programming© National Instruments Corporation 4-25 PC-DIO-96 User Manual mov ax,[bp+8] ; Get o

Pagina 67 - Specifications

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-26 © National Instruments Corporation; restore saved registersii_exit: pop

Pagina 68 - Transfer Rates

Chapter 4 Register-Level Programming© National Instruments Corporation 4-27 PC-DIO-96 User Manual mov cx,int_mask ; Get the old

Pagina 69

Register-Level Programming Chapter 4PC-DIO-96 User Manual 4-28 © National Instruments Corporation; acknowledge the interruptih_0: mov

Pagina 70 - OKI 82C55A Data Sheet*

© National Instruments CorporationA-1 PC-DIO-96 User ManualAppendix ASpecifications

Pagina 71

Specifications Appendix APC-DIO-96 User Manual A-2 © National Instruments CorporationPins 1–48, 51–98...

Pagina 72

Appendix A Specifications© National Instruments Corporation A-3 PC-DIO-96 User ManualTable A-1. Maximum Average Transfer Rates for the PC-DIO-96Bus C

Pagina 73

Contents© National Instruments Corporation vii PC-DIO-96 User ManualFiguresFigure 1-1. The Relationship between the Programming Environment, NI-DAQ, a

Pagina 74

© National Instruments CorporationB-1 PC-DIO-96 User ManualAppendix BOKI 82C55A Data Sheet*

Pagina 75

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-2 © National Instruments Corporation

Pagina 76

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-3 PC-DIO-96 User Manual

Pagina 77

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-4 © National Instruments Corporation

Pagina 78

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-5 PC-DIO-96 User Manual

Pagina 79

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-6 © National Instruments Corporation

Pagina 80

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-7 PC-DIO-96 User Manual

Pagina 81

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-8 © National Instruments Corporation

Pagina 82

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-9 PC-DIO-96 User Manual

Pagina 83

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-10 © National Instruments Corporation

Pagina 84

© National Instruments Corporationv PC-DIO-96 User ManualContents

Pagina 85

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-11 PC-DIO-96 User Manual

Pagina 86

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-12 © National Instruments Corporation

Pagina 87 - .c1.AMD 8253 Data Sheet*

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-13 PC-DIO-96 User Manual

Pagina 88

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-14 © National Instruments Corporation

Pagina 89

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-15 PC-DIO-96 User Manual

Pagina 90

OKI 82C55A Data Sheet Appendix BPC-DIO-96 User Manual B-16 © National Instruments Corporation

Pagina 91

Appendix B OKI 82C55A Data Sheet© National Instruments Corporation B-17 PC-DIO-96 User Manual

Pagina 92

© National Instruments CorporationC- 1 PC-DIO-96 User Manual.c1.Appendix C.c1.AMD 8253 Data Sheet*

Pagina 93

AMD 8253 Data Sheet Appendix CPC-DIO-96 User Manual C- 2 © National Instruments Corporation

Pagina 94

Appendix C AMD 8253 Data Sheet© National Instruments Corporation C- 3 PC-DIO-96 User Manual

Pagina 95

ContentsPC-DIO-96 User Manual vi © National Instruments CorporationChapter 4Register-Level Programming...

Pagina 96

AMD 8253 Data Sheet Appendix CPC-DIO-96 User Manual C- 4 © National Instruments Corporation

Pagina 97

Appendix C AMD 8253 Data Sheet© National Instruments Corporation C- 5 PC-DIO-96 User Manual

Pagina 98

AMD 8253 Data Sheet Appendix CPC-DIO-96 User Manual C- 6 © National Instruments Corporation

Pagina 99

Appendix C AMD 8253 Data Sheet© National Instruments Corporation C- 7 PC-DIO-96 User Manual

Pagina 100

AMD 8253 Data Sheet Appendix CPC-DIO-96 User Manual C- 8 © National Instruments Corporation

Pagina 101 - Customer Communication

Appendix C AMD 8253 Data Sheet© National Instruments Corporation C- 9 PC-DIO-96 User Manual

Pagina 102 - Technical Support Form

AMD 8253 Data Sheet Appendix CPC-DIO-96 User Manual C- 10 © National Instruments Corporation

Pagina 103 - Configuration Form

Appendix C AMD 8253 Data Sheet© National Instruments Corporation C- 11 PC-DIO-96 User Manual

Pagina 104 - Documentation Comment Form

AMD 8253 Data Sheet Appendix CPC-DIO-96 User Manual C- 12 © National Instruments Corporation

Pagina 105 - Glossary

Appendix C AMD 8253 Data Sheet© National Instruments Corporation C- 13 PC-DIO-96 User Manual

Comentarios a estos manuales

Sin comentarios